Wednesday, January 13, 2010

Accessing X11 through VNC

Tested in Ubuntu Karmic 9.10

Create following file /etc/xinet.d/x11vnc as following:

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 -passwd yourpassword -many -bg
disable = no
}


Make sure it has permission set to 600 for security sake. Restart the xinetd daemon and you are good to go.





0 comments: