neutrinolabs / xrdp

xrdp: an open source RDP server
http://www.xrdp.org/
Apache License 2.0
5.58k stars 1.73k forks source link

After upgrading from 0.9.16-18-1 to 0.9.21-19-1 stopped connecting #2476

Closed AlexanderZhirov closed 1 year ago

AlexanderZhirov commented 1 year ago

Linux: Solus Project Kernel: 6.0.11-225

The connection stopped being made after the update. I didn't change the previous configuration. I installed an update from the repository, rebooted the computer and RDP stopped connecting.

logs:

xrdp-sesman.log ``` [20221217-14:24:55] [INFO ] sesman_main_loop: sesman asked to terminate [20221217-14:24:55] [INFO ] starting xrdp-sesman with pid 8560 [20221217-14:24:59] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 45254 [20221217-14:24:59] [INFO ] Terminal Server Users group is disabled, allowing authentication [20221217-14:24:59] [INFO ] ++ created session (access granted): username alexander, ip ::ffff:10.100.10.48:31959 - socket: 12 [20221217-14:24:59] [INFO ] starting Xorg session... [20221217-14:24:59] [INFO ] Starting session: session_pid 8576, display :10.0, width 1232, height 966, bpp 24, client ip ::ffff:10.100.10.48:31959 - socket: 12, user name alexander [20221217-14:24:59] [INFO ] [session start] (display 10): calling auth_start_session from pid 8576 [20221217-14:24:59] [ERROR] sesman_data_in: scp_process_msg failed [20221217-14:24:59] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20221217-14:24:59] [INFO ] Starting X server on display 10: Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log [20221217-14:24:59] [INFO ] Found X server running at /tmp/.X11-unix/X10 [20221217-14:24:59] [INFO ] Found X server running at /tmp/.X11-unix/X10 [20221217-14:24:59] [INFO ] Found X server running at /tmp/.X11-unix/X10 [20221217-14:24:59] [INFO ] Session started successfully for user alexander on display 10 [20221217-14:24:59] [INFO ] Starting the xrdp channel server for display 10 [20221217-14:24:59] [INFO ] Starting window manager on display 10 from user home directory: /home/alexander/startwm.sh [20221217-14:24:59] [INFO ] Session in progress on display 10, waiting until the window manager (pid 8582) exits to end the session [20221217-14:25:00] [WARN ] Window manager (pid 8582, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem [20221217-14:25:00] [WARN ] Window manager (pid 8582, display 10) exited quickly (1 secs). This could indicate a window manager config problem [20221217-14:25:00] [INFO ] Calling auth_stop_session and auth_end from pid 8576 [20221217-14:25:00] [INFO ] Terminating X server (pid 8583) on display 10 [20221217-14:25:00] [INFO ] Terminating the xrdp channel server (pid 8587) on display 10 [20221217-14:25:00] [INFO ] X server on display 10 (pid 8583) returned exit code 1 and signal number 0 [20221217-14:25:00] [INFO ] xrdp channel server for display 10 (pid 8587) exit code 0 and signal number 0 [20221217-14:25:00] [INFO ] cleanup_sockets: [20221217-14:25:00] [INFO ] Process 8576 has exited [20221217-14:25:00] [INFO ] ++ terminated session: username alexander, display :10.0, session_pid 8576, ip ::ffff:10.100.10.48:31959 - socket: 12 ```
xrdp.log ``` [20221217-14:24:59] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:10.100.10.48 port 31958 [20221217-14:24:59] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20221217-14:24:59] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20221217-14:24:59] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL] [20221217-14:24:59] [ERROR] SSL_read: I/O error [20221217-14:24:59] [ERROR] libxrdp_force_read: header read error [20221217-14:24:59] [ERROR] Processing [ITU-T T.125] Connect-Initial failed [20221217-14:24:59] [ERROR] [MCS Connection Sequence] receive connection request failed [20221217-14:24:59] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed [20221217-14:24:59] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed [20221217-14:24:59] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed [20221217-14:24:59] [ERROR] xrdp_iso_send: trans_write_copy_s failed [20221217-14:24:59] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed [20221217-14:24:59] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:10.100.10.48 port 31959 [20221217-14:24:59] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20221217-14:24:59] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20221217-14:24:59] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL] [20221217-14:24:59] [INFO ] Connected client computer name: TERMINAL100-6 [20221217-14:24:59] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored) [20221217-14:24:59] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored) [20221217-14:24:59] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000409] [20221217-14:24:59] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options [] [20221217-14:24:59] [INFO ] TLS connection established from ::ffff:10.100.10.48 port 31959: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 [20221217-14:24:59] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor [20221217-14:24:59] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100 [20221217-14:24:59] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3 [20221217-14:24:59] [WARN ] xrdp_caps_process_codecs: unknown codec id 5 [20221217-14:24:59] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49 [20221217-14:24:59] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini [20221217-14:24:59] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file [20221217-14:24:59] [INFO ] connecting to sesman on 127.0.0.1:3350 [20221217-14:24:59] [INFO ] xrdp_wm_log_msg: sesman connect ok [20221217-14:24:59] [INFO ] sesman connect ok [20221217-14:24:59] [INFO ] sending login info to session manager. Please wait... [20221217-14:24:59] [INFO ] xrdp_wm_log_msg: login successful for user alexander on display 10 [20221217-14:24:59] [INFO ] login successful for user alexander on display 10 [20221217-14:24:59] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4 [20221217-14:24:59] [INFO ] started connecting [20221217-14:24:59] [INFO ] lib_mod_connect: connecting via UNIX socket [20221217-14:24:59] [INFO ] lib_mod_log_peer: xrdp_pid=8575 connected to X11rdp_pid=8583 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:10.100.10.48 client_port=31959 [20221217-14:24:59] [INFO ] connected ok ```
.xorgxrdp.10.log ``` [ 2722.869] (WW) Failed to open protocol names file lib64/xorg/protocol.txt [ 2722.869] X.Org X Server 1.20.14 X Protocol Version 11, Revision 0 [ 2722.869] Build Operating System: Linux [ 2722.869] Current Operating System: Linux miratorg 6.0.11-225.current #1 SMP PREEMPT_DYNAMIC Sat Dec 3 19:39:03 UTC 2022 x86_64 [ 2722.870] Kernel command line: initrd=\EFI\com.solus-project\initrd-com.solus-project.current.6.0.11-225 root=PARTUUID=7db19dcc-7674-4043-8840-d6805a7cf7d4 quiet loglevel=3 splash systemd.show_status=false rw radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 resume=UUID=a70d3e1d-9e7f-4d59-b227-354cf61d2660 [ 2722.870] Build Date: 15 December 2022 04:51:22PM [ 2722.870] [ 2722.870] Current version of pixman: 0.42.2 [ 2722.870] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 2722.870] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 2722.870] (++) Log file: ".xorgxrdp.10.log", Time: Sat Dec 17 14:35:25 2022 [ 2722.870] (++) Using config file: "/etc/X11/xrdp/xorg.conf" [ 2722.870] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 2722.870] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 2722.870] (**) Option "defaultserverlayout" "X11 Server" [ 2722.870] (**) ServerLayout "X11 Server" [ 2722.870] (**) |-->Screen "Screen (xrdpdev)" (0) [ 2722.870] (**) | |-->Monitor "Monitor" [ 2722.870] (**) | |-->Device "Video Card (xrdpdev)" [ 2722.870] (**) |-->Input Device "xrdpMouse" [ 2722.870] (**) |-->Input Device "xrdpKeyboard" [ 2722.870] (**) Option "DontVTSwitch" "on" [ 2722.871] (**) Option "AutoAddDevices" "off" [ 2722.871] (**) Not automatically adding devices [ 2722.871] (==) Automatically enabling devices [ 2722.871] (==) Automatically adding GPU devices [ 2722.871] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 2722.871] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts". [ 2722.871] Entry deleted from font path. [ 2722.871] (Run 'mkfontdir' on "/usr/share/fonts"). [ 2722.871] (==) FontPath set to: [ 2722.871] (==) ModulePath set to "/usr/lib64/xorg/modules" [ 2722.871] (II) Module ABI versions: [ 2722.871] X.Org ANSI C Emulation: 0.4 [ 2722.871] X.Org Video Driver: 24.1 [ 2722.871] X.Org XInput driver : 24.1 [ 2722.871] X.Org Server Extension : 10.0 [ 2722.873] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_314 [ 2722.874] (II) xfree86: Adding drm device (/dev/dri/card0) [ 2722.874] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted [ 2722.874] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied [ 2722.876] (--) PCI:*(0@0:2:0) 8086:8a56:103c:86c1 rev 7, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072 [ 2722.876] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [ 2722.876] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [ 2722.876] (II) LoadModule: "dbe" [ 2722.876] (II) Module "dbe" already built-in [ 2722.876] (II) LoadModule: "ddc" [ 2722.876] (II) Module "ddc" already built-in [ 2722.876] (II) LoadModule: "extmod" [ 2722.876] (II) Module "extmod" already built-in [ 2722.876] (II) LoadModule: "glx" [ 2722.876] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 2722.877] (II) Module glx: vendor="X.Org Foundation" [ 2722.877] compiled for 1.20.14, module version = 1.0.0 [ 2722.877] ABI class: X.Org Server Extension, version 10.0 [ 2722.877] (II) LoadModule: "int10" [ 2722.877] (II) Loading /usr/lib64/xorg/modules/libint10.so [ 2722.878] (II) Module int10: vendor="X.Org Foundation" [ 2722.878] compiled for 1.20.14, module version = 1.0.0 [ 2722.878] ABI class: X.Org Video Driver, version 24.1 [ 2722.878] (II) LoadModule: "record" [ 2722.878] (II) Module "record" already built-in [ 2722.878] (II) LoadModule: "vbe" [ 2722.878] (II) Loading /usr/lib64/xorg/modules/libvbe.so [ 2722.878] (II) Module vbe: vendor="X.Org Foundation" [ 2722.878] compiled for 1.20.14, module version = 1.1.0 [ 2722.878] ABI class: X.Org Video Driver, version 24.1 [ 2722.878] (II) LoadModule: "xorgxrdp" [ 2722.878] (II) Loading /usr/lib64/xorg/modules/libxorgxrdp.so [ 2722.878] (II) Module XORGXRDP: vendor="X.Org Foundation" [ 2722.878] compiled for 1.20.11, module version = 0.2.16 [ 2722.878] ABI class: X.Org Video Driver, version 24.1 [ 2722.878] xorgxrdpSetup: [ 2722.878] (II) LoadModule: "fb" [ 2722.878] (II) Loading /usr/lib64/xorg/modules/libfb.so [ 2722.878] (II) Module fb: vendor="X.Org Foundation" [ 2722.878] compiled for 1.20.14, module version = 1.0.0 [ 2722.878] ABI class: X.Org ANSI C Emulation, version 0.4 [ 2722.878] (II) LoadModule: "xrdpdev" [ 2722.878] (II) Loading /usr/lib64/xorg/modules/drivers/xrdpdev_drv.so [ 2722.878] (II) Module XRDPDEV: vendor="X.Org Foundation" [ 2722.879] compiled for 1.20.11, module version = 0.2.16 [ 2722.879] ABI class: X.Org Video Driver, version 24.1 [ 2722.879] xrdpdevSetup: [ 2722.879] (II) LoadModule: "xrdpmouse" [ 2722.879] (II) Loading /usr/lib64/xorg/modules/input/xrdpmouse_drv.so [ 2722.879] (II) Module XRDPMOUSE: vendor="X.Org Foundation" [ 2722.879] compiled for 1.20.11, module version = 0.2.16 [ 2722.879] Module class: X.Org XInput Driver [ 2722.879] ABI class: X.Org XInput driver, version 24.1 [ 2722.879] rdpmousePlug: [ 2722.879] (II) LoadModule: "xrdpkeyb" [ 2722.879] (II) Loading /usr/lib64/xorg/modules/input/xrdpkeyb_drv.so [ 2722.879] (II) Module XRDPKEYB: vendor="X.Org Foundation" [ 2722.879] compiled for 1.20.11, module version = 0.2.16 [ 2722.879] Module class: X.Org XInput Driver [ 2722.879] ABI class: X.Org XInput driver, version 24.1 [ 2722.879] rdpkeybPlug: [ 2722.879] rdpIdentify: [ 2722.879] (II) XRDPDEV: driver for xrdp: XRDPDEV [ 2722.879] rdpDriverFunc: op 10 [ 2722.879] (WW) Falling back to old probe method for XRDPDEV [ 2722.879] rdpProbe: [ 2722.879] (II) Loading sub module "fb" [ 2722.879] (II) LoadModule: "fb" [ 2722.879] (II) Loading /usr/lib64/xorg/modules/libfb.so [ 2722.879] (II) Module fb: vendor="X.Org Foundation" [ 2722.879] compiled for 1.20.14, module version = 1.0.0 [ 2722.879] ABI class: X.Org ANSI C Emulation, version 0.4 [ 2722.879] (II) XRDPDEV(0): using default device [ 2722.879] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 2722.879] rdpPreInit: [ 2722.879] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32 [ 2722.879] (==) XRDPDEV(0): RGB weight 888 [ 2722.879] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0) [ 2722.879] (==) XRDPDEV(0): Default visual is TrueColor [ 2722.879] (==) XRDPDEV(0): DPI set to (96, 96) [ 2722.879] (II) XRDPDEV(0): mode "640x480" ok [ 2722.879] (II) XRDPDEV(0): mode "800x600" ok [ 2722.879] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800) [ 2722.879] (**) XRDPDEV(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz [ 2722.879] (II) XRDPDEV(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d) [ 2722.879] rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24 [ 2722.879] rdpScreenInit: pfbMemory bytes 1920000 [ 2722.879] rdpScreenInit: pfbMemory 0x7fc63d914010 [ 2722.879] rdpSimdInit: assigning yuv functions [ 2722.879] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000706e5 bx 0x01100800 cx 0x7ffafbbf dx 0xbfebfbff [ 2722.879] rdpSimdInit: sse2 amd64 yuv functions assigned [ 2722.879] (==) XRDPDEV(0): Backing store enabled [ 2722.879] rdpClientConInit: disconnect idle session after [0] sec [ 2722.879] rdpClientConInit: kill disconnected [0] timeout [0] sec [ 2722.879] rdpXvInit: depth 24 [ 2722.879] rdpScreenInit: out [ 2722.879] (II) Initializing extension Generic Event Extension [ 2722.879] (II) Initializing extension SHAPE [ 2722.879] (II) Initializing extension MIT-SHM [ 2722.879] (II) Initializing extension XInputExtension [ 2722.879] (II) Initializing extension XTEST [ 2722.879] (II) Initializing extension BIG-REQUESTS [ 2722.879] (II) Initializing extension SYNC [ 2722.879] (II) Initializing extension XKEYBOARD [ 2722.879] (II) Initializing extension XC-MISC [ 2722.879] (II) Initializing extension SECURITY [ 2722.879] (II) Initializing extension XFIXES [ 2722.880] (II) Initializing extension RENDER [ 2722.880] (II) Initializing extension RANDR [ 2722.880] (II) Initializing extension COMPOSITE [ 2722.880] (II) Initializing extension DAMAGE [ 2722.880] (II) Initializing extension MIT-SCREEN-SAVER [ 2722.880] (II) Initializing extension DOUBLE-BUFFER [ 2722.880] (II) Initializing extension RECORD [ 2722.880] (II) Initializing extension DPMS [ 2722.880] (II) Initializing extension Present [ 2722.880] (II) Initializing extension DRI3 [ 2722.880] (II) Initializing extension X-Resource [ 2722.880] (II) Initializing extension XVideo [ 2722.880] (II) Initializing extension XVideo-MotionCompensation [ 2722.880] (II) Initializing extension GLX [ 2722.880] (II) AIGLX: Screen 0 is not DRI2 capable [ 2722.900] (II) IGLX: Loaded and initialized swrast [ 2722.900] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 2722.900] (II) Initializing extension XFree86-VidModeExtension [ 2722.900] (II) Initializing extension XFree86-DGA [ 2722.900] (II) Initializing extension XFree86-DRI [ 2722.900] (II) Initializing extension DRI2 [ 2722.900] rdpCreateScreenResources: [ 2722.910] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse' [ 2722.910] (**) Option "CorePointer" [ 2722.910] (**) xrdpMouse: always reports core events [ 2722.910] rdpmousePreInit: drv 0x55953e0c2dc0 info 0x55953e231360, flags 0x0 [ 2722.910] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6) [ 2722.910] rdpmouseControl: what 0 [ 2722.910] rdpmouseDeviceInit: [ 2722.910] rdpmouseCtrl: [ 2722.910] rdpRegisterInputCallback: type 1 proc 0x7fc63ede9380 [ 2722.910] (**) xrdpMouse: (accel) keeping acceleration scheme 1 [ 2722.910] (**) xrdpMouse: (accel) acceleration profile 0 [ 2722.910] (**) xrdpMouse: (accel) acceleration factor: 2.000 [ 2722.910] (**) xrdpMouse: (accel) acceleration threshold: 4 [ 2722.910] rdpmouseControl: what 1 [ 2722.910] rdpmouseDeviceOn: [ 2722.910] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard' [ 2722.910] (**) Option "CoreKeyboard" [ 2722.910] (**) xrdpKeyboard: always reports core events [ 2722.910] rdpkeybPreInit: drv 0x55953e0c2d70 info 0x55953e3a09a0, flags 0x0 [ 2722.910] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7) [ 2722.910] rdpkeybControl: what 0 [ 2722.910] rdpkeybDeviceInit: [ 2722.918] rdpkeybChangeKeyboardControl: [ 2722.918] rdpkeybChangeKeyboardControl: autoRepeat on [ 2722.918] rdpRegisterInputCallback: type 0 proc 0x7fc63de8aa10 [ 2722.918] rdpkeybControl: what 1 [ 2722.918] rdpkeybDeviceOn: [ 2722.924] (II) config/udev: Adding input device Power Button (/dev/input/event9) [ 2722.924] (II) AutoAddDevices is off - not adding device. [ 2722.925] (II) config/udev: Adding input device Video Bus (/dev/input/event5) [ 2722.925] (II) AutoAddDevices is off - not adding device. [ 2722.925] (II) config/udev: Adding input device Lid Switch (/dev/input/event7) [ 2722.925] (II) AutoAddDevices is off - not adding device. [ 2722.925] (II) config/udev: Adding input device Power Button (/dev/input/event8) [ 2722.925] (II) AutoAddDevices is off - not adding device. [ 2722.925] (II) config/udev: Adding drm device (/dev/dri/card0) [ 2722.925] (II) xfree86: Adding drm device (/dev/dri/card0) [ 2722.925] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted [ 2722.926] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied [ 2722.926] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event1) [ 2722.926] (II) AutoAddDevices is off - not adding device. [ 2722.926] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0) [ 2722.926] (II) AutoAddDevices is off - not adding device. [ 2722.927] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event2) [ 2722.927] (II) AutoAddDevices is off - not adding device. [ 2722.927] (II) config/udev: Adding input device Logitech USB Keyboard Consumer Control (/dev/input/event3) [ 2722.927] (II) AutoAddDevices is off - not adding device. [ 2722.927] (II) config/udev: Adding input device Logitech USB Keyboard System Control (/dev/input/event4) [ 2722.927] (II) AutoAddDevices is off - not adding device. [ 2722.928] (II) config/udev: Adding input device HP Webcam: HP Webcam (/dev/input/event10) [ 2722.928] (II) AutoAddDevices is off - not adding device. [ 2722.928] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event11) [ 2722.928] (II) AutoAddDevices is off - not adding device. [ 2722.928] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event12) [ 2722.928] (II) AutoAddDevices is off - not adding device. [ 2722.928] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event13) [ 2722.928] (II) AutoAddDevices is off - not adding device. [ 2722.928] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event14) [ 2722.928] (II) AutoAddDevices is off - not adding device. [ 2722.929] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event15) [ 2722.929] (II) AutoAddDevices is off - not adding device. [ 2722.929] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event16) [ 2722.929] (II) AutoAddDevices is off - not adding device. [ 2722.929] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event17) [ 2722.929] (II) AutoAddDevices is off - not adding device. [ 2722.929] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=11 (/dev/input/event18) [ 2722.929] (II) AutoAddDevices is off - not adding device. [ 2722.929] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=12 (/dev/input/event19) [ 2722.929] (II) AutoAddDevices is off - not adding device. [ 2722.930] (II) config/udev: Adding input device Synaptics TM3320-003 (/dev/input/event21) [ 2722.930] (II) AutoAddDevices is off - not adding device. [ 2722.930] (II) config/udev: Adding input device Synaptics TM3320-003 (/dev/input/mouse1) [ 2722.930] (II) AutoAddDevices is off - not adding device. [ 2722.930] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0) [ 2722.930] (II) AutoAddDevices is off - not adding device. [ 2722.930] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event20) [ 2722.930] (II) AutoAddDevices is off - not adding device. [ 2722.931] (II) config/udev: Adding input device Wireless hotkeys (/dev/input/event6) [ 2722.931] (II) AutoAddDevices is off - not adding device. [ 2722.933] rdpDeferredRandR: [ 2722.933] rdpResizeSession: width 1024 height 768 [ 2722.933] calling RRScreenSizeSet [ 2722.933] rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203 [ 2722.933] rdpRRGetInfo: [ 2722.933] screen resized to 1024x768 [ 2722.934] RRScreenSizeSet ok 1 [ 2722.934] rdpResizeSession: width 1232 height 966 [ 2722.934] calling RRScreenSizeSet [ 2722.934] rdpRRScreenSetSize: width 1232 height 966 mmWidth 326 mmHeight 256 [ 2722.934] rdpRRGetInfo: [ 2722.934] screen resized to 1232x966 [ 2722.935] RRScreenSizeSet ok 1 [ 2722.935] rdpClientConGotConnection: [ 2722.935] rdpClientConGotConnection: g_sck_accept ok new_sck 13 [ 2722.935] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off [ 2722.935] rdpAddClientConToDev: adding first clientCon 0x55953e407800 [ 2722.935] rdpClientConProcessMsgVersion: version 0 0 0 1 [ 2722.935] rdpClientConProcessScreenSizeMsg: set width 1232 height 966 bpp 32 [ 2722.935] rdpClientConProcessScreenSizeMsg: shmemid 16 shmemptr 0x7fc6304ea000 [ 2722.935] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1232 cy 966 [ 2722.935] KbdSync: toggling num lock [ 2722.935] rdpkeybChangeKeyboardControl: [ 2722.935] rdpkeybChangeKeyboardControl: autoRepeat on [ 2723.019] rdpInDeferredRepeatCallback: [ 2723.019] rdpkeybChangeKeyboardControl: [ 2723.019] rdpkeybChangeKeyboardControl: autoRepeat off [ 2723.035] rdpInDeferredRepeatCallback: [ 2723.035] rdpkeybChangeKeyboardControl: [ 2723.035] rdpkeybChangeKeyboardControl: autoRepeat off [ 2723.122] rdpClientConProcessMsgClientInfo: [ 2723.122] expected xrdp client_info version 20210225, got 20210723 [ 2723.122] (EE) Fatal server error: [ 2723.122] (EE) Incompatible xrdp version detected - please recompile(EE) [ 2723.122] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 2723.122] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information. [ 2723.122] (EE) [ 2723.122] rdpmouseControl: what 4 [ 2723.122] rdpkeybControl: what 4 [ 2723.122] rdpLeaveVT: [ 2723.124] (EE) Server terminated with error (1). Closing log file. ```
startwm.sh ``` #!/usr/bin/env bash source /usr/share/defaults/etc/profile exec openbox-session ```
J-W-C commented 1 year ago

In .xorgxrdp.10.log I see the xorgxrdp module complaining about the (apparently too new) xrdp version number.

[ 2723.122] expected xrdp client_info version 20210225, got 20210723 [ 2723.122] (EE) Incompatible xrdp version detected - please recompile(EE)

Maybe you also need to upgrade xorgxrdp?

AlexanderZhirov commented 1 year ago

Maybe you also need to upgrade xorgxrdp?

I'm trying to build a new version. What dependencies does he expect? Got a clue?

make[2]: выход из каталога «/home/alexander/repositories/git/xorgxrdp-0.9.19/xrdpdev»
Making all in xrdpkeyb
make[2]: вход в каталог «/home/alexander/repositories/git/xorgxrdp-0.9.19/xrdpkeyb»
  CC       rdpKeyboard.lo
In file included from /usr/include/xorg/xkbsrv.h:55,
                 from rdpKeyboard.c:47:
/usr/include/X11/extensions/XKBproto.h:679:41: error: expected ':', ',', ';', '}' or '__attribute__' before '_X_NONSTRING'
  679 |     CARD8       name[XkbKeyNameLength]  _X_NONSTRING;
      |                                         ^~~~~~~~~~~~
/usr/include/X11/extensions/XKBproto.h:702:41: error: expected ':', ',', ';', '}' or '__attribute__' before '_X_NONSTRING'
  702 |    CARD8        over[XkbKeyNameLength]  _X_NONSTRING;
      |                                         ^~~~~~~~~~~~
make[2]: *** [Makefile:466: rdpKeyboard.lo] Ошибка 1
make[2]: выход из каталога «/home/alexander/repositories/git/xorgxrdp-0.9.19/xrdpkeyb»
make[1]: *** [Makefile:436: all-recursive] Ошибка 1
make[1]: выход из каталога «/home/alexander/repositories/git/xorgxrdp-0.9.19»
make: *** [Makefile:368: all] Ошибка 2
AlexanderZhirov commented 1 year ago

Maybe you also need to upgrade xorgxrdp?

Yes, you were right, updating the xorgxrdp package to the latest version solved my problem. Thanks!