Hello,
I'm no expert but having spent some time trying various methods (without success), the following worked for me:
1. Install
NB I chose not to set a password
2. Auto-start
NB Previously configured auto-login & StartX by following:
http://elinux.org/RPi_Debian_Auto_Login
Create new / edit existing ~/.xsessionrc file:
Code: Select all
# Start X11VNC
x11vnc -bg -nevershared -forever -tightfilexfer -nopw -display :0
NB no need to make it executable.
Comments:
-bg : run in background after screen setup. Without it I get a blank / black screen on local (& remote) display - had to SSH-in, to fix via CLI. So, this option seems *essential* for me, though is rarely mentioned!?
-nevershared -forever : on creating a new connection, drop existing. (I only need 1 connection). From x11vnc --help, this combo "guards against hung TCP connections that do not go away."
-nopw : I choose not to use a password; this prevents a warning.
-tightfilexfer : I use TightVNC client
-display 0 : default X11 server display
I use the TightVNC client, as UltraVNC connects but displays solid (red) window, no contents.
Hope this helps.
Cheers,
Pete.
References:
http://elinux.org/RPi_VNC_Server
http://www.penguintutor.com/linux/tightvnc
http://www.rpiforum.net/forum/tutorials ... -raspbian/
http://www.raspberrypi.org/phpBB3/viewt ... 63&t=24809
http://www.raspberrypi.org/phpBB3/viewt ... f=6&t=5540