


Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon.ĭownload the latest TeamViewer. Perform the following steps to install TeamViewer on your Ubuntu system: 1. Prerequisites #īefore continuing with this tutorial, make sure you are logged in as a user with sudo privilegesĪt the time of writing this article, the latest stable version of TeamViewer is version 2. The same instructions apply for Ubuntu 16.04 and any other Debian based distribution, including Debian, Linux Mint and Elementary OS. This tutorial explains how to install TeamViewer on Ubuntu 18.04. TeamViewer is proprietary computer software and it is not included in the Ubuntu repositories. If help is needed for shell commands then teamviewer -help)Ģ.) After installing TeamViewer please setup the unattended password teamviewer -passwd ģ.) After please stop the daemon with sudo teamviewer -daemon stopĤ.) Write into the nf file located in /opt/teamviewer/config/nf the following lines:ĥ.) Then start the daemon with sudo teamviewer -daemon -start or restart if needed sudo teamviewer -daemon restartĦ.) Then restart GDM with the command systemctl restart gdm.How to install TeamViewer on Ubuntu 20.04 Thank you in advance and please let me know if you have any further questions.ġ.) SSH into the machine to install TeamViewer (Follow installation instructions. You can then run TeamViewer with the command sudo teamviewer & disown as it removes the process from the shell's job control, but it still leaves it connected to the terminal.

To allow the GUI to be opened and retrieve the TeamViewer ID. There will be a parameter for this coming out in a later release, however, for now please stop the TeamViewer daemon with the following command:Īnd then just add the following lines in the /opt/teamviewer9/config/nfig file:Īfter this please start the TeamViewer daemon with the following command:Īlso, please run the command (in debian based distros)Įxport DISPLAY=:0 nohup iceweasel &>/dev/null & When installing TeamViewer through SSH please keep in mind there is an EULA agreement which must be accepted before the GUI is able to launch to receive an ID. I wrote same question to teamviewer support and got such reply:
