使用x11vnc就能让vnc支持 unity桌面个了。
基本步骤:
sudo apt-get install x11vnc
sudo x11vnc -storepasswd /etc/x11vnc.pass
Create the Startup Script
So far, we have just issued standard command related to the x11vnc package. We need to make the x11vnc service starting at boot time. To to this, we will create the following script (info found at http://seb.so/vnc-from-boot-without-logging-in-ubuntu-lubuntu-xubuntu-and-mint-lmde/)
/etc/init/x11vnc.conf
:
start on login-session-start
script
/usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o /var/log/x11vnc.log
end script
Once this is done, you can simply reboot your machine. You should be able to connect to your Ubuntu machine using vnc viewer client.
Note :
in the script, The line starting with /usr/bin/… should one line. For presentation reasons, the line has been break into multiple lines.
Ubuntn 14.04 http://c-nergy.be/blog/?p=5870
Ubuntu 15.04 http://c-nergy.be/blog/?p=8361