Question

ubuntu 16.04, vncserver results in grey screen

I did the Digital Ocean tutorial ‘How to Install and Configure VNC on Ubuntu 16.04’. On my Windows box I ran Putty and Tightvnc Viewer. The viewer shows only a grey screen with an ‘X’ that is synced to the mouse pointer.


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello there,

Can you share the content of your ~/.vnc/xstartup file? What you can do is to try using the following code snippet and give it another try:

  1. #!/bin/sh
  2. unset SESSION_MANAGER
  3. unset DBUS_SESSION_BUS_ADDRESS
  4. dbus-launch xfce4-session

Hope that this helps! Regards, Alex