ubuntu18.04 + vnc4server + xfce4
sudo apt-get update
sudo apt-get install xfce4
sudo apt-get install vnc4server
vncserver
vim ~/.vnc/xstartup
修改配置文件
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
重启vncserver
vncserver -kill :1
vncserver
Windows10安装VNC Viewer
下载VNC Viewer
http://www.onlinedown.net/soft/3194.htm
https://blog.csdn.net/fxb163/article/details/84193098
https://cloud.tencent.com/developer/article/1350304