diff --git a/FAQ.md b/FAQ.md index b53c2741..70946a5a 100644 --- a/FAQ.md +++ b/FAQ.md @@ -613,22 +613,60 @@ If you are already logged in you can use on the console the commands: ## How do I set up VNC? -Enter the Console/Terminal by selecting the last option from the Raspiblitz menu -Enable the VNC server using raspi-config: -sudo raspi-config > Interface Options > VNC > Enable. Reboot. -Set a password for the VNC Server: -sudo vncpasswd -service -Set the Authentication parameter: -sudo echo "Authentication=VncAuth" > /etc/vnc/config.d/common.custom -Restart the VNC Server for settings to take effect -sudo systemctl restart vncserver-x11-serviced -Open the relevant port in the firewall (ufw): -sudo ufw allow vnc +Enter the Console/Terminal by selecting the last option from the Raspiblitz menu. +![Raspiblitz menu](pictures/vnc-go-to-console.png) -Note: You may have to set the resolution through raspi-config in certain situations: -sudo raspi-config > Advance Options > Resolution +Enable the VNC server using raspi-config: -Hint: From macOS, there is a built in VNC client hidden away at: /System/Library/CoreServices/Applications/Screen\ Sharing.app +`sudo raspi-config` + +In the menu, go to +*Interfacing Options > VNC > Enable* +![Raspi-config menu](pictures/vnc-raspi-config-menu.png) + +After that reboot the Raspiblitz. You can do this easily from the Raspiblitz menu. +In the command line, type: +`menu` +The Raspiblitz menu has a reboot option if you scroll down. Select it and reboot. + +![Raspi-config menu](pictures/vnc-reboot-from-menu.png) + + +After the Raspiblitz is rebooted, set a password for the VNC Server: +`sudo vncpasswd -service` + +Set the Authentication parameter: +`sudo echo "Authentication=VncAuth" > /etc/vnc/config.d/common.custom` + +Restart the VNC Server for settings to take effect: +`sudo systemctl restart vncserver-x11-serviced` + +Open the relevant port in the firewall (ufw): +`sudo ufw allow vnc` + +Start the VNC server from the Raspiblitz: +`vncserver` +This will run by default in the display number '1'. If you want to specify another number, run this (change *\* to whatever you prefer): +`vncserver :` + +![VNC server started](pictures/vnc-server-started.png) + +From the VNC client (e.g. your PC, laptop), connect to the IP that the previous command has displayed in the screen (I covered it in pink in the screenshot). If everything is alright, you can see the display from the VNC client now. + +In order to stop broadcasting your display, stop the server from the Raspiblitz with this: +`vncserver -kill :` + +For example: +`vncserver -kill :1` + + +**Note**: You may have to set the resolution through raspi-config in certain situations: +`sudo raspi-config` + *Advanced Options > Resolution* + +**Hint**: From macOS, there is a built in VNC client hidden away at: /System/Library/CoreServices/Applications/Screen\ Sharing.app + +**Hint 2**: Find more info about VNC in Raspberry [here](https://www.raspberrypi.org/documentation/remote-access/vnc/). ## I have two RaspiBlitz in my network - can they both be public? diff --git a/pictures/vnc-go-to-console.png b/pictures/vnc-go-to-console.png new file mode 100644 index 00000000..d3caa860 Binary files /dev/null and b/pictures/vnc-go-to-console.png differ diff --git a/pictures/vnc-raspi-config-menu.png b/pictures/vnc-raspi-config-menu.png new file mode 100644 index 00000000..37557717 Binary files /dev/null and b/pictures/vnc-raspi-config-menu.png differ diff --git a/pictures/vnc-reboot-from-menu.png b/pictures/vnc-reboot-from-menu.png new file mode 100644 index 00000000..8172df82 Binary files /dev/null and b/pictures/vnc-reboot-from-menu.png differ diff --git a/pictures/vnc-server-started.png b/pictures/vnc-server-started.png new file mode 100644 index 00000000..d6bae3a2 Binary files /dev/null and b/pictures/vnc-server-started.png differ