Easy Raspberry basics: Project 09a Raspberry PI 3 model B board - 3 Ways to Run a Remote Desktop

of Acoptex.com in Raspberry Pi 3

Raspberry basics: Project 08a

Project name: 3 Ways to Run a Remote Desktop on Raspberry PI 3 model B board

Tags: Raspberry, Raspberry PI 3 model B board, Team Viewer, ExaGear Desktop, use remote desktop on Raspberry Pi 3, remote connection to Raspberry Pi 3

In this project, you need these parts :

1.Raspberry PI 3 model B 1 pc

2. Micro SD card and SD card adapter 1 pc

3. Micro USB power supply (2.1 A, max 2.5 A) 1 pc

4. USB keyboard 1 pc

5. USB mouse 1 pc

6. TV or PC monitor 1 pc


We will learn how to run Remote Desktop on Raspberry PI 3 model B board.

In this project, we will show you 3 ways to run Remote Desktop on your Raspberry Pi 3.

The first way is by using TeamViewer. You just install TeamViewer on Raspberry Pi 3, find the provided login and password and enter them on PC.

The second way is by using VNC. VNC is a graphical desktop protocol that allows you to access the full Raspberry Pi desktop from another PC. So, you can see the start menu and run programs from desktop shortcuts. VNC is simple if your PC and Raspberry Pi are located on the same local network. But if you want to connect from office to your home Raspberry PI 3 you’ll have to do some configurations to set up port forwarding on your home router.

The third is via ssh + X11 forwarding. It is simple, requires few configurations, but is limited to show windows of a separate program only. However, if you are on the same local network with your Raspberry PI 3 and are going to access Raspberry PI 3 from time to time, it is a good option.

Understanding the Raspberry PI 3 model B

The Raspberry Pi 3 is the third-generation Raspberry Pi. It replaced the Raspberry Pi 2 Model B in February 2016.


  • Quad Core 1.2GHz Broadcom BCM2837 64bit CPU
  • 1GB RAM
  • BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board
  • 40-pin extended GPIO
  • 4 USB 2 ports
  • 4 Pole stereo output and composite video port
  • Full size HDMI
  • CSI camera port for connecting a Raspberry Pi camera
  • DSI display port for connecting a Raspberry Pi touchscreen display
  • Micro SD port for loading your operating system and storing data
  • Upgraded switched Micro USB power source up to 2.5A

Signals and connections of the Raspberry PI 3 model B

Step by Step instruction

We recommend using a high-performance SD card for increased stability as well as plugging your device into an external display to see the default application booting up.

We assume that you have Windows 10 installed on your PC and Raspbian OS installed on your Raspberry PI 3 board.

1. Using TeamViewer

We have already covered the installation and use of Team Viewer in another project.

2. Using VNC

VNC Connect from RealVNC is included with Raspbian. It consists of both VNC Server, which allows you to control your Raspberry Pi remotely, and VNC Viewer, which allows you to control desktop computers remotely from your Raspberry Pi should you want to.

You must enable VNC Server before you can use it: instructions for this are given below. By default, VNC Server gives you remote access to the graphical desktop that is running on your Raspberry Pi, as though you were sitting in front of it.

However, you can also use VNC Server to gain graphical remote access to your Raspberry Pi if it is headless or not running a graphical desktop.

  1. Insert your micro SD card with Raspbian OS to Raspberry Pi 3 board.
  2. Connect the TV or PC monitor Display port (HDMI Port) to your Raspberry PI 3 board HDMI Port (HDMI cable required).
  3. Make sure that your monitor or TV is turned on, and that you have selected the right input (e.g. HDMI 1,  etc).
  4. Plug in your USB mouse and USB keyboard to Raspberry PI 3 board USB ports.
  5. Get connected. Connect an Ethernet cable to 10/100 LAN port of Raspberry Pi 3 or plug in WiFi adapter (see the list of supported here) to USB port of Raspberry Pi 3.
  6. Connect Micro USB power supply to Raspberry PI 3 board micro USB input.
  7. The Raspberry PI desktop will start up.
  8. Go to Raspberry icon-> Preferences -> Raspberry PI configuration
  9. Select Interfaces and make sure that the camera is enabled. If it’s not enabled, enable it and reboot your Raspberry PI 3 board to begin. We suggest to enable all settings and you will not need to come back to these configuration tool again.
  10. After reboot go to Terminal.
  11. Type the command: sudo apt-get update
  12. Then type the command to install RealVNC server and viewer on your Raspberry Pi 3: sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer

  13. We will need to know our Raspberry Pi 3 IP address to access it. Type this command: hostname -I As you can see we have
  14. We need to enable the VNC server. Type the command: sudo raspi-config
  15. Select Interfacing Options and press Enter button. 
  16. Select P3 VNC and press Enter button. 
  17. Select Yes and press Enter button.
  18. Press Enter button.
  19. Select Finish and press Enter button. That's it. We completed installation on Raspberry Pi 3.
  20. Let's continue installation on Windows 10.
  21. Download and install a VNC client program. You can use TightVNC or RealVNC or UltraVNC. We will use RealVNC in this project.
  22. Download latest RealVNC version for Windows from  realvnc.com website.

  23. Open the downloaded file VNC-Viewer-6.18.907-Windows-64bit.exe
  24. Agree with terms and conditions and press OK button.

  25. The VNC will open.

  26. Type your Raspberry Pi 3 IP address and select connect to address or hostname

  27. The Identity Check pop up window appears. Press Continue button.

  28. You will need to 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. Username will be always Pi.

  29. Congrats!!!You have completed setup successfully.

  30. Next time you do not need to enter your username and password. The link to your Rapberry Pi 3 saved in the program.


3. Using ssh + X11 forwarding

This case doesn’t require any additional package installation on your Raspberry Pi.

On Window PC do the following:

1. Install Xming X Server for Window

2. Run Xming Server

3. Run Putty, enter your RPi IP address, select X11 in the options menu and check the box labeled “Enable X11 forwarding”:

This case doesn’t require any additional package installation on your Raspberry Pi 3.

Xming is the leading X Window System Server for Microsoft Windows 8/7/Vista/XP (+ server 2012/2008/2003). It is fully featured, small and fast, simple to install and because it is standalone native Microsoft Windows, easily made portable (not needing a machine-specific installation).

You can access the command line of a Raspberry Pi 3 remotely from another computer or device on the same network using SSH. The Raspberry Pi 3 will act as a remote device: you can connect to it using a client on another machine. You only have access to the command line, not the full desktop environment. 

  1. Download Xming X Server for Windows from here.
  2. Open Xming-6-9-0-31-setup.exe.
  3. Press Next button.
  4. Choose destination folder and press Next button.
  5. Select full installation. Normal Putty link SSH Client must be selected. Press Next button.
  6. Press Next button twice to agree with default settings.
  7. Press Install button to start installation.
  8. When installation done make sure that Launch Xming selected and press Finish button. Xming Server will start up.
  9. Go to putty.org website and download the latest version of Putty for Windows. You can download it here.
  10. Open downloaded file putty-64bit-0.70-installer.msi

  11. Press Next button.

  12. Select destination folder and press Next button.
  13. Press Install button and confirm Yes to start installation.
  14. Press Finish button.
  15. Run Putty, enter your Raspberry Pi 3 IP address.
  16. Go to Connection->SSH->X11. Check the box labeled Enable X11 forwarding

  17. Press Open button. When the connection works you will see the security warning shown below. You can safely ignore it. You will only see this warning the first time PuTTY connects to a Raspberry Pi that it has not seen before.

  18. Press Yes button.

  19. Enter your Raspberry Pi 3 username (pi) and password (default is raspberry).



We have learnt how to run Remote Desktop on Raspberry PI 3 model B board. We have shown you 3 ways to run Remote Desktop on your Raspberry Pi 3.


  • No libraries needed in this project


  • No sketches needed in this project

Other projects of Acoptex.com
Medium Basics: Project 083w Sipeed Maixduino board - Using PlatformIO IDE of Acoptex.com in Sipeed Maixduino 08-08-2019
Medium Basics: Project 083e Sipeed Maixduino board - Uploading MaixPy of Acoptex.com in Sipeed Maixduino 04-08-2019
Medium Basics: Project 083f Sipeed Maixduino board - Using MycroPython of Acoptex.com in Sipeed Maixduino 04-08-2019

Published at 24-09-2018
Viewed: 1598 times