# Enable xclock / RDP on google cloud virtual machin

**URL:** <https://forums.suse.com/t/enable-xclock-rdp-on-google-cloud-virtual-machin/34268>\
**Category:** SLES SAP Applications\
**Created:** [August 7, 2019, 10:32am UTC](https://forums.suse.com/t/enable-xclock-rdp-on-google-cloud-virtual-machin/34268 "2019-08-07T10:32:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![raj4721](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@raj4721](https://forums.suse.com/u/raj4721)\
**Post date:** [August 7, 2019, 10:32am UTC](https://forums.suse.com/t/enable-xclock-rdp-on-google-cloud-virtual-machin/34268/1 "2019-08-07T10:32:36Z")

</div>

Hi Team,

I installed SLES 12 SP4 for SAP Application on Google cloud. It doesn’t have xclock and not able to take RDP session of it.  
For installation of Oracle, we need to set DISPLAY variable and need to run “RUNINSTALLER” its failing because of DISPLAY variable.

Let me know which packages needs to be installed to run GUI application on SLES 12

Thanks  
Raj

---

<div class="post-metadata">

**Author:** ![raj4721](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@raj4721](https://forums.suse.com/u/raj4721)\
**Post date:** [August 7, 2019, 11:48am UTC](https://forums.suse.com/t/enable-xclock-rdp-on-google-cloud-virtual-machin/34268/2 "2019-08-07T11:48:11Z")

</div>

[QUOTE=raj4721;58284]Hi Team,

I installed SLES 12 SP4 for SAP Application on Google cloud. It doesn’t have xclock and not able to take RDP session of it.  
For installation of Oracle, we need to set DISPLAY variable and need to run “RUNINSTALLER” its failing because of DISPLAY variable.

Let me know which packages needs to be installed to run GUI application on SLES 12

Thanks  
Raj[/QUOTE]

Getting below error while running commands,

zypper install xrdp  
No reporsitories defined. Operating only with installed resolvables. Nothing can be installed.

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [August 8, 2019, 1:07am UTC](https://forums.suse.com/t/enable-xclock-rdp-on-google-cloud-virtual-machin/34268/3 "2019-08-08T01:07:16Z")

</div>

[QUOTE=raj4721;58284]I installed SLES 12 SP4 for SAP Application on Google cloud. It doesn’t have xclock and not able to take RDP session of it.  
For installation of Oracle, we need to set DISPLAY variable and need to run “RUNINSTALLER” its failing because of DISPLAY variable.

Let me know which packages needs to be installed to run GUI application on SLES 12[/QUOTE]

Are you using SAP applications? Since you’ve referenced SLES for SAP Applications and posted in this forum I’m guessing you might be (planning to). Are you also then hoping to install Oracle applications on the same server?

HTH.

---

<div class="post-metadata">

**Author:** ![raj4721](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@raj4721](https://forums.suse.com/u/raj4721)\
**Post date:** [August 8, 2019, 2:27pm UTC](https://forums.suse.com/t/enable-xclock-rdp-on-google-cloud-virtual-machin/34268/4 "2019-08-08T14:27:17Z")

</div>

issue fixed by assigning static public (external) ip to GCP VM. Once VM established connection to internet it was able to download required packages.

Steps to follow to enable xclock on Google cloud platform - Compute Engine

1. Assign public ip
2. Login using root (sudo su â root)
3. Run below commands,  
a. zypper install -t pattern gnome-basic  
b. zypper install xrdp  
c. [https://answers.sap.com/questions/12677458/vnc-connecting-issue-in-suse-linux-enterprise-serv.html](https://answers.sap.com/questions/12677458/vnc-connecting-issue-in-suse-linux-enterprise-serv.html)
4. Install putty - [https://www.putty.org/](https://www.putty.org/)
5. Enable X11 in putty. (Putty main login page, before login to system)
6. Install Xming - [https://sourceforge.net/projects/xming/](https://sourceforge.net/projects/xming/)
7. Double click âXmingâ, thatâs it
8. Open putty,  
a. login with root  
b. export DISPLAY=10.142.0.2:0  
c. xclock
9. if any issues with host/protocol  
a. run command xhost + (This gives access to all hosts)  
b. export DISPLAY=:0  
c. Manually add entry to âC:\Program Files (x86)\Xming\X0.hostsâ  
d. Restart Xming and putty

Hope this help someone looking for an similar issue.

Cheers,  
Raj
