Based on Raspbian (Debian Wheezy):

1) become root

sudo su -

2) Install x11vnc:

apt-get update
apt-get install x11vnc

3) set password

x11vnc -storepasswd

enter a password of your choice

4) download startup script

cd /etc/init.d/

5) make the startup script executable

chmod 775 /etc/init.d/vncboot

6) install there startup script:

update-rc.d vncboot defaults

7) start vnc

service vncboot start

You will see a few screens of text flicker past before you gte the command prompt. About 12 lines up from the end you should see "The VNC desktop is: raspberypi:0".

VNC is now ready and waiting for a conenction  

After a reboot without a HDMI monitor connected you may find the VNC session results in a very small screen. This is due to the default graphics mode on boot.

You can force a larger screen by modifying /boot/config.txt:

sudo nano /boot/config.txt

uncomment and modifying the following lines:


^O to save, ^X to exit, then reboot the RaPi.


0 #1 w9sbe - Sandy 2016-11-24 07:45
When issuing the command to wget
I get file not found (404)

Could you please send me vncboot file please?

I have use ur howto before and it works very well for me.



You have no rights to post comments