mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
Updates FAQ with Markdown formatting of the VNC section (#1885)
* updates instructions for VNC in the FAQ
This commit is contained in:
parent
4e986cad26
commit
ddc7465f84
60
FAQ.md
60
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?
|
## How do I set up VNC?
|
||||||
|
|
||||||
Enter the Console/Terminal by selecting the last option from the Raspiblitz menu
|
Enter the Console/Terminal by selecting the last option from the Raspiblitz menu.
|
||||||
|

|
||||||
|
|
||||||
Enable the VNC server using raspi-config:
|
Enable the VNC server using raspi-config:
|
||||||
sudo raspi-config > Interface Options > VNC > Enable. Reboot.
|
|
||||||
Set a password for the VNC Server:
|
`sudo raspi-config`
|
||||||
sudo vncpasswd -service
|
|
||||||
|
In the menu, go to
|
||||||
|
*Interfacing Options > VNC > Enable*
|
||||||
|

|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
After the Raspiblitz is rebooted, set a password for the VNC Server:
|
||||||
|
`sudo vncpasswd -service`
|
||||||
|
|
||||||
Set the Authentication parameter:
|
Set the Authentication parameter:
|
||||||
sudo echo "Authentication=VncAuth" > /etc/vnc/config.d/common.custom
|
`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
|
Restart the VNC Server for settings to take effect:
|
||||||
|
`sudo systemctl restart vncserver-x11-serviced`
|
||||||
|
|
||||||
Open the relevant port in the firewall (ufw):
|
Open the relevant port in the firewall (ufw):
|
||||||
sudo ufw allow vnc
|
`sudo ufw allow vnc`
|
||||||
|
|
||||||
Note: You may have to set the resolution through raspi-config in certain situations:
|
Start the VNC server from the Raspiblitz:
|
||||||
sudo raspi-config > Advance Options > Resolution
|
`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>`
|
||||||
|
|
||||||
Hint: From macOS, there is a built in VNC client hidden away at: /System/Library/CoreServices/Applications/Screen\ Sharing.app
|

|
||||||
|
|
||||||
|
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?
|
## I have two RaspiBlitz in my network - can they both be public?
|
||||||
|
|
||||||
|
BIN
pictures/vnc-go-to-console.png
Normal file
BIN
pictures/vnc-go-to-console.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
pictures/vnc-raspi-config-menu.png
Normal file
BIN
pictures/vnc-raspi-config-menu.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
pictures/vnc-reboot-from-menu.png
Normal file
BIN
pictures/vnc-reboot-from-menu.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
pictures/vnc-server-started.png
Normal file
BIN
pictures/vnc-server-started.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue
Block a user