Report this

What is the reason for this report?

ubuntu 16.04, vncserver results in grey screen

Posted on November 25, 2017

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.



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!

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

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.