How to Install TeamViewer on Debian 12, 11 or 10

Navigating remote access tools, TeamViewer emerges as a frontrunner, offering versatility and reliability. For Debian enthusiasts, integrating TeamViewer can elevate their remote access capabilities. This guide is tailored to demonstrate how to install TeamViewer on Debian 12 Bookworm, Debian 11 Bullseye, or Debian 10 Buster, ensuring a seamless remote connectivity experience.

Features of TeamViewer:

  • Universal Accessibility: TeamViewer boasts compatibility across diverse platforms, from Windows, Mac OS, and Linux to mobile ecosystems like iOS and Android. This wide-ranging support ensures uninterrupted connectivity, regardless of device preference.
  • Fortified Security: TeamViewer prioritizes user security, employing 256-bit AES end-to-end encryption and two-factor authentication. This robust security framework protects your remote sessions and data transfers from threats.
  • User-Centric Design: With its intuitive interface and streamlined options, TeamViewer facilitates easy navigation, making it user-friendly even for those with limited technical expertise.
  • Versatile Applications: Beyond remote access, TeamViewer is a platform for diverse interactions, from online meetings and training sessions to dynamic sales presentations.
  • Optimized Performance: Designed for efficiency, TeamViewer delivers consistent performance even under constrained bandwidth conditions, making it a reliable choice for varied tasks, from file sharing to HD video conferencing.

Given its expansive feature set and dedication to user-centric design, TeamViewer has garnered widespread adoption across sectors. Whether for business collaborations, educational sessions, or IT support, TeamViewer is a trusted ally in remote connectivity.

Install TeamViewer on Debian 12, 11, or 10 via APT

Step 1: Update Debian Packages Before TeamViewer Installation

Before you start the installation process, updating your Debian system is advisable. This ensures that all existing packages are in their latest versions, leading to a smooth installation process. You can accomplish this by executing the following command:

sudo apt update
sudo apt upgrade

Executing the command updates the package list and subsequently upgrades all installed packages to their latest versions. It’s standard practice to start any installation process with an up-to-date system.

Step 2: Install Initial Required Packages

Next, you must install a few dependencies required for TeamViewer to function optimally. While most of these packages might already be present in your system, running the command below will confirm their installation:

sudo apt install curl apt-transport-https

The listed packages are pivotal for adding external repositories and facilitating secure data transfers over HTTPS. If you encounter any issues during the TeamViewer installation process, it’s recommended to revisit this step and execute the command to verify all required packages’ installation.

Step 3: Import TeamViewer APT Repository on Debian

With your system updated and the necessary packages installed, you can proceed with the TeamViewer installation process.

First, to ensure the authenticity of the packages you’re about to install, you must import the GPG key to your keychain. This can be achieved by running the following command:

curl -fSsL | sudo gpg --dearmor | sudo tee /usr/share/keyrings/teamview.gpg > /dev/null

This command fetches the public GPG key used by TeamViewer to sign their packages and adds it to your keychain. This step is critical for verifying the integrity of the downloaded packages.

Next, you need to import the TeamViewer repository. This lets your APT package manager fetch the necessary packages directly from the official source. You can add the repository using the following command:

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/teamview.gpg] stable main" | sudo tee /etc/apt/sources.list.d/teamviewer.list

Following the importation of the TeamViewer repository, update your APT package list to reflect the changes. You can achieve this by running the following command:

sudo apt update

Step 3: Install TeamViewer on Debian via APT Command

Finally, you can install TeamViewer by running:

sudo apt install teamviewer

You may be prompted to keep the source or import the maintainer during installation. Selecting the option to compare changes and maintain the original if no alterations are made is recommended.

You can select this option by typing “N” when prompted.

Screenshot displaying the imported TeamViewer source on Debian Linux.Pin
A visual demonstration of retaining the TeamViewer source after importing on Debian Linux.

Launching TeamViewer on Debian 12, 11, or 10

With the successful installation of TeamViewer on your Debian system, you are now ready to launch the application. The launching of TeamViewer can be performed in two primary ways, catering to both command-line enthusiasts and those who prefer a graphical user interface.

Firstly, you can execute the following command to start TeamViewer from your command terminal:


TeamViewer can be accessed easily through the applications menu if you are more inclined towards using the graphical user interface. This method is generally favored by desktop users who prefer interacting with icons over typing commands.

To open TeamViewer, navigate the following path:

Activities > Show Applications > TeamViewer
TeamViewer application icon showcased on a Debian Linux desktop.Pin
Distinct TeamViewer icon as it appears on the Debian Linux environment.

A Note on Wayland Compatibility on Debian 12, 11 or 10

As a user of Debian, you may encounter some compatibility issues if your system uses Wayland. Due to the inherent limitations, TeamViewer currently does not support Wayland.

Step 1: Understanding the Limitation

You may see an error message stating that TeamViewer does not support Wayland. This is because the integration of TeamViewer with Wayland is a complex process and is still in the planning stages. The full-fledged support for Wayland has been a topic of discussion for a few years, and it’s predicted to materialize in the next decade.

Screenshot indicating detection of Wayland display server with TeamViewer on Debian Linux.Pin
Visual cue of TeamViewer recognizing the Wayland display server in a Debian Linux environment.

In the interim, to get TeamViewer running smoothly, you must log out and back in using GNOME on Xorg, a different display server protocol.

Step 2: Logging in with GNOME on Xorg

To use GNOME on Xorg, navigate to the login screen and click on the gear icon in the bottom right corner. From the options that appear, select “GNOME on Xorg”. After making this selection, proceed to log in as usual.

Login screen showing GNOME with Xorg/X11 for TeamViewer on Debian Linux.Pin
Snapshot of the login interface displaying GNOME running on Xorg or X11, optimized for TeamViewer on Debian Linux.

After logging in with GNOME on Xorg, you can launch TeamViewer without encountering the Wayland compatibility issue.

Step 3: Using TeamViewer

With TeamViewer launched successfully, you can now utilize its functionality to establish a remote connection to another PC. You can do this by either obtaining the other computer’s TeamViewer address or by providing your TeamViewer address to another user.

Screenshot of TeamViewer running on the Xorg display server in Debian Linux.Pin
A representation of TeamViewer’s interface and functionality while utilizing the Xorg display server on Debian Linux.

Tips with TeamViewer GUI on Debian 12, 11 or 10

Starting with a new piece of software can feel daunting. Here, we aim to make this journey as smooth as possible by providing valuable tips to get started with TeamViewer GUI on your Debian Linux system.

Familiarize Yourself with the TeamViewer Interface on Debian

First things first, make yourself comfortable with the TeamViewer interface. The GUI is intuitive, so exploring it will help you become more efficient.

Here are some key areas to explore:

  • The Menu Bar: It’s located at the top of the interface, where you’ll find essential options like Connection, Extras, and Help.
  • The Dashboard: Here, you’ll find your ID and temporary password that you’ll need to provide to another user for them to connect to your PC.
  • The Control Bar: It appears when you’re connected to another computer. This bar has options like Actions, View, Communicate, which provides numerous tools for remote sessions.

Personalizing the TeamViewer Settings with Debian

The beauty of TeamViewer is its highly customizable nature. By clicking on Extras and then Options, you can access a wide range of settings to make the software work for you. Some customization options include:

  • Security settings: You can change your TeamViewer password or configure two-factor authentication here.
  • Remote control settings: Customize the quality of remote sessions or set up unattended access.

Remember, each setting change can significantly affect your experience with the software. Take some time to explore these options and find what works best for you.

Utilizing the TeamViewer Chat with Debian

TeamViewer provides an inbuilt chat system, facilitating communication during a remote session. This chat window allows you to send messages, files, and even emojis, making it an invaluable tool for collaborative troubleshooting.

To access this feature, click on Chat in the TeamViewer GUI, select the user, and start conversing.

Managing TeamViewer Computers & Contacts with Debian

TeamViewer’s Computers & Contacts feature allows you to save a list of frequent contacts or remote computers. This feature is handy for IT support staff or anyone needing to connect to specific computers regularly. You can access them quickly from the GUI by adding a computer or contact.

Leverage the QuickConnect Button on TeamViewer with Debian

When you’re in a remote session, the QuickConnect button at the top of each window allows easy switching between remote windows. It’s beneficial when dealing with multiple remote sessions at once.

TeamViewer Terminal Command on Debian 12, 11 or 10

Mastering the TeamViewer terminal commands allows you to control remote devices on your Debian system efficiently. Below, we’ll explore a series of essential commands that can enrich your experience with TeamViewer.

Utilizing Terminal Commands for Remote Connection

Initiate Connection to a Remote Device

To connect to a remote device using TeamViewer through the terminal, we need the ID and password of that device. Here’s how you can execute this:

teamviewer -i [remote ID] -p [remote password]

In the above command, replace [remote ID] with the ID of the remote device and [remote password] with the password provided by the device’s owner. Executing this command will establish a connection with the specified remote device.

Launch a Remote Session

Initiating a remote session via the terminal is relatively straightforward. Enter the following command:

teamviewer -i [remote ID] -p [remote password] -l

This command will start a remote session with the chosen device and open a new window for the session.

Leveraging Advanced TeamViewer Commands

Activating Fullscreen Mode

To make the most of your screen real estate during a remote session, use the command below to enable fullscreen mode:

teamviewer -i [remote ID] -p [remote password] --Fullscreen

The execution of this command will cause the remote session window to be maximized, offering a better view of the remote device’s screen.

Enabling Remote Control

To gain control of the remote device as if you were right in front of it, enable the remote control feature with this command:

teamviewer -i [remote ID] -p [remote password] --RemoteControl

This command activates the remote control feature, giving you complete control over the remote device.

Adjusting Remote Session Quality

You can customize the quality of your remote session based on your requirements or network conditions. Use the following command to set the desired quality:

teamviewer -i [remote ID] -p [remote password] --quality [quality level]

Here, replace [quality level] with a value between 0 and 9 — 9 representing the highest quality.

Transferring Files

To move files between your local machine and the remote device, use the file transfer command:

teamviewer -i [remote ID] -p [remote password] --FileTransfer

This command opens the file transfer window, allowing you to browse and move files between devices seamlessly.

Recording a Remote Session

To record your remote session for later reference, execute the command below:

teamviewer -i [remote ID] -p [remote password] --record

This command begins recording the remote session, saving the output to your local machine.

Ending the Remote Session

When you’re ready to close your remote session, use the following command:

teamviewer -i [remote ID] -p [remote password] --kill

This command will terminate the active remote session and close the TeamViewer window.

Maintaining TeamViewer on Debian 12, 11, or 10

Update TeamViewer on Debian

TeamViewer should automatically stay updated with your system packages if you use the APT package manager. However, you can manually check for updates with the following command:

sudo apt update && sudo apt upgrade

This command will update all system packages, including TeamViewer, if a newer version is available.

Remove TeamViewer From Debian

If you decide that you no longer require TeamViewer on your Debian system, you can remove it using the following command:

sudo apt remove teamviewer

This command will uninstall TeamViewer from your Debian system, removing all its configuration files.

Remove TeamViewer APT Repository

If you’re sure about not reinstalling TeamViewer in the future, you can choose to remove the repository list file associated with the software:

sudo rm /etc/apt/sources.list.d/teamviewer.list

This command will delete the repository list file, thus stopping your Debian system from checking for or downloading any TeamViewer updates.

Remove TeamViewer GPG Key

After removing the repository list file, removing the GPG key that TeamViewer used is a good practice. You can do this by running the following command:

sudo rm /usr/share/keyrings/teamviewer.gpg

This action will delete the GPG key associated with TeamViewer, ensuring a clean software removal from your system.


In this guide, we have walked you through a comprehensive process of installing and managing TeamViewer on a Debian-based Linux system. We discussed the installation process, how to handle Wayland display server incompatibility, the usage of a wide range of TeamViewer commands for different purposes, and even the uninstallation of the software. This process equips you with the knowledge and skills to utilize TeamViewer effectively in a Debian environment, whether for personal use or professional remote support.

Leave a Comment

Your Mastodon Instance
Share to...