neutrinolabs / xorgxrdp

Xorg drivers for xrdp
Other
428 stars 108 forks source link

Stuck in blue screen with "connection problem, giving up" #262

Closed KatyushaScarlet closed 1 year ago

KatyushaScarlet commented 1 year ago

Status

Login with Xorg option, screen stuck in blue screen for a long time and finally show "connection problem, giving up"

System

Loongnix 20.4 (A Debian 10-based distribution)

Version

xorgxrdp: v0.9.19 xrdp: v0.9.19 xorg: v1:7.7+19.1

xrdp 0.9.19
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:

  Compiled with OpenSSL 1.1.1d  10 Sep 2019

Screenshot

20230612194846

Log

xrdp.log

[20230612-19:44:40] [INFO ] Socket 12: AF_INET connection received from 192.168.248.1 port 38866
[20230612-19:44:40] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230612-19:44:40] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230612-19:44:40] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[20230612-19:44:41] [INFO ] Socket 12: AF_INET connection received from 192.168.248.1 port 38880
[20230612-19:44:41] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230612-19:44:41] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230612-19:44:41] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[20230612-19:44:41] [INFO ] Connected client computer name: KATYUSHA-PC
[20230612-19:44:41] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20230612-19:44:41] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20230612-19:44:41] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x07], keyboard_subtype:[0x00], keylayout:[0x00000409]
[20230612-19:44:41] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
[20230612-19:44:41] [INFO ] TLS connection established from 192.168.248.1 port 38880: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384
[20230612-19:44:42] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20230612-19:44:42] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
[20230612-19:44:42] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20230612-19:44:42] [WARN ] xrdp_caps_process_codecs: unknown codec id 5
[20230612-19:44:42] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49
[20230612-19:44:42] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20230612-19:44:42] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20230612-19:44:50] [INFO ] connecting to sesman on 127.0.0.1:3350
[20230612-19:44:50] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230612-19:44:50] [INFO ] sesman connect ok
[20230612-19:44:50] [INFO ] sending login info to session manager. Please wait...
[20230612-19:44:50] [INFO ] xrdp_wm_log_msg: login successful for user katyusha on display 10
[20230612-19:44:50] [INFO ] login successful for user katyusha on display 10
[20230612-19:44:50] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20230612-19:44:50] [INFO ] started connecting
[20230612-19:44:50] [INFO ] lib_mod_connect: connecting via UNIX socket
[20230612-19:48:20] [INFO ] connection problem, giving up
[20230612-19:48:20] [INFO ] some problem
[20230612-19:48:20] [ERROR] xrdp_wm_log_msg: Error connecting to user session
[20230612-19:48:20] [INFO ] Error connecting to user session
[20230612-19:49:07] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[20230612-19:49:07] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[20230612-19:49:07] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[20230612-19:49:07] [ERROR] xrdp_process_data_in: xrdp_process_loop failed

xrdp-sesman.log

[20230612-19:44:50] [INFO ] Socket 12: AF_INET connection received from 127.0.0.1 port 34754
[20230612-19:44:50] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20230612-19:44:50] [INFO ] ++ created session (access granted): username katyusha, ip 192.168.248.1:38880 - socket: 12
[20230612-19:44:50] [INFO ] starting Xorg session...
[20230612-19:44:50] [INFO ] Starting session: session_pid 5654, display :10.0, width 1920, height 1080, bpp 24, client ip 192.168.248.1:38880 - socket: 12, user name katyusha
[20230612-19:44:50] [INFO ] [session start] (display 10): calling auth_start_session from pid 5654
[20230612-19:44:50] [ERROR] sesman_data_in: scp_process_msg failed
[20230612-19:44:50] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20230612-19:44:50] [INFO ] Starting X server on display 10: Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log  
[20230612-19:45:00] [WARN ] Timed out waiting for X server on display 10 to startup
[20230612-19:45:00] [INFO ] Session started successfully for user katyusha on display 10
[20230612-19:45:00] [INFO ] Starting the xrdp channel server for display 10
[20230612-19:45:00] [INFO ] Session in progress on display 10, waiting until the window manager (pid 5655) exits to end the session
[20230612-19:45:00] [WARN ] Timed out waiting for X server on display 10 to startup
[20230612-19:45:00] [ERROR] There is no X server active on display 10
[20230612-19:45:00] [ERROR] A fatal error has occured attempting to start the window manager on display 10, aborting connection
[20230612-19:45:00] [WARN ] Window manager (pid 5655, display 10) exited quickly (0 secs). This could indicate a window manager config problem
[20230612-19:45:00] [INFO ] Calling auth_stop_session and auth_end from pid 5654
[20230612-19:45:00] [INFO ] Terminating X server (pid 5656) on display 10
[20230612-19:45:00] [INFO ] Terminating the xrdp channel server (pid 5669) on display 10
[20230612-19:45:00] [INFO ] X server on display 10 (pid 5656) returned exit code 1 and signal number 0
[20230612-19:45:00] [INFO ] xrdp channel server for display 10 (pid 5669) exit code 0 and signal number 0
[20230612-19:45:00] [INFO ] cleanup_sockets:
[20230612-19:45:00] [INFO ] Process 5654 has exited
[20230612-19:45:00] [INFO ] ++ terminated session:  username katyusha, display :10.0, session_pid 5654, ip 192.168.248.1:38880 - socket: 12
KatyushaScarlet commented 1 year ago

Another question: Can I use xrdp v0.9.21 with xorgxrdp v0.9.19 ?

matt335672 commented 1 year ago

Hi @KatyushaScarlet

What are the contents of /home/katyusha/.xorgxrdp.10.log?

Yes you can use xrdp 0.9.21 with xorgxrdp 0.9.19

KatyushaScarlet commented 1 year ago

/home/katyusha/.xorgxrdp.10.log

Thank you for your reply. @matt335672 Here's the content of /home/katyusha/.xorgxrdp.10.log:

[ 43974.141] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 43974.141] Build Operating System: Linux 4.19.0-17-loongson-3 loongarch64 Loongnix
[ 43974.141] Current Operating System: Linux Katyusha-Laptop 4.19.190 #2 SMP Sun Jun 11 23:04:14 CST 2023 loongarch64
[ 43974.141] Kernel command line:  root=/dev/nvme0n1p3 ro quiet splash resume=PARTUUID=27c5d031-eb7f-423f-aa5c-2888918c163e vfio_iommu_type1.allow_unsafe_interrupts=1 nokaslr
[ 43974.141] Build Date: 07 April 2023  02:17:18AM
[ 43974.141] xorg-server 3:1.20.4-1.lnd.7 (https://www.debian.org/support) 
[ 43974.141] Current version of pixman: 0.36.0
[ 43974.141]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[ 43974.141] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 43974.141] (++) Log file: ".xorgxrdp.10.log", Time: Mon Jun 12 12:14:50 2023
[ 43974.141] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[ 43974.141] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 43974.141] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 43974.142] (==) ServerLayout "X11 Server"
[ 43974.142] (**) |-->Screen "Screen (xrdpdev)" (0)
[ 43974.142] (**) |   |-->Monitor "Monitor"
[ 43974.142] (**) |   |-->Device "Video Card (xrdpdev)"
[ 43974.142] (**) |-->Input Device "xrdpMouse"
[ 43974.142] (**) |-->Input Device "xrdpKeyboard"
[ 43974.142] (**) Option "DontVTSwitch" "on"
[ 43974.142] (**) Option "AutoAddDevices" "off"
[ 43974.142] (**) Not automatically adding devices
[ 43974.142] (==) Automatically enabling devices
[ 43974.142] (==) Automatically adding GPU devices
[ 43974.142] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 43974.142] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 43974.142]    Entry deleted from font path.
[ 43974.142] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
[ 43974.142] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 43974.142] (II) Loader magic: 0xaaae118000
[ 43974.142] (II) Module ABI versions:
[ 43974.142]    X.Org ANSI C Emulation: 0.4
[ 43974.142]    X.Org Video Driver: 24.0
[ 43974.142]    X.Org XInput driver : 24.1
[ 43974.142]    X.Org Server Extension : 10.0
[ 43974.145] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c3
[ 43974.145] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 43974.145] (II) Platform probe for /sys/devices/pci0000:00/0000:00:13.0/0000:06:00.0/drm/card0
[ 43974.145] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[ 43974.149] (--) PCI:*(6@0:0:0) 1002:6611:1028:1002 rev 135, Mem @ 0xe0020000000/268435456, 0xe0031500000/262144, I/O @ 0x00006000/256, BIOS @ 0x????????/131072
[ 43974.149] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 43974.149] (II) LoadModule: "dbe"
[ 43974.149] (II) Module "dbe" already built-in
[ 43974.149] (II) LoadModule: "ddc"
[ 43974.149] (II) Module "ddc" already built-in
[ 43974.149] (II) LoadModule: "extmod"
[ 43974.149] (II) Module "extmod" already built-in
[ 43974.149] (II) LoadModule: "glx"
[ 43974.150] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 43974.151] (II) Module glx: vendor="X.Org Foundation"
[ 43974.151]    compiled for 1.20.4, module version = 1.0.0
[ 43974.151]    ABI class: X.Org Server Extension, version 10.0
[ 43974.151] (II) LoadModule: "int10"
[ 43974.151] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 43974.151] (II) Module int10: vendor="X.Org Foundation"
[ 43974.152]    compiled for 1.20.4, module version = 1.0.0
[ 43974.152]    ABI class: X.Org Video Driver, version 24.0
[ 43974.152] (II) LoadModule: "record"
[ 43974.152] (II) Module "record" already built-in
[ 43974.152] (II) LoadModule: "vbe"
[ 43974.152] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 43974.152] (II) Module vbe: vendor="X.Org Foundation"
[ 43974.152]    compiled for 1.20.4, module version = 1.1.0
[ 43974.152]    ABI class: X.Org Video Driver, version 24.0
[ 43974.152] (II) LoadModule: "xorgxrdp"
[ 43974.152] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[ 43974.153] (II) Module XORGXRDP: vendor="X.Org Foundation"
[ 43974.153]    compiled for 1.20.4, module version = 0.2.9
[ 43974.153]    ABI class: X.Org Video Driver, version 24.0
[ 43974.153] xorgxrdpSetup:
[ 43974.153] (II) LoadModule: "fb"
[ 43974.153] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 43974.153] (II) Module fb: vendor="X.Org Foundation"
[ 43974.153]    compiled for 1.20.4, module version = 1.0.0
[ 43974.153]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 43974.153] (II) LoadModule: "xrdpdev"
[ 43974.153] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[ 43974.154] (II) Module XRDPDEV: vendor="X.Org Foundation"
[ 43974.154]    compiled for 1.20.4, module version = 0.2.9
[ 43974.154]    ABI class: X.Org Video Driver, version 24.0
[ 43974.154] xrdpdevSetup:
[ 43974.154] (II) LoadModule: "xrdpmouse"
[ 43974.154] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[ 43974.154] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[ 43974.154]    compiled for 1.20.4, module version = 0.2.9
[ 43974.154]    Module class: X.Org XInput Driver
[ 43974.154]    ABI class: X.Org XInput driver, version 24.1
[ 43974.154] rdpmousePlug:
[ 43974.154] (II) LoadModule: "xrdpkeyb"
[ 43974.154] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[ 43974.155] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[ 43974.155]    compiled for 1.20.4, module version = 0.2.9
[ 43974.155]    Module class: X.Org XInput Driver
[ 43974.155]    ABI class: X.Org XInput driver, version 24.1
[ 43974.155] rdpkeybPlug:
[ 43974.155] rdpIdentify:
[ 43974.155] (II) XRDPDEV: driver for xrdp: XRDPDEV
[ 43974.155] rdpDriverFunc: op 10
[ 43974.155] (WW) Falling back to old probe method for XRDPDEV
[ 43974.155] rdpProbe:
[ 43974.155] (II) Loading sub module "fb"
[ 43974.155] (II) LoadModule: "fb"
[ 43974.155] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 43974.155] (II) Module fb: vendor="X.Org Foundation"
[ 43974.155]    compiled for 1.20.4, module version = 1.0.0
[ 43974.155]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 43974.155] (II) XRDPDEV(0): using default device
[ 43974.155] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 43974.155] rdpPreInit:
[ 43974.155] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[ 43974.155] (==) XRDPDEV(0): RGB weight 888
[ 43974.155] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 43974.155] (==) XRDPDEV(0): Default visual is TrueColor
[ 43974.155] (==) XRDPDEV(0): DPI set to (96, 96)
[ 43974.155] (II) XRDPDEV(0):   mode "640x480" ok
[ 43974.155] (II) XRDPDEV(0):   mode "800x600" ok
[ 43974.155] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[ 43974.155] (**) XRDPDEV(0):  Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[ 43974.155] (II) XRDPDEV(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 43974.155] rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
[ 43974.155] rdpScreenInit: pfbMemory bytes 1920000
[ 43974.155] rdpScreenInit: pfbMemory 0xfff6e04010
[ 43974.155] rdpSimdInit: assigning yuv functions
[ 43974.155] rdpXvInit: depth 24
[ 43974.155] (==) XRDPDEV(0): Backing store enabled
[ 43974.155] rdpClientConInit: disconnect idle session after [0] sec
[ 43974.155] rdpClientConInit: kill disconnected [0] timeout [0] sec
[ 43974.155] rdpScreenInit: out
[ 43974.155] (II) Initializing extension Generic Event Extension
[ 43974.156] (II) Initializing extension SHAPE
[ 43974.156] (II) Initializing extension MIT-SHM
[ 43974.156] (II) Initializing extension XInputExtension
[ 43974.156] (II) Initializing extension XTEST
[ 43974.156] (II) Initializing extension BIG-REQUESTS
[ 43974.157] (II) Initializing extension SYNC
[ 43974.157] (II) Initializing extension XKEYBOARD
[ 43974.157] (II) Initializing extension XC-MISC
[ 43974.157] (II) Initializing extension SECURITY
[ 43974.157] (II) Initializing extension XFIXES
[ 43974.158] (II) Initializing extension RENDER
[ 43974.158] (II) Initializing extension RANDR
[ 43974.158] (II) Initializing extension COMPOSITE
[ 43974.158] (II) Initializing extension DAMAGE
[ 43974.158] (II) Initializing extension MIT-SCREEN-SAVER
[ 43974.159] (II) Initializing extension DOUBLE-BUFFER
[ 43974.159] (II) Initializing extension RECORD
[ 43974.159] (II) Initializing extension DPMS
[ 43974.159] (II) Initializing extension Present
[ 43974.159] (II) Initializing extension DRI3
[ 43974.159] (II) Initializing extension X-Resource
[ 43974.159] (II) Initializing extension XVideo
[ 43974.160] (II) Initializing extension XVideo-MotionCompensation
[ 43974.160] (II) Initializing extension SELinux
[ 43974.160] (II) SELinux: Disabled on system
[ 43974.160] (II) Initializing extension GLX
[ 43974.160] (II) AIGLX: Screen 0 is not DRI2 capable
[ 43974.193] (II) IGLX: Loaded and initialized swrast
[ 43974.193] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 43974.193] (II) Initializing extension XFree86-VidModeExtension
[ 43974.194] (II) Initializing extension XFree86-DGA
[ 43974.194] (II) Initializing extension XFree86-DRI
[ 43974.194] (II) Initializing extension DRI2
[ 43974.233] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[ 43974.233] (**) Option "CorePointer"
[ 43974.233] (**) xrdpMouse: always reports core events
[ 43974.233] rdpmousePreInit: drv 0xaab484dbc0 info 0xaab4a68b70, flags 0x0
[ 43974.233] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[ 43974.233] rdpmouseControl: what 0
[ 43974.233] rdpmouseDeviceInit:
[ 43974.233] rdpmouseCtrl:
[ 43974.233] rdpRegisterInputCallback: type 1 proc 0xfff6fe8e30
[ 43974.233] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[ 43974.233] (**) xrdpMouse: (accel) acceleration profile 0
[ 43974.233] (**) xrdpMouse: (accel) acceleration factor: 2.000
[ 43974.233] (**) xrdpMouse: (accel) acceleration threshold: 4
[ 43974.233] rdpmouseControl: what 1
[ 43974.233] rdpmouseDeviceOn:
[ 43974.233] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[ 43974.233] (**) Option "CoreKeyboard"
[ 43974.233] (**) xrdpKeyboard: always reports core events
[ 43974.233] rdpkeybPreInit: drv 0xaab484c640 info 0xaab4bd9720, flags 0x0
[ 43974.233] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[ 43974.233] rdpkeybControl: what 0
[ 43974.233] rdpkeybDeviceInit:
[ 43974.251] rdpkeybChangeKeyboardControl:
[ 43974.251] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43974.251] rdpRegisterInputCallback: type 0 proc 0xfff6fdd694
[ 43974.251] rdpkeybControl: what 1
[ 43974.251] rdpkeybDeviceOn:
[ 43974.265] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 43974.265] (II) AutoAddDevices is off - not adding device.
[ 43974.266] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event6)
[ 43974.266] (II) AutoAddDevices is off - not adding device.
[ 43974.266] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[ 43974.266] (II) AutoAddDevices is off - not adding device.
[ 43974.267] (II) config/udev: Adding input device Logitech USB Receiver Consumer Control (/dev/input/event8)
[ 43974.267] (II) AutoAddDevices is off - not adding device.
[ 43974.268] (II) config/udev: Adding input device Logitech USB Receiver System Control (/dev/input/event9)
[ 43974.268] (II) AutoAddDevices is off - not adding device.
[ 43974.269] (II) config/udev: Adding input device Logitech USB Receiver Keyboard (/dev/input/event7)
[ 43974.269] (II) AutoAddDevices is off - not adding device.
[ 43974.269] (II) config/udev: Adding input device USB 2.0 Camera: USB Camera (/dev/input/event10)
[ 43974.269] (II) AutoAddDevices is off - not adding device.
[ 43974.270] (II) config/udev: Adding input device HDA Loongson Mic (/dev/input/event4)
[ 43974.270] (II) AutoAddDevices is off - not adding device.
[ 43974.270] (II) config/udev: Adding input device HDA Loongson Front Headphone (/dev/input/event5)
[ 43974.270] (II) AutoAddDevices is off - not adding device.
[ 43974.271] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=3 (/dev/input/event3)
[ 43974.271] (II) AutoAddDevices is off - not adding device.
[ 43974.271] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event1)
[ 43974.271] (II) AutoAddDevices is off - not adding device.
[ 43974.272] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event11)
[ 43974.272] (II) AutoAddDevices is off - not adding device.
[ 43974.272] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse1)
[ 43974.272] (II) AutoAddDevices is off - not adding device.
[ 43974.275] (II) config/udev: Adding input device Loongson Generic Laptop/All-in-one Extra Buttons (/dev/input/event0)
[ 43974.275] (II) AutoAddDevices is off - not adding device.
[ 43974.280] rdpSaveScreen:
[ 43974.280] rdpDeferredRandR:
[ 43974.280] rdpResizeSession: width 1024 height 768
[ 43974.280]   calling RRScreenSizeSet
[ 43974.280] rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
[ 43974.280] rdpRRGetInfo:
[ 43974.280]   screen resized to 1024x768
[ 43974.281]   RRScreenSizeSet ok 1
[ 43974.281] rdpResizeSession: width 1920 height 1080
[ 43974.281]   calling RRScreenSizeSet
[ 43974.281] rdpRRScreenSetSize: width 1920 height 1080 mmWidth 508 mmHeight 286
[ 43974.281] rdpRRGetInfo:
[ 43974.281]   screen resized to 1920x1080
[ 43974.282]   RRScreenSizeSet ok 1
[ 43974.351] rdpInDeferredRepeatCallback:
[ 43974.351] rdpkeybChangeKeyboardControl:
[ 43974.351] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43974.531] rdpRRGetInfo:
[ 43974.545] rdpRRGetInfo:
[ 43974.596] rdpClientConGotConnection:
[ 43974.596] rdpClientConGotConnection: g_sck_accept ok new_sck 18
[ 43974.596] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[ 43974.596] rdpAddClientConToDev: adding first clientCon 0xaab4c37620
[ 43974.597] rdpClientConProcessMsgVersion: version 0 0 0 1
[ 43974.597] rdpClientConProcessScreenSizeMsg: set width 1920 height 1080 bpp 32
[ 43974.597] rdpClientConProcessScreenSizeMsg: shmemid 262147 shmemptr 0xffea824000
[ 43974.597] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 1080
[ 43974.598] KbdSync: toggling num lock
[ 43974.598] rdpkeybChangeKeyboardControl:
[ 43974.598] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43974.598] rdpClientConProcessMsgClientInfo:
[ 43974.598]   got client info bytes 5752
[ 43974.598]   jpeg support 0
[ 43974.598]   offscreen support 1
[ 43974.598]   offscreen size 10485760
[ 43974.598]   offscreen entries 100
[ 43974.598]   client can not do offscreen to offscreen blits
[ 43974.598]   client can do new(color) cursor
[ 43974.598]   client can not do multimon
[ 43974.598] rdpRRSetRdpOutputs: numCrtcs 0 monitorCount 0
[ 43974.598] rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1920 height 1080
[ 43974.598] rdpLoadLayout: keylayout 0x00000804 variant  display 10
[ 43974.599] rdpkeybChangeKeyboardControl:
[ 43974.599] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43974.599] rdpkeybChangeKeyboardControl:
[ 43974.599] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43974.699] rdpInDeferredRepeatCallback:
[ 43974.699] rdpkeybChangeKeyboardControl:
[ 43974.699] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43974.699] rdpInDeferredRepeatCallback:
[ 43974.699] rdpkeybChangeKeyboardControl:
[ 43974.699] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43974.856] rdpRRGetInfo:
[ 43974.856] rdpRRCrtcGetGamma: 0xaab4c34320 0xaab4c36b00 0xaab4c36f00 0xaab4c36d00
[ 43974.856] rdpRRGetInfo:
[ 43974.856] rdpRRCrtcGetGamma: 0xaab4c34320 0xaab4c36b00 0xaab4c36f00 0xaab4c36d00
[ 43974.857] rdpRRGetInfo:
[ 43974.857] rdpRRCrtcGetGamma: 0xaab4c34320 0xaab4c36b00 0xaab4c36f00 0xaab4c36d00
[ 43974.873] rdpRRGetInfo:
[ 43974.874] rdpRRCrtcGetGamma: 0xaab4c34320 0xaab4c36b00 0xaab4c36f00 0xaab4c36d00
[ 43975.046] rdpkeybChangeKeyboardControl:
[ 43975.046] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.046] rdpkeybChangeKeyboardControl:
[ 43975.047] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.106] rdpkeybChangeKeyboardControl:
[ 43975.106] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.106] rdpkeybChangeKeyboardControl:
[ 43975.106] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.106] rdpkeybChangeKeyboardControl:
[ 43975.106] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.106] rdpkeybChangeKeyboardControl:
[ 43975.106] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.106] rdpkeybChangeKeyboardControl:
[ 43975.106] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.106] rdpkeybChangeKeyboardControl:
[ 43975.106] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.124] rdpkeybChangeKeyboardControl:
[ 43975.124] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.124] rdpkeybChangeKeyboardControl:
[ 43975.124] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.124] rdpkeybChangeKeyboardControl:
[ 43975.124] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.124] rdpkeybChangeKeyboardControl:
[ 43975.124] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.124] rdpkeybChangeKeyboardControl:
[ 43975.124] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.124] rdpkeybChangeKeyboardControl:
[ 43975.124] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.126] rdpmouseCtrl:
[ 43975.131] rdpkeybChangeKeyboardControl:
[ 43975.131] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.131] rdpkeybChangeKeyboardControl:
[ 43975.131] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.206] rdpInDeferredRepeatCallback:
[ 43975.206] rdpkeybChangeKeyboardControl:
[ 43975.206] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.206] rdpInDeferredRepeatCallback:
[ 43975.206] rdpkeybChangeKeyboardControl:
[ 43975.206] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.206] rdpInDeferredRepeatCallback:
[ 43975.206] rdpkeybChangeKeyboardControl:
[ 43975.206] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.206] rdpInDeferredRepeatCallback:
[ 43975.206] rdpkeybChangeKeyboardControl:
[ 43975.206] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.206] rdpInDeferredRepeatCallback:
[ 43975.206] rdpkeybChangeKeyboardControl:
[ 43975.206] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.206] rdpInDeferredRepeatCallback:
[ 43975.206] rdpkeybChangeKeyboardControl:
[ 43975.207] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.224] rdpInDeferredRepeatCallback:
[ 43975.224] rdpkeybChangeKeyboardControl:
[ 43975.224] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.224] rdpInDeferredRepeatCallback:
[ 43975.224] rdpkeybChangeKeyboardControl:
[ 43975.224] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.224] rdpInDeferredRepeatCallback:
[ 43975.224] rdpkeybChangeKeyboardControl:
[ 43975.224] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.224] rdpInDeferredRepeatCallback:
[ 43975.224] rdpkeybChangeKeyboardControl:
[ 43975.224] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.224] rdpInDeferredRepeatCallback:
[ 43975.224] rdpkeybChangeKeyboardControl:
[ 43975.224] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.224] rdpInDeferredRepeatCallback:
[ 43975.224] rdpkeybChangeKeyboardControl:
[ 43975.224] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.231] rdpInDeferredRepeatCallback:
[ 43975.231] rdpkeybChangeKeyboardControl:
[ 43975.231] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.231] rdpInDeferredRepeatCallback:
[ 43975.231] rdpkeybChangeKeyboardControl:
[ 43975.231] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.254] rdpkeybChangeKeyboardControl:
[ 43975.254] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.254] rdpkeybChangeKeyboardControl:
[ 43975.254] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.254] rdpkeybChangeKeyboardControl:
[ 43975.254] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.254] rdpkeybChangeKeyboardControl:
[ 43975.254] rdpkeybChangeKeyboardControl: autoRepeat on
[ 43975.354] rdpInDeferredRepeatCallback:
[ 43975.354] rdpkeybChangeKeyboardControl:
[ 43975.354] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.354] rdpInDeferredRepeatCallback:
[ 43975.354] rdpkeybChangeKeyboardControl:
[ 43975.354] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.354] rdpInDeferredRepeatCallback:
[ 43975.354] rdpkeybChangeKeyboardControl:
[ 43975.354] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.354] rdpInDeferredRepeatCallback:
[ 43975.354] rdpkeybChangeKeyboardControl:
[ 43975.354] rdpkeybChangeKeyboardControl: autoRepeat off
[ 43975.822] rdpRRGetInfo:
[ 43975.822] rdpRRCrtcGetGamma: 0xaab4c34320 0xaab4c36b00 0xaab4c36f00 0xaab4c36d00
[ 44094.599] rdpkeybChangeKeyboardControl:
[ 44094.599] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44094.600] rdpkeybChangeKeyboardControl:
[ 44094.600] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44465.207] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1919 cy 1079
[ 44515.093] rdpkeybChangeKeyboardControl:
[ 44515.093] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.094] rdpkeybChangeKeyboardControl:
[ 44515.094] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.094] rdpkeybChangeKeyboardControl:
[ 44515.094] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44515.094] rdpkeybChangeKeyboardControl:
[ 44515.094] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44515.094] rdpkeybChangeKeyboardControl:
[ 44515.094] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44515.094] rdpkeybChangeKeyboardControl:
[ 44515.094] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44515.194] rdpInDeferredRepeatCallback:
[ 44515.194] rdpkeybChangeKeyboardControl:
[ 44515.194] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.194] rdpInDeferredRepeatCallback:
[ 44515.194] rdpkeybChangeKeyboardControl:
[ 44515.194] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.194] rdpInDeferredRepeatCallback:
[ 44515.194] rdpkeybChangeKeyboardControl:
[ 44515.194] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.194] rdpInDeferredRepeatCallback:
[ 44515.194] rdpkeybChangeKeyboardControl:
[ 44515.194] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.396] rdpkeybChangeKeyboardControl:
[ 44515.396] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.397] rdpkeybChangeKeyboardControl:
[ 44515.397] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.398] rdpkeybChangeKeyboardControl:
[ 44515.398] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44515.398] rdpkeybChangeKeyboardControl:
[ 44515.398] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44515.398] rdpkeybChangeKeyboardControl:
[ 44515.398] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44515.398] rdpkeybChangeKeyboardControl:
[ 44515.398] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44515.498] rdpInDeferredRepeatCallback:
[ 44515.498] rdpkeybChangeKeyboardControl:
[ 44515.498] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.498] rdpInDeferredRepeatCallback:
[ 44515.498] rdpkeybChangeKeyboardControl:
[ 44515.498] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.498] rdpInDeferredRepeatCallback:
[ 44515.498] rdpkeybChangeKeyboardControl:
[ 44515.498] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44515.498] rdpInDeferredRepeatCallback:
[ 44515.498] rdpkeybChangeKeyboardControl:
[ 44515.498] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44516.639] rdpkeybChangeKeyboardControl:
[ 44516.640] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44516.640] rdpkeybChangeKeyboardControl:
[ 44516.640] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44516.640] rdpkeybChangeKeyboardControl:
[ 44516.640] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44516.640] rdpkeybChangeKeyboardControl:
[ 44516.640] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44516.640] rdpkeybChangeKeyboardControl:
[ 44516.641] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44516.641] rdpkeybChangeKeyboardControl:
[ 44516.641] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44516.740] rdpInDeferredRepeatCallback:
[ 44516.740] rdpkeybChangeKeyboardControl:
[ 44516.740] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44516.740] rdpInDeferredRepeatCallback:
[ 44516.740] rdpkeybChangeKeyboardControl:
[ 44516.740] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44516.741] rdpInDeferredRepeatCallback:
[ 44516.741] rdpkeybChangeKeyboardControl:
[ 44516.741] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44516.741] rdpInDeferredRepeatCallback:
[ 44516.741] rdpkeybChangeKeyboardControl:
[ 44516.741] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44517.053] rdpkeybChangeKeyboardControl:
[ 44517.053] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44517.054] rdpkeybChangeKeyboardControl:
[ 44517.054] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44517.054] rdpkeybChangeKeyboardControl:
[ 44517.054] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44517.054] rdpkeybChangeKeyboardControl:
[ 44517.054] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44517.054] rdpkeybChangeKeyboardControl:
[ 44517.054] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44517.054] rdpkeybChangeKeyboardControl:
[ 44517.054] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44517.154] rdpInDeferredRepeatCallback:
[ 44517.154] rdpkeybChangeKeyboardControl:
[ 44517.154] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44517.154] rdpInDeferredRepeatCallback:
[ 44517.154] rdpkeybChangeKeyboardControl:
[ 44517.154] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44517.154] rdpInDeferredRepeatCallback:
[ 44517.154] rdpkeybChangeKeyboardControl:
[ 44517.154] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44517.154] rdpInDeferredRepeatCallback:
[ 44517.154] rdpkeybChangeKeyboardControl:
[ 44517.154] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.201] rdpkeybChangeKeyboardControl:
[ 44520.201] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.202] rdpkeybChangeKeyboardControl:
[ 44520.202] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.202] rdpkeybChangeKeyboardControl:
[ 44520.202] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44520.202] rdpkeybChangeKeyboardControl:
[ 44520.202] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44520.202] rdpkeybChangeKeyboardControl:
[ 44520.202] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44520.202] rdpkeybChangeKeyboardControl:
[ 44520.202] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44520.302] rdpInDeferredRepeatCallback:
[ 44520.303] rdpkeybChangeKeyboardControl:
[ 44520.303] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.303] rdpInDeferredRepeatCallback:
[ 44520.303] rdpkeybChangeKeyboardControl:
[ 44520.303] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.303] rdpInDeferredRepeatCallback:
[ 44520.303] rdpkeybChangeKeyboardControl:
[ 44520.303] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.303] rdpInDeferredRepeatCallback:
[ 44520.303] rdpkeybChangeKeyboardControl:
[ 44520.303] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.432] rdpkeybChangeKeyboardControl:
[ 44520.432] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.433] rdpkeybChangeKeyboardControl:
[ 44520.433] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.434] rdpkeybChangeKeyboardControl:
[ 44520.434] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44520.434] rdpkeybChangeKeyboardControl:
[ 44520.434] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44520.434] rdpkeybChangeKeyboardControl:
[ 44520.434] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44520.434] rdpkeybChangeKeyboardControl:
[ 44520.434] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44520.534] rdpInDeferredRepeatCallback:
[ 44520.534] rdpkeybChangeKeyboardControl:
[ 44520.534] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.534] rdpInDeferredRepeatCallback:
[ 44520.534] rdpkeybChangeKeyboardControl:
[ 44520.534] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.534] rdpInDeferredRepeatCallback:
[ 44520.534] rdpkeybChangeKeyboardControl:
[ 44520.534] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44520.534] rdpInDeferredRepeatCallback:
[ 44520.534] rdpkeybChangeKeyboardControl:
[ 44520.534] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.231] rdpkeybChangeKeyboardControl:
[ 44522.231] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.232] rdpkeybChangeKeyboardControl:
[ 44522.232] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.232] rdpkeybChangeKeyboardControl:
[ 44522.232] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44522.232] rdpkeybChangeKeyboardControl:
[ 44522.232] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44522.232] rdpkeybChangeKeyboardControl:
[ 44522.232] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44522.232] rdpkeybChangeKeyboardControl:
[ 44522.232] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44522.332] rdpInDeferredRepeatCallback:
[ 44522.332] rdpkeybChangeKeyboardControl:
[ 44522.332] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.332] rdpInDeferredRepeatCallback:
[ 44522.332] rdpkeybChangeKeyboardControl:
[ 44522.332] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.332] rdpInDeferredRepeatCallback:
[ 44522.332] rdpkeybChangeKeyboardControl:
[ 44522.332] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.332] rdpInDeferredRepeatCallback:
[ 44522.332] rdpkeybChangeKeyboardControl:
[ 44522.332] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.477] rdpkeybChangeKeyboardControl:
[ 44522.477] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.478] rdpkeybChangeKeyboardControl:
[ 44522.478] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.478] rdpkeybChangeKeyboardControl:
[ 44522.480] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44522.480] rdpkeybChangeKeyboardControl:
[ 44522.480] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44522.480] rdpkeybChangeKeyboardControl:
[ 44522.480] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44522.480] rdpkeybChangeKeyboardControl:
[ 44522.480] rdpkeybChangeKeyboardControl: autoRepeat on
[ 44522.580] rdpInDeferredRepeatCallback:
[ 44522.580] rdpkeybChangeKeyboardControl:
[ 44522.580] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.580] rdpInDeferredRepeatCallback:
[ 44522.580] rdpkeybChangeKeyboardControl:
[ 44522.580] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.580] rdpInDeferredRepeatCallback:
[ 44522.580] rdpkeybChangeKeyboardControl:
[ 44522.580] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44522.580] rdpInDeferredRepeatCallback:
[ 44522.580] rdpkeybChangeKeyboardControl:
[ 44522.580] rdpkeybChangeKeyboardControl: autoRepeat off
[ 44523.852] rdpRRGetInfo:
[ 44724.072] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1919 cy 1079
[ 44775.374] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1919 cy 1079
[ 44817.677] rdpRRGetInfo:
[ 44817.700] rdpRRGetInfo:
[ 44817.700] rdpRRCrtcGetGamma: 0xaab4c34320 0xaab4c36b00 0xaab4c36f00 0xaab4c36d00
[ 44817.700] rdpRRCrtcGetGamma: 0xaab4c34320 0xaab4c36b00 0xaab4c36f00 0xaab4c36d00
[ 45065.056] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1919 cy 1079
[ 45082.887] rdpRRCrtcGetGamma: 0xaab4c34320 0xaab4c36b00 0xaab4c36f00 0xaab4c36d00
[ 45082.887] rdpRRCrtcGetGamma: 0xaab4c34320 0xaab4c36b00 0xaab4c36f00 0xaab4c36d00
[ 45433.807] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1919 cy 1079
[ 45460.601] rdpClientConRecv: g_sck_recv failed(returned 0)
[ 45460.601] rdpClientConRecvMsg: error
[ 45460.602] rdpClientConCheck: rdpClientConGotData failed
[ 45460.602] rdpClientConDisconnect:
[ 45460.602] rdpRemoveClientConFromDev: removing clientCon 0xaab4c37620
[ 47871.505] rdpmouseControl: what 2
[ 47871.505] rdpmouseDeviceOff:
[ 47871.505] rdpkeybControl: what 2
[ 47871.505] rdpkeybDeviceOff:
[ 47871.508] rdpkeybControl: what 3
[ 47871.509] rdpkeybUnInit: drv 0xaab484c640 info 0xaab4bd9720, flags 0x0
[ 47871.509] rdpUnregisterInputCallback: proc 0xfff6fdd694
[ 47871.509] rdpmouseControl: what 3
[ 47871.509] rdpmouseUnInit: drv 0xaab484dbc0 info 0xaab4a68b70, flags 0x0
[ 47871.509] rdpUnregisterInputCallback: proc 0xfff6fe8e30
[ 47871.510] rdpCloseScreen:
[ 47871.510] xorgxrdpDownDown:
[ 47871.510] xorgxrdpDownDown: 1
[ 47871.510] rdpClientConDeinit:
[ 47871.510] rdpClientConDeinit: deleting file /var/run/xrdp/sockdir/xrdp_display_10
[ 47871.510] rdpClientConDeinit: deleting file /var/run/xrdp/sockdir/xrdp_disconnect_display_10
[ 47871.597] (II) Server terminated successfully (0). Closing log file.
matt335672 commented 1 year ago

Thanks.

There are two possibilities I can see.

1) Check you are not logged in on the console as katyusha (see this FAQ entry). 2) It might be #241. Check that the option Option "AutoAddGPU" "off" is set in the ServerFlags in /etc/X11/xrdp/xorg.conf

Please report back

KatyushaScarlet commented 1 year ago

@matt335672 Thanks!

1.No, I'm not login on the console as user 'katyusha'. 2.No, the flag is not set in the /etc/X11/xrdp/xorg.conf.

After I set this flag in the file (and reboot), I get an error similar to the one above.

/var/log/xrdp.log

[20230613-00:12:01] [INFO ] sending login info to session manager. Please wait...
[20230613-00:12:01] [INFO ] xrdp_wm_log_msg: login successful for user katyusha on display 10
[20230613-00:12:01] [INFO ] login successful for user katyusha on display 10
[20230613-00:12:01] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20230613-00:12:01] [INFO ] started connecting
[20230613-00:12:01] [INFO ] lib_mod_connect: connecting via UNIX socket
[20230613-00:15:30] [INFO ] connection problem, giving up
[20230613-00:15:30] [INFO ] some problem
[20230613-00:15:30] [ERROR] xrdp_wm_log_msg: Error connecting to user session
[20230613-00:15:30] [INFO ] Error connecting to user session
[20230613-00:16:10] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[20230613-00:16:10] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[20230613-00:16:10] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[20230613-00:16:10] [ERROR] xrdp_process_data_in: xrdp_process_loop failed

/etc/X11/xrdp/xorg.conf

Section "ServerLayout"
    Identifier "X11 Server"
    Screen "Screen (xrdpdev)"
    InputDevice "xrdpMouse" "CorePointer"
    InputDevice "xrdpKeyboard" "CoreKeyboard"
EndSection

Section "ServerFlags"
    # This line prevents "ServerLayout" sections in xorg.conf.d files
    # overriding the "X11 Server" layout (xrdp #1784)
    Option "DefaultServerLayout" "X11 Server"
    Option "DontVTSwitch" "on"
    Option "AutoAddDevices" "off"
    Option "AutoAddGPU" "off"
EndSection

Section "Module"
    Load "dbe"
    Load "ddc"
    Load "extmod"
    Load "glx"
    Load "int10"
    Load "record"
    Load "vbe"
    Load "xorgxrdp"
    Load "fb"
EndSection

Section "InputDevice"
    Identifier "xrdpKeyboard"
    Driver "xrdpkeyb"
EndSection

Section "InputDevice"
    Identifier "xrdpMouse"
    Driver "xrdpmouse"
EndSection

Section "Monitor"
    Identifier "Monitor"
    Option "DPMS"
    HorizSync 30-80
    VertRefresh 60-75
    ModeLine "1920x1080" 138.500 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
    ModeLine "1280x720" 74.25 1280 1720 1760 1980 720 725 730 750 +HSync +VSync
    Modeline "1368x768" 72.25 1368 1416 1448 1528 768 771 781 790 +hsync -vsync
    Modeline "1600x900" 119.00 1600 1696 1864 2128 900 901 904 932 -hsync +vsync
EndSection

Section "Device"
    Identifier "Video Card (xrdpdev)"
    Driver "xrdpdev"
    Option "DRMDevice" "/dev/dri/renderD128"
    Option "DRI3" "1"
EndSection

Section "Screen"
    Identifier "Screen (xrdpdev)"
    Device "Video Card (xrdpdev)"
    Monitor "Monitor"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "640x480" "800x600" "1024x768" "1280x720" "1280x1024" "1600x900" "1920x1080"
    EndSubSection
EndSection

Also, there's no new content in /home/katyusha/.xorgxrdp.10.log.

matt335672 commented 1 year ago

That's all a bit confusing, and that's my fault for not being careful enough. I should have asked you for dates on those files to start with.

Can you delete the existing /home/katyusha/.xorgxrdp.10.log ? I don't think it will help us now. Also delete /home/katyusha/.xsession-errors if it exists.

I notice this in the sesman.log:-

Starting X server on display 10: Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log 

On Debian-based distros, you should have /usr/lib/xorg/Xorg rather than Xorg.

Can you look in /etc/xrdp/sesman.ini? In the [Xorg] section you may have param=Xorg. Can you replace that line with param=/usr/lib/xorg/Xorg and restart sesman?

If that doesn't work, paste the sesman.log again.

KatyushaScarlet commented 1 year ago

That's all a bit confusing, and that's my fault for not being careful enough. I should have asked you for dates on those files to start with.

Can you delete the existing /home/katyusha/.xorgxrdp.10.log ? I don't think it will help us now. Also delete /home/katyusha/.xsession-errors if it exists.

I notice this in the sesman.log:-

Starting X server on display 10: Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log 

On Debian-based distros, you should have /usr/lib/xorg/Xorg rather than Xorg.

Can you look in /etc/xrdp/sesman.ini? In the [Xorg] section you may have param=Xorg. Can you replace that line with param=/usr/lib/xorg/Xorg and restart sesman?

If that doesn't work, paste the sesman.log again.

That works, thanks! But the GUI is still very laggy, and it looks like xorgxrdp only uses llvmpipe driver, not amdgpu driver. Here's the information of my driver:

# lspci -k | grep -A 3 -E "(VGA|3D)"
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R5 430 OEM / R7 240/340 / Radeon 520 OEM] (rev 87)
    Subsystem: Dell Radeon R5 430 OEM (2048 MByte)
    Kernel driver in use: amdgpu
    Kernel modules: radeon, amdgpu
$ glxinfo | grep llvmpipe
    Device: llvmpipe (LLVM 8.0, 256 bits) (0xffffffff)
OpenGL renderer string: llvmpipe (LLVM 8.0, 256 bits)
matt335672 commented 1 year ago

We don't support the amdgpu driver I'm afraid.

The best you can do with the current software set is to set the client connection type to 'LAN' (not automatic), and make sure you have 24-bit or 32-bit colour selected. That will enable codec negotiation. With a Windows 10 client you will get RemoteFX, but this has been removed from the Windows 11 client. We're still working on GFX.

KatyushaScarlet commented 1 year ago

We don't support the amdgpu driver I'm afraid.

The best you can do with the current software set is to set the client connection type to 'LAN' (not automatic), and make sure you have 24-bit or 32-bit colour selected. That will enable codec negotiation. With a Windows 10 client you will get RemoteFX, but this has been removed from the Windows 11 client. We're still working on GFX.

So, do you support radeon driver?

matt335672 commented 1 year ago

Acceleration is currently supported via glamor which is an abstraction layer which allows us to use whatever acceleration is available.

The Debian/Ubuntu driver is however not built with this support enabled.

Try the hints I've given you above. Also, remember the kind of performance you will get is going to be dependent on the quality of your network connection.

KatyushaScarlet commented 1 year ago

Thanks!