How to Install and Configure TeamViewer on Ubuntu

TeamViewer is an internet-based remote access program that can allow you to access your computer and devices remotely from anywhere in the world. You can use TeamViewer software on almost every platform. More significantly, TeamViewer allows users to access cross-platform devices. No matter which operating system you are using, you can access any device through TeamViewer. If you are a Linux system administrator, you must know how it is important to access devices over the internet. Though TeamViewer is not entirely free to use, the edition of TeamViewer’s personal use is totally free and straightforward to install on the Ubuntu Linux system.

TeamViewer on Ubuntu

If you find any trouble using TeamViewer, please make sure that these ports are open, and your system has a reliable internet connection. In this tutorial post, we will learn how to install and use TeamViewer on Ubuntu Linux. A few primary features of Teamviewer are bellowed:

  • Accessible Remotely
  • Multiple Simultaneous Connections
  • Cross-Platform Software
  • Switch Between Monitors
  • File Manager Facilities
  • Clipboard Facilities
  • Multiple Device Connectivity
  • Audio, Video and Chat Facilities
  • Enhanced Keyboard Shortcut

1. Update Your Ubuntu System

sudo apt update

2. Download TeamViewer on Ubuntu

sudo wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

3. Install TeamViewer on Ubuntu

sudo dpkg --install teamviewer_amd64.deb

Once the installation of TeamViewer is finished, you can check the version and detailed information about TeamViewer by running the following terminal command lines given below on your Ubuntu Linux.

teamviewer -version
teamviewer info

4. Start TeamViewer With Command Line

teamviewer

When you start the TeamViewer on your Linux machine, it starts as a daemon, which allows it to run on the system background. You can monitor your system to check how much resources the TeamViewer is taking. You can also check which server your TeamViewer daemon uses to establish your connection by checking the TeamViewer log file.

As I am mentioning about TeamViewer’s server, let me show you my current TeamViewer server, and where I have found that information. You can create a compressed log file of TeamViewer by running the following terminal command given below.

teamviewer ziplog

Now, you can find the log file and extract the zip file to read the log information of your TeamViewer. 

You can find the directory where you have installed the TeamViewer on your Ubuntu with the whereis/locate command in the terminal shell given below.

whereis teamviewer
locate teamviewer

Here are some basic and primary terminal commands given below to start, stop, restart, disable, enable and check the status of TeamViewer daemon on your Ubuntu Linux.

teamviewer daemon status 
teamviewer daemon start 
teamviewer daemon stop 
teamviewer daemon restart 
teamviewer daemon disable 
teamviewer daemon enable

5: Removing TeamViewer

This step is not a mandatory part of installing TeamViewer on Ubuntu Linux. Rather in this step, you will learn how to remove TeamViewer from your device. You can remove it by running a simple terminal shell command. If you have installed TeamViewer from the Software Store, you can remove the tool from the store as well. Use the terminal commands given below to remove TeamViewer and delete the user data.

aptitude remove teamviwer
apt purge teamviwer

If you had been looking for a tutorial post on installing and using TeamViewer on Ubuntu Linux, please let us know how much this post was helpful to you. Also, you can write down your opinions in the comment segment below