how to connect linux vm with gui

2,980 views
Skip to first unread message

Susanan

unread,
Oct 29, 2014, 5:53:51 PM10/29/14
to gce-dis...@googlegroups.com

Hello,

I would like to know whether there are any options enable me to use GUI to access a Google compute engine VM which is running a Linux operating system because my Java program requires users enter information from a GUI. Whether the windows operating system is the only option because I can use remote desktop connection to access a Google compute engine VM running windows operating system. Thanks


Alexandre Jacquet

unread,
Oct 29, 2014, 6:08:23 PM10/29/14
to Susanan, gce-dis...@googlegroups.com
Hey Susanan


I guess you could install a vnc server and open the doors in the network controls this should work.

Best regards

On Wed, Oct 29, 2014, 19:53 Susanan <syc...@gmail.com> wrote:

Hello,

I would like to know whether there are any options enable me to use GUI to access a Google compute engine VM which is running a Linux operating system because my Java program requires users enter information from a GUI. Whether the windows operating system is the only option because I can use remote desktop connection to access a Google compute engine VM running windows operating system. Thanks


--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/ed9a744b-9337-433b-973a-7f72df39ac3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brian Haney

unread,
Oct 30, 2014, 1:40:25 PM10/30/14
to gce-dis...@googlegroups.com

Chintan Shah

unread,
Nov 11, 2014, 12:13:25 AM11/11/14
to gce-dis...@googlegroups.com
I could get mine working following this post.


Do double check the log file making sure, the port # is opened. In my case it was 5901 & 5902. 


On Wednesday, October 29, 2014 2:53:51 PM UTC-7, Susanan wrote:

Doug Orr

unread,
Nov 11, 2014, 9:38:23 AM11/11/14
to Chintan Shah, gce-dis...@googlegroups.com
I can second the vote for Chrome Remote Desktop. I've used it extensively and have had a good experience.

--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.

Eric Leese

unread,
Jan 27, 2015, 1:48:05 AM1/27/15
to gce-dis...@googlegroups.com
Anyone care to share how they got Chrome Remote Desktop working on GCE? The setup instructions assume you already have GUI access; do you have to set up VNC first?

Hua Tang

unread,
Feb 5, 2018, 3:02:46 PM2/5/18
to gce-discussion
Here's how I achieved CRD on a new GCE VM instance:

sudo apt-get update
# gnome and many other DM require GPU to run smoothly. XFCE works pretty nicely for me.
sudo apt-get install xubuntu-desktop
# optional sudo apt-get install xfce4-goodies
# Install CRD
sudo dpkg --install chrome-remote-desktop_current_amd64.deb
sudo apt-get -f install
# goto http://remotedesktop.google.com/headless  to get a command like below to start CRD service from SSH:
# /opt/google/chrome-remote-desktop/start-host --code="xxxxxxxxxxxxxxxxxxxxxxxxxxxx" --redirect-url="https://remotedesktop.google.com/_/oauthredirect" --pin 123456 --name=my_gce_crd
# restart the desktop in the desired resolution
/opt/google/chrome-remote-desktop/chrome-remote-desktop -k
/opt/google/chrome-remote-desktop/chrome-remote-desktop --start -s 3840x2160
# GCE is primarily for pure compute. CRD is not a standard usage model yet. The desktop is not persistent when the instance is stopped.
# Every time the instance starts, SSH in to activate CRD access. At the same time, chrome-remote-desktop -k and --start to set the resolution again.

Have fun!

Ryan McHale

unread,
Mar 17, 2018, 6:23:47 PM3/17/18
to gce-discussion
What machine type did you use?  Did you have to open any ports?

Steven Scott

unread,
Mar 19, 2018, 9:25:19 AM3/19/18
to gce-discussion
I have the same question as Ryan.  

Following Hua Tang's instructions (thanks Hua!!), I can make the GCE VM show up in the list of "My Computers" under CRD, but it is grayed out.  I'm wondering if I need to monkey with the firewall or something (where I've got no idea what I'm doing).

Justin Reiners

unread,
Mar 19, 2018, 9:50:56 AM3/19/18
to Steven Scott, gce-discussion
Have you guys used x2go? if you install XFCE it makes a nice remote desktop environment easily.


--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-discussion@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.

---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to gce-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/29a46cbf-b89c-48fb-bdce-5e2087ad5456%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
.com

Justin Reiners / System Administrator

800.308.9712/ jus...@hotlinesinc.com

Hotlines Inc Office: 800.807.2867 / Fax: 712-388-0258 
427 E. Kanesville Blvd. Suite 403, Council Bluffs, IA 51503
http://www.partshotlines.com

Ryan McHale

unread,
Mar 22, 2018, 12:53:49 PM3/22/18
to gce-discussion
I had to open up two firewall ports: 443,5222

Ryan McHale

unread,
Mar 22, 2018, 12:55:28 PM3/22/18
to gce-discussion
I had initially tried to get this to work with gnome2 or gnome3 which I don't think is x2go compatible.  It probably works with xfce.

Justin Reiners

unread,
Mar 22, 2018, 1:03:48 PM3/22/18
to Ryan McHale, gce-discussion
X2go works with XFCE 100% and its in production now for us. FYI. Only ssh needs to be opened and key access works great.

Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-discussion@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.

---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to gce-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/c8d01c58-b460-497f-910f-10246715f168%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages