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.

Subscribe
Share

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

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.

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