Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After i installed TeamViewer 8 on Ubuntu 12.10, i noticed a running process under the name of 'teamviewerd', more specifically:

/opt/teamviewer8/tv_bin/teamviewerd -f
/opt/teamviewer8/tv_bin/wine/bin/wineserver

and it auto-reopens whenever i try to kill it and i wonder why this happens.

Thanks in advance.

share|improve this question
    
I used the debian installer. Even the "killall" doesn't close "teamviewerd" process. –  Goblin Aug 4 '13 at 15:46

2 Answers 2

up vote 15 down vote accepted

Because that is the nature of teamviewer: it is build to respawn.

/opt/teamviewer8/tv_bin/script/teamviewerd.sysv is probably responsible for it.

To stop teamviewer use:

sudo teamviewer --daemon stop 

It will show ...

initctl stop teamviewerd
teamviewerd stop/waiting

and it is gone ...

rinzwind@discworld:/opt/teamviewer8/tv_bin/script$ ps -ef|grep teamviewer
rinzwind 12712 12428  0 18:11 pts/0    00:00:00 grep --color=auto teamviewer

Commands to manipulate the daemon:

teamviewer --daemon status        show current status of the TeamViewer daemon
teamviewer --daemon start         start TeamViewer daemon
teamviewer --daemon stop          stop  TeamViewer daemon
teamviewer --daemon restart       stop/start TeamViewer daemon
teamviewer --daemon disable       disable TeamViewer daemon - don't start daemon on system startup
teamviewer --daemon enable        enable TeamViewer daemon - start daemon on system startup (default)

Regarding comment:

From teamviewer 9 help:

$teamviewer --help

 TeamViewer                      9.0.32150 

 teamviewer                      start TeamViewer user interface (if not running) 

 teamviewer --help               print this help screen 
 teamviewer --version            print version information 
 teamviewer --info               print version, status, id 
 teamviewer --ziplog             create a zip containing all teamviewer logs (useful when contacting support) 

 teamviewer --passwd [PASSWD]    set a password (useful when installing remote (ssh) 

 teamviewer --daemon status      show current status of the TeamViewer daemon 
 teamviewer --daemon start       start      TeamViewer daemon 
 teamviewer --daemon stop        stop       TeamViewer daemon 
 teamviewer --daemon restart     stop/start TeamViewer daemon 
 teamviewer --daemon disable     disable    TeamViewer daemon - don't start daemon on system startup 
 teamviewer --daemon enable      enable     TeamViewer daemon - start daemon on system startup (default) 

Options are still there in TV9.

share|improve this answer
1  
Yep so if you don't want team viewer auto starting use: teamviewer --daemon disable. Doing this mean that next time execute teamviewer you will get a message that says that you need first start the daemon and will also conveniently provide you with the command to do just that. –  kroiz Oct 19 '13 at 18:50
    
This answer doesn't work anymore with the new version (9) of Teamviewer –  Frodik Sep 28 at 5:14
    
@Frodik yes it does. –  Rinzwind Sep 28 at 5:29
    
@Rinzwind Well, not in my case and other users might have problems as well. The only thing which worked for me was killall -9 teamviewerd –  Frodik Sep 28 at 5:55
    
On Ubuntu it does: sudo service teamviewerd.sysv stop –  silpol Oct 3 at 7:45

If you install Teamviewer 10 from the .deb file, --daemon stop as recommended above won't work in Ubuntu 14.04 LTS (and others?). Don't know why.

The daemon is an 'upstart job', so it gets controlled from /etc/init/teamviewerd.conf not /etc/init.d.

Unfortunately, for me, both initctl stop teamviewerd and service teamviewerd stop result in:

initctl: Unknown instance: 

teamviewerd.sysv gets installed in /opt. So, to stop it, you need to do:

$ sudo /opt/teamviewer/tv_bin/script/teamviewerd.sysv stop

Sometimes I wish "they'd" just stop changing things :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.