大家有遇到过已经连接成功,但是一直不显示桌面的情况吗?
看日志也看不出什么问题。
下面是我的 desktop.log
2020-10-06 15:05:04.881 - Info - version:10.1.1.38139
2020-10-06 15:05:04.882 - Info - Plugin desktop is starting...
2020-10-06 15:05:04.882 - Info - attempt to connect server 127.0.0.1:33603(127.0.0.1:33603)
2020-10-06 15:05:04.884 - Info - cmd:initialization date:{
"blackscreen" : false,
"enablerecord" : false,
"exitlock" : false,
"index" : 9,
"mode" : 2,
"path" : "",
"save_record_type" : "0"
}
2020-10-06 15:05:04.884 - Info - cmd:InitInstance date:
2020-10-06 15:05:04.934 - Info - xdu_get: XOpenDisplay :0 succeed
2020-10-06 15:05:05.011 - Info - Start Desktop Msloop
2020-10-06 15:05:05.013 - Info - [desktop] OnEnumUser
2020-10-06 15:05:05.013 - Info - enum user list console(ety001)([*]1000, ety001);
2020-10-06 15:05:05.069 - Info - [desktop] switch host OK
2020-10-06 15:05:05.124 - Info - [desktop] OnCtrlMessage ctrl 1,type 1
2020-10-06 15:05:05.126 - Info - [desktop] OnCtrlMessage ctrl 1,type 3
2020-10-06 15:05:05.127 - Info - [desktop] OnCtrlMessage ctrl 1,type 6
2020-10-06 15:05:05.128 - Info - [desktop] OnCtrlMessage ctrl 1,type 7
2020-10-06 15:05:05.129 - Info - [desktop] receive Enum Screen Request
2020-10-06 15:05:05.129 - Info - enum_monitors
2020-10-06 15:05:05.162 - Info - monitor 0 name=DVI-D-0 x=2560, y=0 width=1080 height=1920
2020-10-06 15:05:05.162 - Info - monitor 1 name=DP-0 x=0, y=0 width=2560 height=1440
2020-10-06 15:05:05.162 - Info - [208993] ScreenCapture::Reset()
2020-10-06 15:05:05.162 - Info - [208993] ScreenCapture::Stop()
2020-10-06 15:05:05.162 - Info - [desktop] screen rect:(0, 0, 3640, 1920), bpp:32
2020-10-06 15:05:05.162 - Info - [desktop] XcbShmExtension:1
2020-10-06 15:05:05.162 - Info - [ScreenCapture] real size(1080, 1920)
2020-10-06 15:05:05.163 - Info - [DesktopMonitorServer] set comperssion1
2020-10-06 15:05:05.164 - Info - [209030] ScreenCapture::Start()
2020-10-06 15:05:05.164 - Info - [209030] ScreenCapture::Reset()
2020-10-06 15:05:05.164 - Info - [209030] ScreenCapture::Stop()
2020-10-06 15:05:05.167 - Info - [desktop] screen rect:(0, 0, 3640, 1920), bpp:32
2020-10-06 15:05:05.167 - Info - [desktop] XcbShmExtension:1
2020-10-06 15:05:05.167 - Info - [ScreenCapture] real size(1080, 1920)
2020-10-06 15:05:05.167 - Info - [ScreenCaptureSend] GetInitBuffer()
2020-10-06 15:05:05.167 - Info - [209030] ScreenCapture::Start()
2020-10-06 15:05:05.167 - Info - [209030] ScreenCapture::Reset()
2020-10-06 15:05:05.168 - Info - [209030] ScreenCapture::Stop()
2020-10-06 15:05:05.168 - Info - [desktop] screen rect:(0, 0, 3640, 1920), bpp:32
2020-10-06 15:05:05.168 - Info - [desktop] XcbShmExtension:1
2020-10-06 15:05:05.168 - Info - [ScreenCapture] real size(1080, 1920)
2020-10-06 15:05:05.279 - Info - [DesktopMonitorServer] [15]============= first frame ==============
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 , 确保对应网络管理器的服务已经设置开机启动.