不能运行: $ sunloginclient 2021-08-21 16:53:47.590 - Info - version:11.0.0.36662 @ 525 [rpcclient]rpcclient_default::connect is error
(sunloginclient:16059): Gtk-CRITICAL **: 16:53:47.800: gtk_main_quit: assertion 'main_loops != NULL' failed m_iEpfd == -1, at WaitCompleted. m_iEpfd == -1, at WaitCompleted.
Pinned Comments
Zhaoye commented on 2021-01-21 03:30 (UTC) (edited on 2021-01-22 03:35 (UTC) by Zhaoye)
——注:本楼中,“Sunlogin”即指代“向日葵远程控制”。
为使Sunlogin控制在用户登录前及注销后出现的SDDM界面,执行以下命令:
sudo sh -c 'echo "/usr/bin/xhost +" >> /usr/share/sddm/scripts/Xsetup'
参考于:https://forums.nomachine.com/topic/launch-virtual-desktops-without-0
如果仍然不能控制SDDM,确认你的网络能够在用户登录前自动连接(常见于只有WiFi连接的情况)
yjun commented on 2020-06-13 13:52 (UTC) (edited on 2021-12-07 09:21 (UTC) by yjun)
需要启动对应的服务才能使用:
systemctl start runsunloginclient
,也可以参考安装末的提示目前的问题:
如果遇到无法远程连接,控制Arch(Arch 为被控端),可以试试执行
xhost +
或者重启一下桌面如果遇到开机自启动后客户端连接不上的情况,参考以下链接: https://wiki.archlinux.org/index.php/Systemd#Running_services_after_the_network_is_up , 确保对应网络管理器的服务已经设置开机启动.