Posts: 2
Joined: Fri Sep 09, 2011 1:30 am

Rpi 2 starting x11vnc on boot up.

Thu Apr 09, 2015 1:57 pm

I have been fighting with my new Rpi model 2 and am getting my ears boxed.

I am trying to get x11vnc to start on boot after LXDE starts/loads. I have searched both Google and the forums here and have found great examples but none so far seem to work specifically on the Rpi2 as described below:

viewtopic.php?f=91&t=102568&p=711018&hi ... nc#p711018 and ... rrypi.html are fine examples as well
as the x11vnc page itself. .

Any help anyone could render would be greatly appreciated !

Posts: 25
Joined: Mon Aug 06, 2012 11:11 am

Re: Rpi 2 starting x11vnc on boot up.

Fri Apr 10, 2015 9:46 am

Here what i used:

Code: Select all

sudo x11vnc -storepasswd /etc/x11vnc.pass
in the /etc/rc.local

Code: Select all

/usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o /var/log/x11vnc.log  > /dev/null 2>&1
my desktop has auto login.

Return to “Networking and servers”