members
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
General
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.
Specification:
- 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.
- Insert your micro SD card with Raspbian OS to Raspberry Pi 3 board.
- Connect the TV or PC monitor Display port (HDMI Port) to your Raspberry PI 3 board HDMI Port (HDMI cable required).
- Make sure that your monitor or TV is turned on, and that you have selected the right input (e.g. HDMI 1, etc).
- Plug in your USB mouse and USB keyboard to Raspberry PI 3 board USB ports.
- 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.
- Connect Micro USB power supply to Raspberry PI 3 board micro USB input.
- The Raspberry PI desktop will start up.
- Go to Raspberry icon-> Preferences -> Raspberry PI configuration
- 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.
- After reboot go to Terminal.
- Type the command: sudo apt-get update
- 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
- 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 192.168.0.121.
- We need to enable the VNC server. Type the command: sudo raspi-config
- Select Interfacing Options and press Enter button.
- Select P3 VNC and press Enter button.
- Select Yes and press Enter button.
- Press Enter button.
- Select Finish and press Enter button. That's it. We completed installation on Raspberry Pi 3.
- Let's continue installation on Windows 10.
- Download and install a VNC client program. You can use TightVNC or RealVNC or UltraVNC. We will use RealVNC in this project.
- Download latest RealVNC version for Windows from realvnc.com website.
- Open the downloaded file VNC-Viewer-6.18.907-Windows-64bit.exe
- Agree with terms and conditions and press OK button.
- The VNC will open.
- Type your Raspberry Pi 3 IP address and select connect to address or hostname
- The Identity Check pop up window appears. Press Continue button.
- 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.
- Congrats!!!You have completed setup successfully.
- 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 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.
- Download Xming X Server for Windows from here.
- Open Xming-6-9-0-31-setup.exe.
- Press Next button.
- Choose destination folder and press Next button.
- Select full installation. Normal Putty link SSH Client must be selected. Press Next button.
- Press Next button twice to agree with default settings.
- Press Install button to start installation.
- When installation done make sure that Launch Xming selected and press Finish button. Xming Server will start up.
- Go to putty.org website and download the latest version of Putty for Windows. You can download it here.
- Open downloaded file putty-64bit-0.70-installer.msi
- Press Next button.
- Select destination folder and press Next button.
- Press Install button and confirm Yes to start installation.
- Press Finish button.
- Run Putty, enter your Raspberry Pi 3 IP address.
- Go to Connection->SSH->X11. Check the box labeled Enable X11 forwarding
- 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.
- Press Yes button.
- Enter your Raspberry Pi 3 username (pi) and password (default is raspberry).
Summary
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.
Library
- No libraries needed in this project
Sketch
- No sketches needed in this project
Other projects of Acoptex.com










jobs.viewed