Kodi Community Forum

Full Version: [HOWTO] Install VNC on your Ubuntu-based HTPC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is a simple way to be able to access your HTPC using your favorite VNC client. It does not depend on any desktop environment or display manager.

1. sudo apt-get install x11vnc

2. Put the following command in /etc/rc.local, right before the "exit 0" line. Replace the "xbmc" user if you have to.

Code:
su - xbmc -c "x11vnc -display WAIT:0 -forever -bg" > /dev/null 2>&1 &

3. Restart your computer or run the above command as root.