Question

Why unable to ssh to vnc xfce4 desktop on Ubuntu 16.04 server?

Followed tutorials on setting up Ubuntu 16.04 server and using vnc to open xfce4 desktop. Always end up with gray blank screen. Google seems to suggest that many people who encounter this problem are using Digital Ocean. Many people claim different solutions; none of which work for me. Using debian based OS on computer, tightvncserver, and vncviewer.

Thanks.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Would it be possible for you to use X2Go instead of VNC? It’s more stable for something like you’re trying and has SSH built in, which makes it more secure. http://wiki.x2go.org/doku.php/doc:installation:x2goserver

Thanks for the tip, hansen! X2Go Client works, for me vncviewer and Remmina do not.

Root sign in works perfectly using x2go client. For some reason, user sign in using the x2go client session opens the x2go window, but it shuts down immediately, with message “session terminated.”

Currently using password (ssh keys next step). User password accepted after entering “ssh user@ip_address” , so password is working.

Tried useradd <username> in server desktop; username is already in system. Reset password using passwd <username>.

Still can’t sign in as user. Tried logging out as root, but desktop shuts down immediately, so can’t log in as user. Google shows user log in should work x2go client. Anybody have any ideas?

Thanks.

If I ssh as root into server, I can sudo -l <user>. But, I have heard it is insecure to ssh as root, so I would rather start out as user.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.