Kill and Restart TeamViewer 10 Ubuntu 14.04

62,479

Solution 1

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

sudo pkill TeamViewer.exe

Or:

sudo pkill -f TeamViewer.exe

Solution 2

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

Solution 3

These work too:

sudo service teamviewerd stop
sudo service teamviewerd start

Solution 4

In Ubuntu 16.04

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

or

sudo systemctl restart teamviewerd.service
Share:
62,479

Related videos on Youtube

NotMy1RealName
Author by

NotMy1RealName

I work for a behavior-based training company. I have spent the last year working with Ubuntu, but still consider myself a novice user. It has been very fun troubleshooting the errors I have encountered.

Updated on September 18, 2022

Comments

  • NotMy1RealName
    NotMy1RealName over 1 year

    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.

  • muru
    muru about 9 years
    @NotMy1RealName how do you usually start it?
  • NotMy1RealName
    NotMy1RealName about 9 years
    It starts at boot. However, the issue is that the program crashes at times and needs to be killed and restarted. I've xkill 'd the program, but I can't restart it unless I reboot. Very inconvenient.
  • drwatsoncode
    drwatsoncode almost 7 years
    This worked perfectly for me. It's probably a much more elegant way to do it than killing the process.
  • PJ_Finnegan
    PJ_Finnegan about 4 years
    For me It also worked without the ending .service.