Remote desktop Lubuntu 16.10 using VNC not working:


*This works also for Lubuntu 16.04.
*The original poster used this on a Google Compute Engine. But this works with an IBM Power 720 as well.

From my client machine:
ssh myusername@myserverIPaddress

On remote server:
sudo apt-get update
sudo apt-get install lubuntu-desktop
sudo apt-get install vnc4server
vncserver :0
vncserver -kill :0

Then I modified contents of "~/.vnc/xstartup" to:
#!/bin/sh
xrdb $HOME/.Xresources
/etc/X11/Xsession
autocutsel -fork
/usr/bin/lxsession -s Lubuntu -e LXDE &
Then I restarted the vncserver (changing the display to fit my screen | Optional):

vncserver -geometry 1600x900 -depth 24 :0

On the "Basic" tab I set: Protocol = VNC, Server = myserverIPaddress:5900, Username = myusername.

Ask Ubuntu original answer: answered Dec 11, 2016

*I also use KRDC, Leave video quality at medium (not high or it likely fail) and video resolution at default (do not set custom resolution).


Source | Date added here: April 14th 2025

Back