Skip to content

Commit ca45a43

Browse files
minkustreeJamesH65
authored andcommitted
VNC password command-line config instructions (raspberrypi#707)
* VNC password command-line config instructions Added command-line instructions for configuring a VNC password for authentication. Fixes raspberrypi#674 * copy edits
1 parent 8f06c6f commit ca45a43

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

remote-access/vnc/README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,13 @@ To complete either a direct or cloud connection, you must authenticate to VNC Se
8787

8888
If you're connecting from the [compatible VNC Viewer app](https://www.realvnc.com/download/viewer/) from RealVNC, enter the user name and password you normally use to log in to your user account on the Raspberry Pi. By default, these credentials are `pi` and `raspberry`.
8989

90-
If you're connecting from a non-RealVNC Viewer app, you'll first need to downgrade VNC Server's authentication scheme, specify a password unique to VNC Server, and then enter that instead. To do this, open the VNC Server dialog on your Raspberry Pi, select **Menu > Options > Security**, and choose **VNC password** from the **Authentication** dropdown.
90+
If you're connecting from a non-RealVNC Viewer app, you'll first need to downgrade VNC Server's authentication scheme, specify a password unique to VNC Server, and then enter that instead.
91+
* If you are in front of your Raspberry Pi and can see its screen, open the VNC Server dialog on your Raspberry Pi, select **Menu > Options > Security**, and choose **VNC password** from the **Authentication** dropdown.
92+
* **Or** if you're configuring your Raspberry Pi remotely from the command line, then to make the changes for Service Mode (the default configuration for the Raspberry Pi):
93+
* Open the `/root/.vnc/config.d/vncserver-x11` config file.
94+
* Replace `Authentication=SystemAuth` with `Authentication=VncAuth` and save the file.
95+
* In the command line, run `sudo vncpasswd -service`. This will prompt you to set a password, and will insert it for you in the right config file for VNC Server running in Service Mode.
96+
* Restart VNC Server.
9197

9298
## Playing Minecraft and other directly rendered apps remotely
9399

0 commit comments

Comments
 (0)