neutrinolabs/xorgxrdp

Unable to connect to xrdp using xorgxrdp since most recent xorg-server update

Hydranet opened this issue · 2 comments

I had a working xrdp/xorgxrdp configuration, last week I updated my system and xorg-server was updated as well which caused problems on KDE Plasma for many people. It seemed to be caused by an xorg-server update.

When I try to connect to xrdp I see this.

journalctl -f -u xrdp-sesman.service
-- Journal begins at Tue 2020-06-23 12:18:00 CEST. --
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602916]: [ERROR] A fatal error has occured attempting to start the window manager on display 10, aborting connection
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602915]: [WARN ] Window manager (pid 602916, display 10) exited quickly (1 secs). This could indicate a window manager config problem
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602915]: [INFO ] Calling auth_stop_session and auth_end from pid 602915
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602915]: pam_unix(xrdp-sesman:session): session closed for user tux
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602915]: [INFO ] Terminating X server (pid 602917) on display 10
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602915]: [INFO ] Terminating the xrdp channel server (pid 602969) on display 10
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602915]: [INFO ] X server on display 10 (pid 602917) returned exit code 1 and signal number 0
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602915]: [INFO ] xrdp channel server for display 10 (pid 602969) exit code 0 and signal number 0
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602915]: [INFO ] cleanup_sockets:
Nov 24 18:43:00 venom.amc.nl xrdp-sesman[602658]: [INFO ] ++ terminated session:  username tux, display :10.0, session_pid 602915, ip ::ffff:172.18.4.80:53190 - socket: 12


journalctl -f -u xrdp.service
-- Journal begins at Tue 2020-06-23 12:18:00 CEST. --
Nov 24 18:42:50 venom.amc.nl xrdp[602838]: [INFO ] xrdp_wm_log_msg: sesman connect ok
Nov 24 18:42:50 venom.amc.nl xrdp[602838]: [INFO ] sesman connect ok
Nov 24 18:42:50 venom.amc.nl xrdp[602838]: [INFO ] sending login info to session manager, please wait...
Nov 24 18:42:50 venom.amc.nl xrdp[602838]: [INFO ] xrdp_wm_log_msg: login successful for display 10
Nov 24 18:42:50 venom.amc.nl xrdp[602838]: [INFO ] login successful for display 10
Nov 24 18:42:50 venom.amc.nl xrdp[602838]: [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
Nov 24 18:42:50 venom.amc.nl xrdp[602838]: [INFO ] started connecting
Nov 24 18:42:50 venom.amc.nl xrdp[602838]: [INFO ] lib_mod_connect: connecting via UNIX socket
Nov 24 18:46:19 venom.amc.nl xrdp[602838]: [INFO ] connection problem, giving up
Nov 24 18:46:19 venom.amc.nl xrdp[602838]: [INFO ] some problem

These are the xorg-server packages I have installed and the versions.

local/xorg-server 21.1.1-3 (xorg)
    Xorg X server
local/xorg-server-common 21.1.1-3 (xorg)
    Xorg server common files
local/xorg-server-devel 21.1.1-3 (xorg)
    Development files for the X.Org X server
local/xorg-server-xephyr 21.1.1-3 (xorg)
    A nested X server that runs as an X application
local/xorg-server-xnest 21.1.1-3 (xorg)
    A nested X server that runs as an X application
local/xorg-server-xvfb 21.1.1-3 (xorg)
    Virtual framebuffer X server
local/xorg-xwayland 21.1.3-1 (xorg)
    run X clients under wayland 

I was using these xrdp and xorgxrdp package versions when it was working.

local/xorgxrdp 0.2.17-1
    Xorg drivers for xrdp
local/xrdp 0.9.16-3
    An open source remote desktop protocol (RDP) server

Then I updated xorg-server and then it stopped working after I rebooted and tried logging in again.
I tried updating package version of xrdp and xorgxrdp, then rebooted again and still couldn't login.

local/xorgxrdp 0.2.17-1
    Xorg drivers for xrdp
local/xrdp 0.9.17-1
    An open source remote desktop protocol (RDP) server

Any chance that this update could have broken xrdp/xorgxrdp as well?

I downgraded the xorg-server packages and three dependencies and now xrdp/xorgxrdp is working again.
These are the packages versions I downgraded too.

xf86-input-vmmouse-13.1.0-5-x86_64.pkg.tar.zst   
xorg-server-devel-1.20.13-3-x86_64.pkg.tar.zst
xorg-server-xephyr-1.20.13-3-x86_64.pkg.tar.zst
xf86-video-vmware-13.3.0-2-x86_64.pkg.tar.zst    
xorg-server-xnest-1.20.13-3-x86_64.pkg.tar.zst
xorg-server-1.20.13-3-x86_64.pkg.tar.zst        
xorg-server-xvfb-1.20.13-3-x86_64.pkg.tar.zst
xorg-server-common-1.20.13-3-x86_64.pkg.tar.zst

This combination of the versions of xrdp and xorgxrdp didn't work and the downgraded xorg-server packages including dependencies.

local/xorgxrdp 0.2.17-1
    Xorg drivers for xrdp
local/xrdp 0.9.17-1
    An open source remote desktop protocol (RDP) server

This combination of the versions of xrpd and xorgxrpd worked including the downgraded xorg-server packages including dependencies.

local/xorgxrdp 0.2.17-1
    Xorg drivers for xrdp
local/xrdp 0.9.16-3
    An open source remote desktop protocol (RDP) server

Dup of #201.