Do you have a Raspberry Pi device on your network that you want access to over the internet? Want to access it with Teamviewer on your Linux PC? If so, you’ll need to install the Teamviewer for Raspberry Pi on it. Here’s how to do it.
Note: using Teamviewer on Raspberry Pi requires a Raspberry Pi 2 or newer. Additionally, it must be running Raspbian, as the official Teamviewer for Pi package is a DEB.
Installing Teamviewer for Raspberry Pi on Raspbian
The Teamviewer for Raspberry Pi app is distributed via the official Teamviewer website as a downloadable DEB package. It is primarily targeted at Rasbian users, though it will work on any Raspbian-based distribution.
To start the installation, open up a terminal and log into your Raspberry Pi over SSH with the command below.
Note: don’t have an SSH setup on your Raspberry Pi? It is essential for this guide. To learn how to configure SSH on Raspbian, check out the official documentation on the Raspberry Pi website.
After logging into the Raspberry Pi over SSH, use the wget command to download the DEB release of Teamviewer for Raspberry Pi.
The download of the DEB package will be quick, as it is only a few megabytes. When the process is complete, run the ls command to confirm that the file is there.
ls | grep teamviewer-host_armhf.deb
Once you’ve confirmed that the DEB package is there, the installation can begin. Using the dpkg command, set up
sudo dpkg -i teamviewer-host_armhf.deb
When the installation is complete, the terminal will print out errors on the screen. These errors are dependency issues, and they must be fixed for the app to function correctly. To correct the dependency errors, use the apt-get install -f command below.
sudo apt-get install -f
As soon as all dependencies are installed via the apt-get app, the Teamviewer for Raspberry Pi app will be up and running.
Configuring Teamviewer for Raspberry Pi
Installing the Teamviewer for Raspberry Pi application does not automatically configure it. Instead, you must run the setup tool that comes with it, or the app will not be accessible with Teamviewer clients on other computers. To configure Teamviewer on Raspberry Pi, follow the step-by-step instructions below.
Step 1: In the Raspberry Pi SSH session, run the sudo teamviewer setup command. This command will bring you through the initial setup process, and allow you to connect your Teamviewer account to the Teamviewer for Raspberry Pi program.
sudo teamviewer setup
Step 2: Upon running the sudo teamviewer setup command, you will see a message that says, “Do you want to assign this device to your account?”
Press the Y button on the keyboard to tell Teamviewer for Raspberry Pi that you wish to connect the app to your account.
Step 3: After selecting “Y” (AKA yes) in the setup tool, you will see “Please enter your e-mail/username.” Enter your Teamviewer account e-mail address.
If you do not have a Teamviewer account, click on this link here to create one. It is required to use Teamviewer for Raspberry Pi, as the app will add your Pi device to the “Computers” section of the Teamviewer client on PC.
Step 4: When you’ve entered your e-mail account into the setup application, you will be prompted to enter the password associated with the account.
In the text field, enter your password and press the Enter key to log in.
Assuming the sign-in is successful, you will see, “You have successfully added this computer to your Computers & Contacts.”
Accessing Raspberry Pi with Teamviewer
To access your Raspberry Pi with Teamviewer, your Linux PC must have the official client installed. To install the latest Teamviewer on Linux, do the following.
First, head over to the official website, find the “Download” button and click on it to head over to the downloads area. Then, on the downloads page, click on the Linux option, and download the release that is compatible with your Linux PC.
Note: having issues setting up the official Teamviewer client on your Linux PC? Don’t worry! We’ve got your back! Head over to our official guide on how to install Teamviewer on Linux to get it working!
Once the Teamviewer client is set up on Linux, launch it by searching for “Teamviewer” in your app menu. Then, follow the step-by-step instructions below to learn how to access your Raspberry Pi.
Step 1: Locate the “Sign in” button and click on it. Then, log into your Teamviewer account.
Step 2: After signing in, find the “Computers & Contacts” section on the left-hand side, and click on it with the mouse to access the computers attached to your Teamviewer account.
Step 3: Look through “Computers & Contacts” for “My computers,” and click on it with the mouse.
Step 4: In the Teamviewer app, double-click on your Raspberry Pi inside of the “My computers” area. Selecting it will instantly connect to it with Teamviewer.
With Teamviewer connected to the Raspberry Pi, you will be able to interact with it and control it as if you were sitting in front of it. If you’d like to close the connection, close the window.