(1)安裝新的桌面xubuntu-desktop: 由於ubuntu系統自帶的unity桌面不支持遠程桌面連接了,所以第壹步需要先安裝壹個其他的桌面環境如xubuntu-desktop,在ssh的終端命令窗口輸入:sudo apt-get install xubuntu-desktop
(2)安裝xrdp: sudo apt-get install xrdp
(3)安裝vnc4server tightvncserver:sudo apt-get install vnc4server tightvncserver
(4)移除unity桌面:sudo apt-get remove unity
(5)重啟系統,vino-preferences設置桌面***享,然後寫入.xsession文件,最後重啟xrdp服務:
sudo reboot
vino-preferences
echo xfce4-session >~/.xsession
sudo service xrdp restart