mercredi 23 juillet 2014

VNC server on mint

aptitude install x11vnc

gedit /etc/mdm/Init/Default

#insert before exit 0
#

if [ -z "$(pidof x11vnc)" ]; then nohup x11vnc -norc -forever -shared -autoport 5900 -avahi -env X11VNC_AVAHI_NAME=`hostname` -desktop "`hostname`'s Remote Desktop" -scale_cursor 0.5 -repeat -bg -o /var/log/x11vnc.log 2>/dev/null 1>&2; fi

# cmde line putty

-L 5999:192.168.1.xx:5900

# cnx to host --> 127.0.0.1:5999