https://cn.download.nvidia.cn/XFree86/Linux-x86_64/440.64/NVIDIA-Linux-x86_64-440.64.run
service vncserver-x11-serviced start
https://blog.csdn.net/u012911347/article/details/81209222
Ubuntu18.04使用RealVNC进行远程桌面连接
vnclicensewiz
vnclicense -add WHJRK-UXY7V-Q34M9-CZU8L-8KGFA
https://www.realvnc.com/download/file/vnc.files/VNC-Server-6.7.1-Linux-x64.deb
apt-get install tightvncserver xrdp
apt-get install xubuntu-desktop
xfce4-session
1、远程桌面闪退,shell可以用的问题:
(1)需要在该用户目录创建一个.xsession:touch .xsession
(2)里面写“xfce4-session”一句话就行:echo xfce4-session >~/.xsession 。
(3)然后进入到用户目录下,sudo chown username:username .xsession
修改配置文件 /etc/X11/Xsession
在文件最上面添加 xfce4-session
netstat -tnl
/etc/init.d/xrdp restart