Thursday, August 23, 2007

Starting X11 VNC in Linux

Create vnc passwd
x11vnc -storepasswd

Use authentication while connecting
x11vnc -rfbauth ~/.vnc/passwd

Keep the VNC Session after each login and logout
x11vnc -forever
Don't use shm of X if you have problems in display
x11vnc -noshm

So the final command is
x11vnc -noshm -forever -rfbauth ~/.vnc/passwd