(1)安装x11vnc
sudo apt-get install x11vnc
(2)将x11vnc加入xinetd
sudo gedit /etc/xinetd.d/x11vnc
加入下面这段
service x11vnc{ port = 5900 type = UNLISTED socket_type = stream protocol = tcp wait = no user = root server = /usr/bin/x11vnc server_args = -inetd -o /var/log/x11vnc.log -display :0 -auth /var/lib/gdm/:0.Xauth -many -bg disable = no}
(3)restart xinetd
sudo /etc/init.d/xinetd stopsudo killall Xvncsudo killall x11vncsudo /etc/init.d/xinetd start
新闻热点
疑难解答