* You can create a startup script so that X11VNC is automatically loaded at startup (with password settings):
echo "/usr/bin/x11vnc -forever -rfbport 5900 -rfbauth ~/.vnc/x11vnc.pass -o ~/.vnc/x11vnc.log -loopbg -display :0" > ~/.kde/Autostart/x11vnc.sh
chmod +x ~/.kde/Autostart/x11vnc.sh
These instructions use the Autostart folder for KDE/Kubuntu (~/.kde/Autostart). In Gnome/Ubuntu use the Autostart folder ~/.config/autostart instead.
Here are the full instructions copied from Kubuntuguide.org at:
http://kubuntuguide.org/Maverick#X11VNC_Server
(or Ubuntuguide.org at:
http://ubuntuguide.org/wiki/Ubuntu:M...#X11VNC_Server )
* Install the X11VNC server to share your desktop with other computers:
sudo apt-get install x11vnc
* Run X11VNC without a password:
x11vnc -forever -rfbport 5900
Note: -rfbport 5900 specifies the port to listen on. The port number can be changed. This option is not required if the default port 5900 will be used. Don't forget to open/forward this port in your firewall/router. By default X11VNC server exits after the first client disconnects. To keep it running (and allow future connections), use the -forever option. See
http://www.karlrunge.com/x11vnc/x11vnc_opts.html
for more command line options.
* You can create a password:
mkdir ~/.vnc
x11vnc -storepasswd YOUR_PASSWORD ~/.vnc/x11vnc.pass
* Run X11VNC, requiring a password:
x11vnc -forever -rfbport 5900 -rfbauth ~/.vnc/x11vnc.pass -o ~/.vnc/x11vnc.log -loopbg -display :0
* You can create a startup script so that X11VNC is automatically loaded at startup (with password settings):
echo "/usr/bin/x11vnc -forever -rfbport 5900 -rfbauth ~/.vnc/x11vnc.pass -o ~/.vnc/x11vnc.log -loopbg -display :0" > ~/.kde/Autostart/x11vnc.sh
chmod +x ~/.kde/Autostart/x11vnc.sh
* You can test the startup script:
~/.kde/Autostart/x11vnc.sh
Bookmarks