VNC to Mythbuntu Back End

September 24, 2013

I have a mythbuntu back end server running on my network, and it doesn't have a monitor or keyboard. I wanted to connect to it via vnc so I can retune the channels.

I did this using x11vnc.

I had to run the following command to run up the vnc server:

$ sudo x11vnc -safer -forever -auth /var/run/lightdm/root/:0 -display :0

In order to work out what to place after the -auth parameter, I ran the following command:

$ tjs@mythbackend:/etc/init.d$ ps wwwwaux | grep auth
root       909  0.0  0.3  16908  7132 tty7     Ss+  18:00   0:12 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten
 tcp vt7 -novtswitch -background none
tjs       2443  0.0  0.0   3740   768 pts/0    S+   21:24   0:00 grep --color=auto auth

Once this was running, I could then connect via KRDC from another machine on the network.