User:Cpugenesis/Setup/Kodibuntu-VNC

From Official Kodi Wiki
Jump to navigation Jump to search

KodiBuntu VNC Server

https://help.ubuntu.com/community/VNC/Servers

  • Install x11vnc
  • Set password
    • x11vnc -storepasswd
  • Test connection by running manual start command.
x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared


Have x11vnc start automatically via upstart in any environment (<=Utopic)

sudo nano /etc/init/x11vnc.conf
# description "Start x11vnc at boot"
description "x11vnc"
start on runlevel [2345]
stop on runlevel [^2345]
console log
respawn
respawn limit 20 5
exec /usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared