To access a desktop on your Raspberry Pi we will be using Dataplicity Porthole as well as the Real VNC viewer for windows.
Please ensure the following before proceeding:
- Pi has a Desktop version of Raspberry Pi OS from 2021 or newer.
- Pi is connected to the internet.
- Dataplicity is installed.
We'll need to enable VNC access on Raspberry Pi and change its default port. Navigate to Raspberry Pi Configurator as shown below.
In the next windows select the 'Interfaces' tab, click on 'Enabled' for 'VNC', then click on 'OK'. You will see VNC icon pop up on the taskbar. Click on the icon. VNC Server utility will open up. Click on the menu icon and choose 'Options...'
In the next windows choose 'Connections' from the list and set 'Port' value to '5901' then click 'OK'.
Now we're ready to access our Raspberry Pi desktop from our PC.
When you launch Porthole you will see a list of forwarded devices. We currently haven't added anything, so the list is empty. To add a new device click on
Add new button in the centre or at the top menu. In the next window you will see three steps:
- Assign local port - the port on your PC that you will access to see the data from your Raspberry Pi.
- Select device to be forwarded - choose the Raspberry Pi that you want to connect to from your PC.
- Add remote port - choose the port of your Raspberry Pi that your PC will access.
When all the steps have been completed click on
Assign. Your list of forwarded devices will then be updated.
Firstly, please download and install Real VNC viewer for windows, this is how we'll view the remote desktop of our Raspberry Pi. In the connection bar please enter
localhost:8888 and press enter to connect.
You will then be asked to enter username and password for the device you're connecting to. For Raspberry Pi it's:
Username: pi /
Unless you've made prior changes. Click 'OK' and you will be connected to your Pi Desktop.
-- Dataplicity Team 🤗
Updated 2 months ago