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

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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.
Have a look at this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04 Otherwise this thread might help you: https://www.digitalocean.com/community/questions/how-to-install-ubuntu-with-gui You might want to reset you droplet, so the changes you’ve tried doesn’t conflict with anything else.
Hello, @codepoetry123
Have you tried using another client different from tightvnc? You can use RealVNC, VNC Viewer or Remmina as well.
If you’re still getting a blank/gray screen you can do this. Add the following snippet to the xstartup which is mentioned in step 1 - /home/sammy/.vnc/xstartup and try again.
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
dbus-launch xfce4-session
Hope that this helps! Regards, Alex
You need to configure TightVNC to use the desktop environment you installed (XFCE). Here’s a step-by-step guide to achieve this:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install ubuntu-desktop -y
sudo apt-get install xfce4 xfce4-goodies -y
sudo apt-get install tightvncserver -y
vncserver
vncserver -kill :1
xstartup file to start XFCE:nano ~/.vnc/xstartup
Modify the file to include the following content:
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
Make the xstartup file executable:
chmod +x ~/.vnc/xstartup
vncserver :1
Connect to the VNC Server: Use your VNC client to connect to your server’s IP address and port 5901 (which is :1 in VNC terminology).