全新安装的 ubunu ,安装 xrdp 之后,mstsc 访问输入用户名密码之后闪退,目前用的是 gnome ,爬了不少的文章,好像没有一个情况是一样的,大家有遇到这样的情况吗? 难道只能用 realvnc ?
1
flyqie 2023-02-12 00:48:36 +08:00 via Android
建议先阅读 提问的智慧。
你这个问题不带上 log 很难得到解答。。 |
2
sjmcefc2 OP [20230212-02:05:39] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.99.55 port 59020
[20230212-02:05:39] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20230212-02:05:39] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20230212-02:05:39] [ERROR] SSL_read: Failure in SSL library (protocol error?) [20230212-02:05:39] [ERROR] SSL: error:0A000126:SSL routines::unexpected eof while reading [20230212-02:05:39] [ERROR] libxrdp_force_read: header read error [20230212-02:05:39] [ERROR] Processing [ITU-T T.125] Connect-Initial failed [20230212-02:05:39] [ERROR] [MCS Connection Sequence] receive connection request failed [20230212-02:05:39] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed [20230212-02:05:39] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed [20230212-02:05:39] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed [20230212-02:05:39] [ERROR] xrdp_iso_send: trans_write_copy_s failed [20230212-02:05:39] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed [20230212-02:05:46] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.99.55 port 59023 [20230212-02:05:46] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20230212-02:05:46] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20230212-02:05:46] [INFO ] Connected client computer name: TICTORK [20230212-02:05:46] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored) [20230212-02:05:46] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored) [20230212-02:05:47] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000804] [20230212-02:05:47] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options [] [20230212-02:05:47] [INFO ] TLS connection established from ::ffff:192.168.99.55 port 59023: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 [20230212-02:05:47] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor [20230212-02:05:47] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100 [20230212-02:05:47] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3 [20230212-02:05:47] [WARN ] xrdp_caps_process_codecs: unknown codec id 5 [20230212-02:05:47] [WARN ] Cannot find keymap file /etc/xrdp/km-00000804.ini [20230212-02:05:47] [WARN ] Cannot find keymap file /etc/xrdp/km-00000804.ini [20230212-02:05:47] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini [20230212-02:05:47] [WARN ] local keymap file for 0x00000804 found and doesn't match built in keymap, using local keymap file [20230212-02:05:54] [INFO ] connecting to sesman ip 127.0.0.1 port 3350 [20230212-02:05:54] [INFO ] xrdp_wm_log_msg: sesman connect ok [20230212-02:05:54] [INFO ] sesman connect ok [20230212-02:05:54] [INFO ] sending login info to session manager, please wait... [20230212-02:05:54] [INFO ] xrdp_wm_log_msg: login successful for display 10 [20230212-02:05:54] [INFO ] login successful for display 10 [20230212-02:05:54] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4 [20230212-02:05:54] [INFO ] started connecting [20230212-02:05:54] [INFO ] lib_mod_connect: connecting via UNIX socket [20230212-02:05:54] [INFO ] lib_mod_log_peer: xrdp_pid=3269 connected to X11rdp_pid=3272 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:192.168.99.55 client_port=59023 [20230212-02:05:54] [INFO ] connected ok |
3
sjmcefc2 OP 感谢提醒,感觉日志没有错误啊,可是就是闪退。
|
4
Sirius8 2023-02-12 09:49:36 +08:00
遇到过闪退问题,但没有细查,桌面是 xfce4 ,用 windows store 里的远程桌面客户端连接闪退,猜测是安装了多个桌面环境导致,当时解决办法是将用 apt 安装的包删除,重装桌面和 xrdp 然后重启
|
5
NoAnyLove 2023-02-12 12:40:43 +08:00
以前也遇到类似的问题。不一定是 xrdp 的问题,还有可能是桌面或者 x.org 的问题,对应的几个服务的日志都查看一下。
|
6
sjmcefc2 OP 看起来生产还是不好运用啊,大规模部署估计还是遇到很多问题
|
7
silkriver 2023-02-12 14:48:39 +08:00
用户已经在本机上登录同一桌面环境时远程就会闪退的,本机要先注销
|
9
ragnaroks 2023-02-13 08:45:26 +08:00
debian 系 KDE 是有这个问题,不是 xrdp 的问题,如果是 gnome 的话可能要再折腾下。
建议不要浪费时间直接使用 x2go 替代。 |
10
Sokiy 2023-02-13 10:50:15 +08:00
全新安装要不要考虑 Ubuntu 22.04 ,gnome 42 版本自带 RDP 协议。
我周末测试了一下就流畅度而言吊锤 xrdp 和 VNC 。 |
11
ProPh3t 2023-02-13 10:53:11 +08:00
我盲猜一波,是你没有把物理机上的相同用户退出去。或者你的 rdp 没有配置远程连接时没有退出已登录用户。
另外,较新的 gnome 自带 rdp 服务,直接打开就行,或者用 nomachine ( nx 协议,效果是比 rdp 好的,个人使用体验,不做论证) |
14
sjmcefc2 OP vnc 可以忘记了,确实很不错的说。
|