teamviewerd 在 13.10 上未使用 lightdm 启动

teamviewerd 在 13.10 上未使用 lightdm 启动

我已经为 Teamviewer 9 安装了 upstart-job。根据配置,它应该在 dbus 和 lightdm 运行时启动,请参阅:

start on (
              (started dbus         or
               started init-system-dbus)
              and
             (
              starting-dm           or
              started gdm           or
              started kdm           or
              started lightdm       or
              started lxdm          or
              started prefdm        or
              started xdm)
            )

如您所见,这两者都在我的 Ubuntu 13.10 上启动,但 teamviewerd 不会自动启动:

root@surf:~# initctl list |grep dbus
dbus start/running, process 807
root@surf:~# initctl list |grep lightdm
lightdm start/running, process 2336
root@surf:~# initctl list |grep teamviewerd
teamviewerd stop/waiting

在我获得的日志中(重启后):

root@surf:~# cat /var/log/upstart/teamviewerd.log
method return sender=org.freedesktop.DBus -> dest=:1.6 reply_serial=2
   uint32 1

如果我手动启动它,它会按预期工作:

root@surf:~# initctl start teamviewerd 
teamviewerd start/running, process 13796

这份工作有什么问题?

答案1

teamviewer 中有一些集成的守护进程命令。至少在第 8 版中如此。

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)

来源

相关内容