我遇到的一个奇怪的问题,每次开机向日葵是可以自启的,服务也是正常运行,但是打开app,账号不会自动登陆,每次都需要扫码,这个现象正常吗,设置里边有设置自动登录,这是上游的问题,还是我的环境有问题
systemctl status runsunloginclient.service
● runsunloginclient.service - check running sunloginclinet loop
Loaded: loaded (/usr/lib/systemd/system/runsunloginclient.service; enabled; preset: disabled)
Active: active (running) since Fri 2024-01-05 09:34:44 CST; 56min ago
Main PID: 1840 (oray_rundaemon)
Tasks: 14 (limit: 18530)
Memory: 18.2M (peak: 20.3M)
CPU: 1min 20.390s
CGroup: /system.slice/runsunloginclient.service
├─1840 /opt/sunlogin/bin/oray_rundaemon -m server
└─1847 ///////opt/sunlogin/bin/sunloginclient -m service
1月 05 09:34:44 rockchip3588 systemd[1]: Started check running sunloginclinet loop.
1月 05 09:34:44 rockchip3588 oray_rundaemon[1847]: InitConfig @ 756
1月 05 09:34:44 rockchip3588 oray_rundaemon[1847]: strCPUUnKnown
找到问题了,因为我每次都是扫码,没有选账号登陆
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 , 确保对应网络管理器的服务已经设置开机启动.