Article 6R6DK Unable to xrdp tunnel to my Fedora 40 session using ssh

Unable to xrdp tunnel to my Fedora 40 session using ssh

by
NuxIT
from LinuxQuestions.org on (#6R6DK)
Hello, I'm not sure what happened but I've always been able to tunnel to my xrdp GUI using a ssh putty session. Now when I try to connect after connecting via SSH it just shows a blank screen with an X for cursor and does not bring up the gui I have specified in ~/Xclients (startxfce4)

I've compared this to my Ubuntu distro that works fine. Any ideas what might be happening on my Fedora? Also, I've removed my username from this output. Also, I change the port xrdp runs on by modifying xrdp.ini.

I've tried a few things but nothing is working. Maybe this is a bug in the new xrdp?

Ubuntu (Working as expected) xrdp 0.9.17

Code:sudo tail -f xrdp-sesman.log
[20241002-13:50:27] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20241002-13:50:36] [WARN ] Window manager (pid 5720, display 10) exited with non-zero exit code 139 and signal 0. This could indicate a window manager config problem
[20241002-13:50:36] [WARN ] Window manager (pid 5720, display 10) exited quickly (9 secs). This could indicate a window manager config problem
[20241002-13:50:36] [INFO ] Calling auth_stop_session and auth_end from pid 5719
[20241002-13:50:36] [INFO ] Terminating X server (pid 5721) on display 10
[20241002-13:50:36] [INFO ] Terminating the xrdp channel server (pid 5729) on display 10
[20241002-13:50:36] [INFO ] X server on display 10 (pid 5721) returned exit code 0 and signal number 0
[20241002-13:50:36] [INFO ] xrdp channel server for display 10 (pid 5729) exit code 0 and signal number 0
[20241002-13:50:36] [INFO ] cleanup_sockets:
[20241002-13:50:36] [INFO ] ++ terminated session: username user, display :10.0, session_pid 5719, ip ::1:45648 - socket: 12
[20241002-13:50:55] [INFO ] Socket 8: AF_INET6 connection received from ::1 port 60110
[20241002-13:50:56] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20241002-13:50:56] [INFO ] ++ created session (access granted): username user, ip ::1:48398 - socket: 12
[20241002-13:50:56] [INFO ] starting Xorg session...
[20241002-13:50:56] [INFO ] Starting session: session_pid 6065, display :10.0, width 1920, height 1080, bpp 24, client ip ::1:48398 - socket: 12, user name user
[20241002-13:50:56] [INFO ] [session start] (display 10): calling auth_start_session from pid 6065
[20241002-13:50:56] [ERROR] sesman_data_in: scp_process_msg failed
[20241002-13:50:56] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20241002-13:50:56] [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
[20241002-13:50:56] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20241002-13:50:56] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20241002-13:50:56] [INFO ] Session started successfully for user user on display 10
[20241002-13:50:56] [INFO ] Starting the xrdp channel server for display 10
[20241002-13:50:56] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20241002-13:50:56] [INFO ] Session in progress on display 10, waiting until the window manager (pid 6066) exits to end the session
[20241002-13:50:56] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh

xrdp -v
xrdp 0.9.17Fedora / Broken. xrdp 0.10.1

Broken / Fedora>
Code:Broken / Fedora>
sudo tail -f xrdp-sesman.log
[2024-09-30T10:41:55.504-0600] [INFO ] Starting X server on display 10: Xvnc :10 -auth .Xauthority -geometry 1920x1080 -depth 16 -rfbauth /home/user/.vnc/sesman_passwd-user@asusdora:10 -bs -nolisten tcp -localhost -dpi 96
[2024-09-30T10:41:56.506-0600] [INFO ] X server :10 is working
[2024-09-30T10:41:56.511-0600] [INFO ] Starting window manager for display :10
[2024-09-30T10:41:56.516-0600] [INFO ] Starting the xrdp channel server for display :10
[2024-09-30T10:41:56.518-0600] [INFO ] Using the default window manager on display 10: /usr/libexec/xrdp/startwm-bash.sh
[2024-09-30T10:41:56.520-0600] [INFO ] Session in progress on display :10. Waiting until the window manager (pid 12611) exits to end the session
[2024-10-02T13:58:23.203-0600] [INFO ] sesman_main_loop: sesman asked to terminate
[2024-10-02T13:58:23.208-0600] [ERROR] sesexec_main_loop: trans_check_wait_objs failed for ECP transport
[2024-10-02T13:58:23.243-0600] [INFO ] starting xrdp-sesman with pid 56277
[2024-10-02T13:58:23.247-0600] [INFO ] Sesman now listening on /run/xrdp/sesman.socket
[2024-10-02T13:59:22.226-0600] [INFO ] Socket 13: connection accepted from AF_UNIX
[2024-10-02T13:59:22.232-0600] [INFO ] Received system login request from xrdp for user: user IP: ::1
[2024-10-02T13:59:22.239-0600] [INFO ] starting xrdp-sesexec with pid 56629
[2024-10-02T13:59:22.402-0600] [INFO ] TerminalServerUsers group tsusers doesn't exist. Access granted for user
[2024-10-02T13:59:22.406-0600] [INFO ] Access permitted for user: user
[2024-10-02T13:59:22.407-0600] [INFO ] Received sys login status for user : logged in
[2024-10-02T13:59:22.410-0600] [INFO ] Received request from xrdp to create a session for user user
[2024-10-02T13:59:22.412-0600] [INFO ] Found X server running at /tmp/.X11-unix/X10
[2024-10-02T13:59:22.470-0600] [INFO ] Starting X server on display 11: Xvnc :11 -auth .Xauthority -geometry 1920x1080 -depth 16 -rfbauth /home/user/.vnc/sesman_passwd-user@asusdora:11 -bs -nolisten tcp -localhost -dpi 96
[2024-10-02T13:59:23.472-0600] [INFO ] X server :11 is working
[2024-10-02T13:59:23.478-0600] [INFO ] Starting window manager for display :11
[2024-10-02T13:59:23.481-0600] [INFO ] Starting the xrdp channel server for display :11
[2024-10-02T13:59:23.482-0600] [INFO ] Using the default window manager on display 11: /usr/libexec/xrdp/startwm-bash.sh
[2024-10-02T13:59:23.485-0600] [INFO ] Session in progress on display :11. Waiting until the window manager (pid 56639) exits to end the session
xrdp -v
xrdp 0.10.1Ubuntu points to /etc/xrdp/startwm.sh and fedora point to this> /usr/libexec/xrdp/startwm-bash.sh.

Any ideas what I can do? I tried removing and re-installing xrdp a few times and that has not helped.

Also, it shows this under my ssh status in Fedora but I do not believe it's related? sshd.service: Referenced but unset environment variable evaluates to an empty string: OPTIONS
Code: sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
10-timeout-abort.conf
Active: active (running) since Wed 2024-10-02 15:48:28 MDT; 16min ago
Docs: man:sshd(8)
man:sshd_config(5)
Main PID: 1246 (sshd)
Tasks: 1 (limit: 4501)
Memory: 6.7M (peak: 23.9M)
CPU: 440ms
CGroup: /system.slice/sshd.service
1246 "sshd: /usr/sbin/sshd -D[listener] 0 of 10-100 startups"

Oct 02 15:48:27 asusdora systemd[1]: Starting sshd.service - OpenSSH server daemon...
Oct 02 15:48:27 asusdora (sshd)[1246]: sshd.service: Referenced but unset environment variable evaluates to an empty string: OPTIONS
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments