This repo is about how to set the raspberry pi 3B to auto boot the VNCserver for remote desktop control.
For the old version of raspberry pi, you may install VNC supported package, such as tightvncserver, to get the VNC server run first.
- Enable the VNC for raspberry
selectingsudo raspi-config
9. Advanceed Options
->A5 VNC
->Yes
- Add
vncboot
to/etc/init.d
and add the exectuable file to boot configure
sudo chmod 755 /etc/init.d/vncboot sudo update-rc.d vncboot defaults
- Reboot raspberry pi
- Open your server's remote desktop (e.g.remmina for Ubuntu/Linux mint, VNC Viewer for Win, which support VNC)
- Set the configure for VNC connection (the port and user are set in the
vncboot
)Save and connectVNC Server: <IP>:0 Username: 'pi' Password: <your pw for user 'pi'>