Here is the solution with xinetd originally blogged here;
Edit /etc/xinetd.d/x11vnc
Put:
service x11vnc
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/x11vnc
server_args = -inetd -o /var/log/x11vnc.log -display :0 -forever -bg -rfbauth /etc/vncpasswd -shared -enablehttpproxy -forever -nolookup -auth /var/run/lightdm/root/:0
port = 5900
flags = IPv6
}
Make it executable;
sudo chmod a+x /etc/xinetd.d/x11vnc
Assign password to be stored;
No comments:
Post a Comment