Ubuntu unity 桌面正常工作在VNC上

    使用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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值