xrdp“窗口管理器快速退出”

xrdp“窗口管理器快速退出”

我正在尝试从 Windows 7 远程访问 Ubuntu (21.10)。我读了一些网页,它们建议安装 xrdp,所以我就这么做了。我不是这个话题的专家。

从 Windows 7 远程桌面连接中,输入正确的密码后,连接立即关闭。

我遵循了该问题的公认答案:

https://unix.stackexchange.com/questions/523152/xrdp-disconnects-immediately-after-connection-from-windows10-centos-to-centos7

所以我注释掉了:

#test -x /etc/X11/Xsession && exec /etc/X11/Xsession
#exec /bin/sh /etc/X11/Xsession

并补充道:

startxfce4

但还是不行,这是我的 xrdp 日志:

[20211114-19:39:36] [INFO ] starting xrdp-sesman with pid 846
[20211114-19:39:36] [INFO ] listening to port 3350 on 127.0.0.1
[20211114-19:40:53] [INFO ] shutting down sesman 1
[20211114-19:42:27] [INFO ] starting xrdp-sesman with pid 3304
[20211114-19:42:27] [INFO ] listening to port 3350 on 127.0.0.1
[20211114-19:43:21] [INFO ] A connection received from ::1 port 46468
[20211114-19:43:21] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20211114-19:43:21] [INFO ] ++ created session (access granted): username peter, ip ::ffff:192.168.1.93:55657 - socket: 12
[20211114-19:43:21] [INFO ] starting Xorg session...
[20211114-19:43:21] [INFO ] calling auth_start_session from pid 3320
[20211114-19:43:21] [INFO ] /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log  
[20211114-19:43:22] [INFO ] waiting for window manager (pid 3321) to exit
[20211114-19:43:22] [CORE ] window manager exited quickly (0 secs). Window manager config problem?
[20211114-19:43:22] [INFO ] Cleaning up session. Calling auth_stop_session and auth_end from pid 3320
[20211114-19:43:22] [INFO ] ++ terminated session:  username peter, display :10.0, session_pid 3320, ip ::ffff:192.168.1.93:55657 - socket: 12

相关内容