Eu instalei o teamviewer via linha de comando e eu configurei o passwd, quando eu quero pegar o id para conectá-lo, não existe id
root@gpms:[/root/MyCode]teamviewer --info
TeamViewer 12.0.76279 (RPM)
teamviewerd status ● teamviewerd.service - TeamViewer remote control daemon
Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2017-04-24 13:29:37 HKT; 15s ago
Process: 1740 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)
Main PID: 3265 (teamviewerd)
CGroup: /system.slice/teamviewerd.service
└─3265 /opt/teamviewer/tv_bin/teamviewerd -d
Apr 24 13:29:32 gpms systemd[1]: Starting TeamViewer remote control daemon...
Apr 24 13:29:36 gpms systemd[1]: PID file /var/run/teamviewerd.pid not readable (yet?) after start.
Apr 24 13:29:37 gpms systemd[1]: Started TeamViewer remote control daemon.
TeamViewer ID:
Try restarting the TeamViewer daemon (e.g. teamviewer --daemon restart)
e o teamviewerd.pid é legível
root@gpms:[/root/MyCode]ls -l /var/run/teamviewerd.pid
-rw-r--r--. 1 root root 4 Apr 24 13:29 /var/run/teamviewerd.pid
SO: CentOS 7
Como posso obter o ID?
A mensagem do arquivo PID é puramente informativa. Como você pode ver, o status do processo do daemon é informado corretamente.
—
Daniel B