glibc 2.35 及以后的版本不再包含 crypt 相关的动态链接库(libcrypt.so.1)
终端启动提示报错 sunloginclient: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
就是以上原因造成的。
https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD
https://github.com/archlinux/svntogit-packages/blob/packages/glibc/repos/core-x86_64/PKGBUILD#L68
Pinned Comments
RandomFall commented on 2024-05-10 08:06 (UTC)
Notice: version 15.2.0.62802 would sometimes cause Xorg to crash on Manjaro Linux. This usually happens on launch of GoLand or other Jetbrains IDE when sunloginclient (and its service runsunloginclient.service) is already running (without being controlled).
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 , 确保对应网络管理器的服务已经设置开机启动.