TeamViewer is one of the most popular remote control software, allowing you to connect and control another device with just a few clicks. If you’re using Ubuntu 22.04 and want to install TeamViewer in the simplest way, this guide will help you do it quickly.
I also encountered some issues when installing TeamViewer for the first time on Ubuntu, but after trying a few methods, I found the easiest solution. If you’re struggling to get it working, just follow this guide, and I guarantee 100% success!
1. How to Install TeamViewer on Ubuntu 22.04
Step 1: Download TeamViewer
First, visit the official TeamViewer website to download the .deb
file.

- Choose the x86-64bit version if you’re using a 64-bit system (which is most common).
- The downloaded file will typically be saved in the Downloads folder.
Step 2: Install TeamViewer
Open the Terminal (press Ctrl + Alt + T
) and run the following command to navigate to the folder where the file was downloaded:
cd ~/Downloads
Then, grant execution permission to the .deb
file and install TeamViewer:
sudo chmod +x teamviewer_15.42.4_amd64.deb
sudo dpkg -i teamviewer_15.42.4_amd64.deb

Note: If you encounter missing dependency errors, run the following command to install the required packages:
sudo apt --fix-broken install
2. Add TeamViewer to the Taskbar
After installation, open the application menu, search for TeamViewer, right-click on it, and select “Add to Favorites” to pin it to the taskbar for quicker access.

3. How to Use TeamViewer on Ubuntu 22.04
Step 1: Launch TeamViewer
Open TeamViewer, check the box “I accept the EULA and the DPA”, and click “Continue”.
You will see your TeamViewer ID and Password. Share this information with the person who wants to connect remotely to your computer.
Step 2: Connect to Another Computer
To control another computer, enter the Partner ID in the “Control Remote Computer” field, then click “Connect”. Once you enter the correct Password, you will have full access to the remote computer.

💡 Tip: To connect more quickly, you can save frequently used Partner IDs in the Computers & Contacts list.
4. How to Fix Common Errors When Installing TeamViewer on Ubuntu
I encountered some errors while installing TeamViewer on Ubuntu, and here are the most effective solutions:
Error 1: “Package libminizip1 is not installed“
Cause: The libminizip1
library is missing.
Solution: Install the missing library with the following command:
sudo apt install libminizip1 -y
Error 2: “Dependency problems – leaving unconfigured”
Cause: Package dependency conflicts during installation.
Solution:
sudo apt --fix-broken install
sudo dpkg -i teamviewer_15.42.4_amd64.deb
Note: Replace 15.42.4 with the actual version of the downloaded file.
Error 3: “TeamViewer daemon is not running” when launching TeamViewer
Cause: The TeamViewer service is not running.
Solution:
Restart the TeamViewer daemon:
sudo teamviewer daemon restart
If the problem persists, enable and start the service:
sudo systemctl enable teamviewerd
sudo systemctl start teamviewerd
Error 4: “Wayland detected – Switching to Xorg recommended”
Cause: Ubuntu 22.04 uses Wayland by default, but TeamViewer works better with Xorg.
Solution:
- Log out and select “Ubuntu on Xorg” when logging back in.
- Alternatively, modify the configuration file:
- sudo systemctl enable teamviewerd sudo systemctl start teamviewerd
- sudo systemctl enable teamviewerd sudo systemctl start teamviewerd
sudo nano /etc/gdm3/custom.conf
Find the line #WaylandEnable=false
, remove the #
, save the file, and restart the display manager:
sudo systemctl restart gdm3
5. Uninstall TeamViewer if Needed
If you want to remove TeamViewer from your system, run the following command:
sudo apt remove teamviewer -y
sudo apt autoremove -y
Installing and using TeamViewer on Ubuntu 22.04 is quite simple—just download the correct .deb
file and install it via Terminal. If you encounter any issues, you can apply one of the troubleshooting tips above to get TeamViewer running smoothly.
I personally faced the “TeamViewer daemon is not running” error, and it took me a while to figure out how to fix it. If you’re having any other problems while installing TeamViewer, feel free to leave a comment, and I’ll do my best to help! 😎
Have you successfully installed TeamViewer? If so, try connecting to another computer and experience it right away!