Smart Cities - TeamViewer to access the Raspberry Pi remotely
Jump to navigation
Jump to search
Introduction
- TeamViewer allows you to access your Raspberry Pi remotely and securely [1]
- To make setup easy you need to register an account with TeamViewer.
- TeamViewer is free for personal use.
Download TeamViewer
- Download the TeamViewer software using wget in the Terminal.
- For the Raspberry Pi use the command wget https://download.teamviewer.com/download/linux/teamviewer-host_armhf.deb
- For installation on a PC using i386 CPU hardware use the command wget https://download.teamviewer.com/download/linux/teamviewer-host_i386.deb
- Other downloads are available at the TeamViewer web site [2]
- The file takes approximately 20 seconds to download.
TeamViewer software installation
- Navigate to the directory where the TeamViewer software has been downloaded.
- The TeamViewer deb package can be installed using the dpkg utility which is part of the Debian package management software.
- For a Raspberry Pi installation enter the command sudo dpkg -i teamviewer-host_armhf.deb
- For PC i386 CPU architecture enter the command sudo dpkg -i teamviewer-host_i386.deb
- The installation takes only a few seconds.
- If there are any errors during installation enter the command sudo apt --fix-broken install
- During the installation process you may be asked to accept a licence agreement.
- Accept and click Continue.
TeamViewer Setup
- Set a password for TeamViewer with the command sudo teamviewer passwd <password>
- Include the password in the command. Note that when entered the password will be visible to anyone who can see your computer screen.
Reboot computer
- For TeamViewer to work correctly on your computer it is a good idea to reboot.
- Enter the command sudo reboot now
TeamViewer setup
- Enter the command sudo teamviewer setup
- A welcome screen will appear asking you to login to your TeamViewer account.
- Create a TeamViewer account if you haven't already done so.
- Enter your email address and password
- Note that this password is different from the password requested for the TeamViewer client on the computer.
- Once you login a confirmation email will be sent.
- Click on the link in your email and login to your TeamViewer account to complete the setup.
- The confirmation email will contain the following details.
- Click on the provided link.
- Indicate that you Trust this device.
- After confirming the setup via email you will be asked if you want the computer named raspberry to be added to the TeamViewer account.
- Enter y
- The final message will indicate that the new computer has been added to the TeamViewer account.
Device appears in TeamViewer Account
- If the setup is correct the new device raspberry will appear as a new device in the TeamViewer account.
- When the device appears green it means that the device is also online.
- The computer (device) will now be available from any computer running the TeamViewer account.