查看: 12184|回复: 2

[Linux] Debian11 与ubuntu22.04做被控端无法显示桌面

[复制链接]

1

主题

0

回帖

22

积分

新手上路

Rank: 1

积分
22
发表于 2022-10-14 22:41:23 | 显示全部楼层 |阅读模式
系统:全新官网镜像安装的Debian11.05 (ubuntu22.04也会出现同样现象)
桌面:默认gnome
windows端去控制debian时,没法出现桌面
捕获.PNG

在尝试命令行启动时加入 DISPLAY 或 xhost 均无用

同时debian 命令行中可见如下错误
(ToDesk:18302): Gdk-CRITICAL **: 22:04:36.979: gdk_window_get_effective_toplevel: assertion 'GDK_IS_WINDOW (window)' failed

(ToDesk:18302): Gdk-WARNING **: 22:04:36.979: Couldn't map as window 0x378a750 as popup because it doesn't have a parent
AddConnMngDlg 786128832 13065725118 2022-10-14 22:04:36Client conn is empty!
(ToDesk:19101): Gdk-CRITICAL **: 22:09:33.478: gdk_window_get_effective_toplevel: assertion 'GDK_IS_WINDOW (window)' failed

(ToDesk:19101): Gdk-WARNING **: 22:09:33.478: Couldn't map as window 0x50095b0 as popup because it doesn't have a parent

(ToDesk:19101): Gdk-CRITICAL **: 22:10:40.700: gdk_window_get_effective_toplevel: assertion 'GDK_IS_WINDOW (window)' failed

(ToDesk:19101): Gdk-WARNING **: 22:10:40.700: Couldn't map as window 0x5009750 as popup because it doesn't have a parent
AddConnMngDlg 786128832 13065725118 2022-10-14 22:09:33Client conn is empty!AddConnMngDlg 786128832 13065725118 2022-10-14 22:10:40Client conn is empty!
(ToDesk:23913): Gdk-CRITICAL **: 22:12:27.943: gdk_window_get_effective_toplevel: assertion 'GDK_IS_WINDOW (window)' failed

(ToDesk:23913): Gdk-WARNING **: 22:12:27.943: Couldn't map as window 0x3eb4750 as popup because it doesn't have a parent
^C


todesk日志如下

2022-10-14 22:09:40,630: INFO infoCategory : start todesk_session video pid  = 19469
2022-10-14 22:09:43,290: INFO infoCategory : begin register p2p
2022-10-14 22:09:44,633: INFO infoCategory : connect p2p success
2022-10-14 22:10:08,580: INFO infoCategory : sock recv err!! sock=15 errno=0
2022-10-14 22:10:10,402: INFO infoCategory : center client recv connect result. type=2 id=xxxxxx
2022-10-14 22:10:10,402: INFO infoCategory : host recv connect request, myid=xxxxx xdestid=xxxxx
2022-10-14 22:10:10,402: INFO infoCategory : hostconnection has exist 0 1.
2022-10-14 22:10:12,264: INFO infoCategory : sock recv err!! sock=12 errno=0
2022-10-14 22:10:12,264: INFO infoCategory : disconnect=12
2022-10-14 22:10:12,268: INFO infoCategory : host end while err
2022-10-14 22:10:12,268: INFO infoCategory : host conn delete begin!
2022-10-14 22:10:12,268: INFO infoCategory : host conn p2p disconnect!! sock=10003
2022-10-14 22:10:12,429: INFO infoCategory : disconnect=15
2022-10-14 22:10:12,430: INFO infoCategory : disconnect=15
2022-10-14 22:10:12,430: INFO infoCategory : shutdown socket err! errno=9
2022-10-14 22:10:12,430: INFO infoCategory : close socket err! errno=9
2022-10-14 22:10:12,430: INFO infoCategory : disconnect=12
2022-10-14 22:10:12,430: INFO infoCategory : shutdown socket err! errno=9
2022-10-14 22:10:12,430: INFO infoCategory : close socket err! errno=9
2022-10-14 22:10:12,430: INFO infoCategory : disconnect=12
2022-10-14 22:10:12,430: INFO infoCategory : shutdown socket err! errno=9
2022-10-14 22:10:12,430: INFO infoCategory : close socket err! errno=9
2022-10-14 22:10:12,430: INFO infoCategory : remove Host conn!!!
2022-10-14 22:10:12,572: INFO infoCategory : sock recv err!! sock=13 errno=0
2022-10-14 22:10:12,572: INFO infoCategory : session conn destroy start!!!
2022-10-14 22:10:12,572: INFO infoCategory : session conn disconnect!!! sock=13
2022-10-14 22:10:12,572: INFO infoCategory : disconnect=13
2022-10-14 22:10:12,572: INFO infoCategory : disconnect=13
2022-10-14 22:10:12,572: INFO infoCategory : shutdown socket err! errno=9
2022-10-14 22:10:12,572: INFO infoCategory : close socket err! errno=9
2022-10-14 22:10:12,572: INFO infoCategory : session conn destroy end!!!
2022-10-14 22:10:40,466: INFO infoCategory : center client recv connect result. type=2 id=xxxx
2022-10-14 22:10:40,466: INFO infoCategory : host recv connect request, myid=xxxxx destid=xxxxxx
2022-10-14 22:10:40,466: INFO infoCategory : TCP_VIDEO_HOST begin connect transfer server!!!
2022-10-14 22:10:40,466: INFO infoCategory : tcp begin connect! address=xxxxxx port=443
2022-10-14 22:10:40,466: INFO infoCategory : tcp end connect! ret=-1
2022-10-14 22:10:40,510: INFO infoCategory : host recv authrequest!
2022-10-14 22:10:40,510: INFO infoCategory : host get password!
2022-10-14 22:10:40,510: INFO infoCategory : host update password!
2022-10-14 22:10:40,513: INFO infoCategory : host send authresult!
2022-10-14 22:10:40,562: INFO infoCategory : ab_licode=1! isLinux=1
2022-10-14 22:10:40,572: INFO infoCategory : begin launch video session!
2022-10-14 22:10:40,572: INFO infoCategory : launch session enable rtc:1, enable tcp:1
2022-10-14 22:10:40,727: INFO infoCategory : send :,,1,1
2022-10-14 22:10:40,727: INFO infoCategory : send :{"enableHWCodec":true,"enableTest":true,"supportGpu":"","testGpu":""}

回复

使用道具 举报

9

主题

11

回帖

246

积分

中级会员

Rank: 3Rank: 3

积分
246
发表于 2022-10-15 13:45:19 | 显示全部楼层
盲猜是因为图形化系统是wayland,ubuntu22.04默认采用wayland图形界面
todesk目前仍然只适配x11,可以将桌面切换到xorg后再试Configuring Xorg as the default GNOME session :: Fedora Docs (fedoraproject.org)仅供参考
回复

使用道具 举报

0

主题

277

回帖

1080

积分

版主

Rank: 7Rank: 7Rank: 7

积分
1080
发表于 2022-10-15 19:40:37 | 显示全部楼层
您好,可以接上显示器,安装x11桌面环境,在登录界面选择x11进入试试呢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表