Solución:
Porque esa es la naturaleza de teamviewer: está diseñado para reaparecer.
/opt/teamviewer8/tv_bin/script/teamviewerd.sysv
probablemente sea el responsable de ello.
Para detener el uso de teamviewer:
sudo teamviewer --daemon stop
Mostrará …
initctl stop teamviewerd
teamviewerd stop/waiting
y se ha ido …
[email protected]:/opt/teamviewer8/tv_bin/script$ ps -ef|grep teamviewer
rinzwind 12712 12428 0 18:11 pts/0 00:00:00 grep --color=auto teamviewer
Comandos para manipular el demonio:
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)
Respecto al comentario:
De la ayuda de teamviewer 9:
$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)
Las opciones todavía están ahí en TV9.
Si instala Teamviewer 10 desde el archivo .deb, --daemon stop
como se recomendó anteriormente no funcionará en Ubuntu 14.04 LTS (¿y otros?). No sé por qué.
El demonio es un trabajo ‘advenedizo’, por lo que se controla desde /etc/init/teamviewerd.conf
no /etc/init.d
.
Desafortunadamente, para mi, ambos initctl stop teamviewerd
y service teamviewerd stop
resulta en:
initctl: Unknown instance:
teamviewerd.sysv
se instala en / opt. Entonces, para detenerlo, debe hacer:
$ sudo /opt/teamviewer/tv_bin/script/teamviewerd.sysv stop
systemctl stop teamviewerd.service
systemctl disable teamviewerd.service