|
系统版本: Debian 11 (bullseye)
系统CPU:
- Architecture: x86_64
- CPU op-mode(s): 32-bit, 64-bit
- Byte Order: Little Endian
复制代码
ToDesk 版本: todesk-v4.3.1.0-amd64
初步分析:
/var/log/todesk 目录下的日志文件全空。
~/.local/share/todesk 没有该目录
todeskd.service 启动失败,以下todeskd.service journal:
- Apr 18 00:52:09 bill systemd[1]: Stopped ToDesk Daemon Service.
- Apr 18 00:52:09 bill systemd[1]: Started ToDesk Daemon Service.
- Apr 18 00:52:09 bill systemd[1]: todeskd.service: Main process exited, code=killed, status=4/ILL
- Apr 18 00:52:09 bill systemd[1]: todeskd.service: Failed with result 'signal'.
- Apr 18 00:52:12 bill systemd[1]: todeskd.service: Scheduled restart job, restart counter is at 249.
- Apr 18 00:52:12 bill systemd[1]: Stopped ToDesk Daemon Service.
- Apr 18 00:52:12 bill systemd[1]: Started ToDesk Daemon Service.
- Apr 18 00:52:12 bill systemd[1]: todeskd.service: Main process exited, code=killed, status=4/ILL
- Apr 18 00:52:12 bill systemd[1]: todeskd.service: Failed with result 'signal'.
- Apr 18 00:52:13 bill systemd[1]: Stopped ToDesk Daemon Service.
复制代码
以下 todeskd.service 服务定义内容:
- [Unit]
- Description=ToDesk Daemon Service
- After=network-online.target
- Before=nss-lookup.target
- Wants=network-online.target nss-lookup.target
- [Service]
- Environment="LIBVA_DRIVER_NAME=iHD"
- Environment="LIBVA_DRIVERS_PATH=/opt/todesk/bin"
- ExecStart=/opt/todesk/bin/ToDesk_Service
- ExecStop=/bin/kill -SIGINT $MAINPID
- Restart=on-failure
- RestartSec=3s
- User=root
- [Install]
- WantedBy=multi-user.target
复制代码
尝试在terminal手动启动,返回 Illegal instruction- #定义变量
- export LIBVA_DRIVER_NAME=iHD
- export LIBVA_DRIVERS_PATH=/opt/todesk/bin
- # 以root启动ToDesk_Service
- sudo /opt/todesk/bin/ToDesk_Service
- # 返回 Illegal instruction
复制代码
联系请电邮: biaocy@foxmail.com
|
|