apt-get install xfce4
#installs some useful tools:
xfce4-goodies
#make it always start in GUI mode:
systemctl set-default graphical.target
#apt-get install tightvncserver
#touch ~/.Xresources
(not sure if this needs to be done).
nano /etc/systemd/system/tightvncserver.service
[Unit]
Description=TightVNC remote desktop server
After=sshd.service
[Service]
Type=dbus
ExecStart=/usr/bin/tightvncserver :1
User=mediaservices
Type=forking
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable tightvncserver.service
Start the TightVNC server using the account “mediaservices” to define a password:
su – mediaservice -c “/usr/bin/tightvncserver”
You may have to enabled a shell for the user mediaservice.