linux mint xrdp xfce:X 服务器已在显示器上运行:10.0

linux mint xrdp xfce:X 服务器已在显示器上运行:10.0

我使用的是 Linux Mint 21,xfce 版本。

我使用基本命令设置 xrdp:

apt install xrdp

我有/etc/xrdp/startvm.sh这样的配置:

#/bin/sh
startxfce4 >> ~/xrdp.log

当我连接 RDP 客户端时,我看到了该xrdp Just Connecting login屏幕。

我选择Xorg,然后输入我的用户名和密码。但是当我提交登录表单时,连接意外终止。

/var/log/xrdp.log或没有什么特别的/var/log/xrdp-ses.log

~/xrdp.log表明:

/usr/bin/startxfce4: X server already running on display :10.0
/usr/bin/startxfce4: X server already running on display :10.0
/usr/bin/startxfce4: X server already running on display :10.0
/usr/bin/startxfce4: X server already running on display :10.0
...

/var/log/xrdp-sesman.log表明:

20220821-23:43:13] [INFO ] ++ created session (access granted): username myuser, ip x.x.x.x:31947 - socket: 12
[20220821-23:43:13] [INFO ] starting Xorg session...
[20220821-23:43:13] [INFO ] Starting session: session_pid 23543, display :10.0, width 1920, height 1080, bpp 24, client ip x.x.x.x:31947 - socket: 12, user name myuser
[20220821-23:43:13] [INFO ] [session start] (display 10): calling auth_start_session from pid 23543
[20220821-23:43:13] [ERROR] sesman_data_in: scp_process_msg failed
[20220821-23:43:13] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20220821-23:43:13] [INFO ] Starting X server on display 10: /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log  
[20220821-23:43:13] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20220821-23:43:13] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20220821-23:43:13] [INFO ] Session started successfully for user myuser on display 10
[20220821-23:43:13] [INFO ] Starting the xrdp channel server for display 10
[20220821-23:43:13] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20220821-23:43:13] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20220821-23:43:13] [INFO ] Session in progress on display 10, waiting until the window manager (pid 23544) exits to end the session
[20220821-23:43:14] [WARN ] Window manager (pid 23544, display 10) exited with non-zero exit code 139 and signal 0. This could indicate a window manager config problem
[20220821-23:43:14] [WARN ] Window manager (pid 23544, display 10) exited quickly (1 secs). This could indicate a window manager config problem
[20220821-23:43:14] [INFO ] Calling auth_stop_session and auth_end from pid 23543
[20220821-23:43:14] [INFO ] Terminating X server (pid 23545) on display 10
[20220821-23:43:14] [INFO ] Terminating the xrdp channel server (pid 23553) on display 10
[20220821-23:43:14] [INFO ] X server on display 10 (pid 23545) returned exit code 0 and signal number 0
[20220821-23:43:14] [INFO ] xrdp channel server for display 10 (pid 23553) exit code 0 and signal number 0
[20220821-23:43:14] [INFO ] cleanup_sockets:
[20220821-23:43:14] [INFO ] ++ terminated session:  username myuser, display :10.0, session_pid 23543, ip x.x.x.x:31947 - socket: 12 

如何进一步调试?

答案1

我的用户已经通过 Proxmox VNC 连接,所以我必须断开用户连接,然后会话才能与另一个 RDP 客户端一起工作

相关内容