24

How do I kill and restart TeamViewer 10 on ubuntu from the command line?

I tried running sudo kill -HUP teamviewer* and other variants (TeamViewer.exe; which I got from the system monitor) with no luck.

I have an issue sometimes with Teamviewer hanging and it would be nice not to have to reboot my system to get TV10 working again.

4 Answers4

37

In other versions of teamviewer some times the daemon has to be restarted the in order to run the teamviewer app again after closing it.

sudo teamviewer --daemon stop
sudo teamviewer --daemon start

or

sudo teamviewer --daemon restart
fgui
  • 471
5

In Ubuntu 16.04

sudo systemctl stop teamviewerd.service
sudo systemctl start teamviewerd.service

or

sudo systemctl restart teamviewerd.service
Haris
  • 361
5

These work too:

sudo service teamviewerd stop
sudo service teamviewerd start
muru
  • 207,228
Matt Moody
  • 51
  • 1
  • 1
4

kill accepts PIDs, not process command names. Try pkill, or killall:

sudo pkill TeamViewer.exe

Or:

sudo pkill -f TeamViewer.exe
muru
  • 207,228