Website Vidya
Linux & ServersStep-by-Step Guide

How to Install TeamViewer on Ubuntu 24.04 LTS

Learn how to install teamviewer on ubuntu 24.04 LTS using official .deb packages, manage systemd daemon services, configure Wayland, and remote access.

RR
Rajesh RayLead Systems Educator
Published:
5 min read
PDF Cheat Sheet
How to Install TeamViewer on Ubuntu 24.04 LTS
AI Executive SummaryWebsiteVidya AI

5 min read

Learn how to install teamviewer on ubuntu 24.04 LTS using official .deb packages, manage systemd daemon services, configure Wayland, and remote access.

Key Highlights
  • Prerequisites and Supported Releases
  • Step 1: Downloading the Official TeamViewer Debian Package
  • Step 2: Installing TeamViewer via APT
Grounded in full engineering runbookWebsiteVidya AI Engine

TeamViewer is a globally recognized proprietary software application for remote control, desktop sharing, online collaboration, and cross-platform file transfers.

Whether you are providing technical support to remote team members, administering unattended servers, or accessing your home workstation while traveling, TeamViewer provides an encrypted, NAT-traversing connection that works seamlessly across firewalls without complex port forwarding.

Ubuntu 24.04 LTS (Noble Numbat) supports TeamViewer via an official 64-bit Debian package distributed directly by TeamViewer Germany GmbH.

In this guide, we walk through how to install teamviewer on ubuntu 24.04 LTS step-by-step, configure the background service, resolve Wayland display compatibility issues, and establish unattended remote access.

Advertisement

Prerequisites and Supported Releases

This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat) & Ubuntu 22.04 LTS. The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.

Before proceeding, ensure you have the following requirements satisfied:

  • A computer running Ubuntu 24.04 LTS or Ubuntu 22.04 LTS with a graphical desktop environment.
  • A non-root user account with sudo administrative privileges.
  • An active internet connection to download the installer package.
  • A 64-bit x86_64 architecture system.

Step 1: Downloading the Official TeamViewer Debian Package

TeamViewer provides a direct download link for the latest stable Linux build.

Advertisement

Open your terminal shell and change into your user's ~/Downloads or /tmp directory:

Use wget to download the official 64-bit Debian package directly from TeamViewer's download portal:

# Navigate to temporary downloads folder:
cd ~/Downloads

# Download the official TeamViewer 64-bit .deb package:
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

# Verify downloaded package file integrity and size:
ls -lh teamviewer_amd64.deb
# Output confirms file size around ~65 MB to ~80 MB.

Step 2: Installing TeamViewer via APT

Install the downloaded .deb package using apt install rather than dpkg.

Using apt ensures that all required graphics, Qt runtime libraries, and network dependencies are identified and installed automatically from Ubuntu repositories:

Advertisement

Execute the installation command with administrative privileges:

# Update repository cache:
sudo apt update

# Install the local TeamViewer package with dependency resolution:
sudo apt install -y ./teamviewer_amd64.deb

# Verify installed TeamViewer version:
teamviewer version
# Expected output confirms: 15.x or newer

Step 3: Managing the teamviewerd Background Service

TeamViewer operates using a background system service named teamviewerd that communicates with TeamViewer's global routing network.

Upon installation, systemd enables and launches the daemon automatically.

Verify the daemon status and learn how to control the background service lifecycle:

# Check status of the teamviewerd systemd daemon:
sudo systemctl status teamviewerd
# Output confirms: Active: active (running)

# Start the daemon:
sudo systemctl start teamviewerd

# Stop the daemon:
sudo systemctl stop teamviewerd

# Enable daemon to launch on boot:
sudo systemctl enable teamviewerd

# Disable daemon from launching on boot:
sudo systemctl disable teamviewerd

Step 4: Configuring Wayland and Xorg for Remote Desktop Sessions

Ubuntu 24.04 uses the Wayland display server by default.

While modern TeamViewer versions support Wayland for outgoing remote connections, incoming connections (viewing or controlling the Ubuntu desktop remotely) require appropriate PipeWire screen-sharing permissions or switching to an Xorg session.

If incoming remote partners see a black screen or cannot control your mouse cursor, switch from Wayland to Xorg on the login screen:

To switch: Log out of Ubuntu, click your username, click the gear icon in the bottom-right corner of the password screen, and select Ubuntu on Xorg.

Disabling Wayland Globally (Alternative for Headless Workstations)

For dedicated workstations or office PCs where you want Xorg to remain the permanent default, edit the GDM3 display manager configuration:

Uncomment WaylandEnable=false in /etc/gdm3/custom.conf:

# Open GDM3 configuration file:
sudo nano /etc/gdm3/custom.conf

# In the [daemon] section, ensure the following line is uncommented:
# WaylandEnable=false

# Restart GDM3 or reboot to apply:
sudo systemctl restart gdm3

Step 5: Setting Up Unattended Remote Access (CLI & GUI)

To connect to your Ubuntu desktop while away without requiring a person at the physical screen to accept incoming connections, configure unattended access.

Launch TeamViewer from your desktop application launcher or run teamviewer & in your terminal.

Accept the End User License Agreement (EULA).

You can configure a fixed permanent password directly from the command line:

# Set a fixed unattended password via CLI:
sudo teamviewer passwd YourStrongPassword123!

# Print your permanent TeamViewer ID:
teamviewer info
# Output confirms:
#  TeamViewer ID: 1 234 567 890

Step 6: Completely Uninstalling TeamViewer from Ubuntu

If you decide to remove TeamViewer, use apt purge to delete both the binary executables and all global daemon configurations.

Next, remove the official TeamViewer APT repository list added during installation:

Execute the following commands to clean your system:

# Purge TeamViewer package and configuration files:
sudo apt purge -y teamviewer

# Remove orphaned dependency packages:
sudo apt autoremove -y

# Remove TeamViewer APT repository source and keyring:
sudo rm -f /etc/apt/sources.list.d/teamviewer.list
sudo rm -f /etc/apt/trusted.gpg.d/teamviewer.gpg

# Delete downloaded installer:
rm -f ~/Downloads/teamviewer_amd64.deb

Troubleshooting and Common Errors

When configuring Ubuntu servers, unexpected permission errors, network timeouts, or lock contention can occur. Review these common issues and verified resolutions:

Incoming remote connection shows black screen or cursor only under Ubuntu 24.04

Cause: Wayland security restrictions prevent remote applications from capturing the screen without user permission.

Resolution: Switch your session to 'Ubuntu on Xorg' at the login screen or disable Wayland in /etc/gdm3/custom.conf.

sudo sed -i 's/#WaylandEnable=false/WaylandEnable=false/' /etc/gdm3/custom.conf

The TeamViewer daemon is not running! Please start teamviewerd

Cause: The teamviewerd systemd background service has stopped or crashed.

Resolution: Start the service using sudo systemctl start teamviewerd.

sudo systemctl restart teamviewerd

teamviewer: command not found after installation

Cause: The TeamViewer executable path /usr/bin/teamviewer is missing from the active shell $PATH.

Resolution: Verify binary location with which teamviewer or launch via /opt/teamviewer/tv_bin/teamviewer.

which teamviewer

Security Best Practices and Hardening

Always set a complex, unique password for unattended access to prevent brute-force remote desktop compromises.

Enable Two-Factor Authentication (2FA) on your TeamViewer account to protect remote device management.

Configure an access control whitelist in TeamViewer settings to permit connections only from specific trusted TeamViewer IDs.

Deepen your Linux system administration skills with our related production-tested guides:

Authoritative References and Official Documentation

Frequently Asked Questions

Quick answers to common questions and configurations

4 FAQs
TeamViewer is free of charge for non-commercial, personal use. For corporate administration or business support, a commercial TeamViewer subscription license is required.
Yes. When you install the official .deb package, TeamViewer configures an APT repository in /etc/apt/sources.list.d/teamviewer.list so that TeamViewer updates automatically whenever you run sudo apt update && sudo apt upgrade.
Yes, but you must configure a virtual display dummy driver (such as xserver-xorg-video-dummy) so TeamViewer has a virtual screen framebuffer to capture.
Run teamviewer info in your terminal to display your active TeamViewer ID and daemon status.
RR
Written byVerified Author

Rajesh Ray

I’m Rajesh Rai, a full-stack developer, Linux administrator, and technology enthusiast passionate about making complex technology easier to understand and use.

SPAM-FREE MODERATED DISCOURSE

Join the Conversation & Perspective

Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.

AT
MP
JV
+2

No comments on this guide yet. Be the first to share your thoughts or ask a question!

Recommended Reading10 Guides

Related Technical Guides

Tested runbooks, server administration walkthroughs, and troubleshooting guides

Featured Infrastructure PartnerUp to 75% OFF + 3 Months Free

Supercharge Your Linux & Cloud Workloads with Hostinger

Deploy high-speed NVMe KVM VPS, Docker containers, and LiteSpeed-accelerated WordPress servers in under 60 seconds with full root access, dedicated IPv4, and 24/7 technical support.

Pure NVMe SSD StorageFull Root Access & SSHFree Domain & Unlimited SSL99.9% Uptime SLA
Plans from$2.99/mo
Claim Hostinger DealAffiliate link • Special discount applied at checkout