Updates FAQ with Markdown formatting of the VNC section (#1885)

* updates instructions for VNC in the FAQ
This commit is contained in:
raulcano 2020-12-19 11:58:28 -03:00 committed by GitHub
parent 4e986cad26
commit ddc7465f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 52 additions and 14 deletions

66
FAQ.md
View File

@ -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 *\<display-number\>* to whatever you prefer):
`vncserver :<display-number>`
![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 :<display-number>`
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?

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB