How to Install Teamviewer on Raspberry Pi 2/3 Within a Minute

4

Personally, we have tried installing VNC as well as much other software that can provide remote GUI access to the Raspberry Pi, but we were quietly not satisfied with it. So here in this tutorial we are going to install TeamViewer on Raspberry Pi 2/3 within a minute.

Why we don’t like VNC much?

The first thing is that VNC server has to be started manually (at least in our case) with certain resolution parameters so that it can fit our screen every time. This is a tedious as well as very time-consuming task, and we don’t like that.

TightVNC Viewer

Also, another drawback of the VNC is that you can’t use the host screen directly. That means a virtual instance is created and then it can be accessed via VNC. As soon as we close the VNC server all the instances are destroyed.

Why we love Teamviewer?

First of all, we love to use the raspberry pi without a screen for our Internet of Things projects i.e. headless configuration. We usually have a laptop with us, and we certainly want laptop’s display to work with raspberry pi.

But that is not simply possible. This is where TeamViewer comes in. You can set up unattended access as well as set TeamViewer to auto start on boot. Also, unlike VNC to remotely access the raspberry pi over the internet requires a private IP address while TeamViewer just requires ID and Password for the access. So you won’t have to worry about getting a private IP address which can cost you few bucks.

TeamViewer

We are searching for the tutorials on installing TeamViewer, and we found some, but unfortunately, we found none of them worked for us. This was because we were trying to install the version that was available for normal computer processor not ARM processors.

Luckily there is a beta version of TeamViewer that is specially designed to work with Raspberry Pi 2 and 3. However, Raspberry Pi Zero, as well as version 1, are not currently supported.

Start Building your IoT Projects using Raspberry Pi 3

Steps to Install Teamviewer on Raspberry Pi 2/3

First of all, make sure that your raspberry pi system meets the following requirements

  • It has at least 35MB of disk space.
  • You have Raspbian 8.0 Jessie with X-Server or Framebuffer VT.

Before starting here is what we have used in the tutorial:

  1. First of all, go to this page and download the latest TeamViewer host. (This page may redirect you to some other page but hit stop button before it’s redirected, or you can use the direct download link: https://download.teamviewer.com/download/linux/teamviewer-host_armhf.deb)Install Teamviewer on Raspberry Pi
  2. Now transfer the deb file to your raspberry pi and open up the terminal.
  3. Install the deb file like we do on the Ubuntu. The command is “sudo dpkg -i filename.deb”.
  4. Let the process complete. Now there will be several unmet dependencies.
  5. To fix this first type “sudo apt-get update” and wait until all the packages details are downloaded.
  6. Now use “sudo apt-get -f install” to install all the dependencies or use “sudo apt-get -f upgrade” to install dependencies as well as upgrade other modules.
  7. You are good to go. By default, the Teamviewer will start at the boot, and you can also connect it using the headless mode.
  8. Type “teamviewer help” for more details.

After the installation here is something you can do:

If you Have a Display/Monitor and GUI Access

TeamViewer GUI Raspberry Pi

  1. You can simply open the TeamViewer from the menu -> Internet -> TeamViewer or if it’s already running then you can see the little TeamViewer logo in the top taskbar.
  2. Note down the ID and Password. Now you can connect to your Raspberry Pi from anywhere.
  3. From the settings menu, you can also set up unattended access and set a permanent password to access it.

For Headless Access

TeamViewer Raspberry Pi Headless SSH

  1. Connect to your Raspberry Pi via SSH.
  2. To find out the id, you can type “teamviewer info” or to setup headless access you can type “sudo teamviewer setup”.

So that was very easy. We hope that you have enjoyed this tutorial and you were able to install TeamViewer successfully on your raspberry pi. If you encountered any problem while performing the installation, then do let us know using the comment section below.

Also, don’t forget to share it with your friends who are using or are interested in raspberry Pi tutorials and Internet of Things.

4 COMMENTS

  1. I was searching all over the internet looking for a way to use Teamviewer with RaspBerry Pi – and I had given up because everything was so confusing or cost money. I then tired using the different VNC options and actually got it working but I could not see the web browser on the client. I finally came across your instructions, and I cannot express my gratitude enough on how much easier this was. I could not install it within a minute lol because it takes so long to install and update everything but it was extremely easy. Thank you for making this so much clearer.

LEAVE A REPLY

Please enter your comment!
Please enter your name here