Install lubuntu
sudo apt install --no-install-recommends lubuntu-desktop
Install Tigervnc
sudo apt install tigervnc-standalone-server tigervnc-xorg-extension
vncpasswd to choose a password
sudo nano ~/.vnc/xstartup to start lxqt once vncserver is started
#!/bin/bash
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec startlxqt
sudo nano /lib/system/system/tigervncserver@.service and replace what’s in there with
[Unit]
Description=Start TightVNC server at startup
After=syslog.target network.target
[Service]
Type=forking
User=ubuntu
Group=ubuntu
WorkingDirectory=/home/ubuntu
PIDFile=/home/ubuntu/.vnc/%H:%i.pid
ExecStartPre=-/usr/bin/vncserver -kill :%i > /dev/null 2>&1
ExecStart=/usr/bin/vncserver -depth 16 -geometry 1680x1050 -localhost :%i
ExecStop=/usr/bin/vncserver -kill :%i
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable tigervncserver@1.service
On host machine, establish ssh tunnel to forward traffic to 5901
ssh -L 5901:127.0.0.1:5901 -N -f -l ubuntu <ipaddress>