RXDP from Win10 to Armbian on Rock64
#1
Hi,

i dont know much about Linux but i tryed anythink i could find, but with no sucsess...

I want to use Windows XRDP Remote to connect but it only works with root. Why

This is the log from  XRDP and Sesman, firstr try is a user, second try is root


Quote:xrdp:
[20230524-20:56:31] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.145 port 49328
[20230524-20:56:31] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230524-20:56:31] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230524-20:56:31] [ERROR] SSL_read: I/O error
[20230524-20:56:31] [ERROR] libxrdp_force_read: header read error
[20230524-20:56:31] [ERROR] Processing [ITU-T T.125] Connect-Initial failed
[20230524-20:56:31] [ERROR] [MCS Connection Sequence] receive connection request failed
[20230524-20:56:31] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
[20230524-20:56:31] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[20230524-20:56:31] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[20230524-20:56:31] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20230524-20:56:31] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
[20230524-20:56:31] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.145 port 49329
[20230524-20:56:31] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230524-20:56:31] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230524-20:56:31] [INFO ] Connected client computer name: DELLG515SE
[20230524-20:56:31] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20230524-20:56:31] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20230524-20:56:31] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000407]
[20230524-20:56:31] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [de] options []
[20230524-20:56:31] [INFO ] TLS connection established from ::ffff:192.168.1.145 port 49329: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384
[20230524-20:56:31] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20230524-20:56:31] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
[20230524-20:56:31] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20230524-20:56:31] [WARN ] xrdp_caps_process_codecs: unknown codec id 5
[20230524-20:56:31] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49
[20230524-20:56:31] [INFO ] Loading keymap file /etc/xrdp/km-00000407.ini
[20230524-20:56:31] [WARN ] local keymap file for 0x00000407 found and doesn't match built in keymap, using local keymap file
[20230524-20:56:43] [INFO ] connecting to sesman ip 127.0.0.1 port 3350
[20230524-20:56:43] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230524-20:56:43] [INFO ] sesman connect ok
[20230524-20:56:43] [INFO ] sending login info to session manager, please wait...
[20230524-20:56:43] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20230524-20:56:43] [INFO ] login successful for display 10
[20230524-20:56:43] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20230524-20:56:43] [INFO ] started connecting
[20230524-20:56:43] [INFO ] lib_mod_connect: connecting via UNIX socket
[20230524-20:59:54] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.145 port 49873
[20230524-20:59:54] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230524-20:59:54] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230524-20:59:54] [ERROR] SSL_read: I/O error
[20230524-20:59:54] [ERROR] libxrdp_force_read: header read error
[20230524-20:59:54] [ERROR] Processing [ITU-T T.125] Connect-Initial failed
[20230524-20:59:54] [ERROR] [MCS Connection Sequence] receive connection request failed
[20230524-20:59:54] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
[20230524-20:59:54] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[20230524-20:59:54] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[20230524-20:59:54] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20230524-20:59:54] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
[20230524-20:59:54] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.145 port 49874
[20230524-20:59:54] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230524-20:59:54] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230524-20:59:54] [INFO ] Connected client computer name: DELLG515SE
[20230524-20:59:54] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20230524-20:59:54] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20230524-20:59:54] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000407]
[20230524-20:59:54] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [de] options []
[20230524-20:59:54] [INFO ] TLS connection established from ::ffff:192.168.1.145 port 49874: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384
[20230524-20:59:55] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20230524-20:59:55] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
[20230524-20:59:55] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20230524-20:59:55] [WARN ] xrdp_caps_process_codecs: unknown codec id 5
[20230524-20:59:55] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49
[20230524-20:59:55] [INFO ] Loading keymap file /etc/xrdp/km-00000407.ini
[20230524-20:59:55] [WARN ] local keymap file for 0x00000407 found and doesn't match built in keymap, using local keymap file
[20230524-21:00:03] [INFO ] connecting to sesman ip 127.0.0.1 port 3350
[20230524-21:00:03] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230524-21:00:03] [INFO ] sesman connect ok
[20230524-21:00:03] [INFO ] sending login info to session manager, please wait...
[20230524-21:00:03] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20230524-21:00:03] [INFO ] login successful for display 10
[20230524-21:00:03] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20230524-21:00:03] [INFO ] started connecting
[20230524-21:00:03] [INFO ] lib_mod_connect: connecting via UNIX socket
[20230524-21:00:04] [INFO ] lib_mod_log_peer: xrdp_pid=2133 connected to X11rdp_pid=2591 X11rdp_uid=0 X11rdp_gid=0 client_ip=::ffff:192.168.1.145 client_port=49329
[20230524-21:00:04] [INFO ] connected ok
[20230524-21:00:04] [ERROR] SSL_write: I/O error
[20230524-21:00:04] [ERROR] xrdp_sec_send_fastpath: xrdp_fastpath_send failed
[20230524-21:00:04] [ERROR] xrdp_rdp_send_fastpath: xrdp_sec_send_fastpath failed
[20230524-21:00:04] [ERROR] libxrdp_set_pointer: xrdp_rdp_send_fastpath failed
[20230524-21:00:04] [INFO ] lib_mod_log_peer: xrdp_pid=2564 connected to X11rdp_pid=2591 X11rdp_uid=0 X11rdp_gid=0 client_ip=::ffff:192.168.1.145 client_port=49874
[20230524-21:00:04] [INFO ] connected ok
[20230524-21:00:05] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20230524-21:00:05] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed




sesman:
20230524-20:56:43] [INFO ] Socket 8: AF_INET6 connection received from ::1 port 33556
[20230524-20:56:43] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20230524-20:56:43] [INFO ] ++ created session (access granted): username test2, ip ::ffff:192.168.1.145:49329 - socket: 12
[20230524-20:56:43] [INFO ] starting Xorg session...
[20230524-20:56:43] [INFO ] Starting session: session_pid 2134, display :10.0, width 1920, height 1080, bpp 24, client ip ::ffff:192.168.1.145:49329 - socket: 12, user name test2
[20230524-20:56:43] [INFO ] [session start] (display 10): calling auth_start_session from pid 2134
[20230524-20:56:43] [ERROR] sesman_data_in: scp_process_msg failed
[20230524-20:56:43] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20230524-20:56:44] [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 
[20230524-20:56:54] [WARN ] Timed out waiting for X server on display 10 to startup
[20230524-20:56:54] [INFO ] Session started successfully for user test2 on display 10
[20230524-20:56:54] [INFO ] Starting the xrdp channel server for display 10
[20230524-20:56:54] [INFO ] Session in progress on display 10, waiting until the window manager (pid 2151) exits to end the session
[20230524-20:56:54] [WARN ] Timed out waiting for X server on display 10 to startup
[20230524-20:56:54] [ERROR] There is no X server active on display 10
[20230524-20:56:54] [ERROR] A fatal error has occured attempting to start the window manager on display 10, aborting connection
[20230524-20:56:54] [WARN ] Window manager (pid 2151, display 10) exited quickly (0 secs). This could indicate a window manager config problem
[20230524-20:56:54] [INFO ] Calling auth_stop_session and auth_end from pid 2134
[20230524-20:56:54] [INFO ] Terminating X server (pid 2152) on display 10
[20230524-20:56:54] [INFO ] Terminating the xrdp channel server (pid 2437) on display 10
[20230524-20:56:54] [INFO ] X server on display 10 (pid 2152) returned exit code 1 and signal number 0
[20230524-20:56:54] [INFO ] xrdp channel server for display 10 (pid 2437) exit code 0 and signal number 0
[20230524-20:56:54] [INFO ] cleanup_sockets:
[20230524-20:56:54] [INFO ] ++ terminated session:  username test2, display :10.0, session_pid 2134, ip ::ffff:192.168.1.145:49329 - socket: 12
[20230524-21:00:03] [INFO ] Socket 8: AF_INET6 connection received from ::1 port 45346
[20230524-21:00:03] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20230524-21:00:03] [INFO ] ++ created session (access granted): username root, ip ::ffff:192.168.1.145:49874 - socket: 12
[20230524-21:00:03] [INFO ] starting Xorg session...
[20230524-21:00:03] [INFO ] Starting session: session_pid 2574, display :10.0, width 1920, height 1080, bpp 24, client ip ::ffff:192.168.1.145:49874 - socket: 12, user name root
[20230524-21:00:03] [INFO ] [session start] (display 10): calling auth_start_session from pid 2574
[20230524-21:00:03] [ERROR] sesman_data_in: scp_process_msg failed
[20230524-21:00:03] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20230524-21:00:04] [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 
[20230524-21:00:04] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230524-21:00:04] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230524-21:00:04] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230524-21:00:04] [INFO ] Session started successfully for user root on display 10
[20230524-21:00:04] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20230524-21:00:04] [INFO ] Session in progress on display 10, waiting until the window manager (pid 2590) exits to end the session
[20230524-21:00:04] [INFO ] Starting the xrdp channel server for display 10
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 55 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 v2 - did not work song / audio sqw200zu 2 1,237 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 243 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 512 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 513 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 7,969 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 186,500 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 512 07-09-2023, 03:28 AM
Last Post: nemnob
  DietPi OS for ROCK64 MichaIng 41 31,756 12-07-2022, 08:22 PM
Last Post: luminosity7
  Using multiple UART's on Rock64. ramprasad 0 882 08-29-2022, 01:22 PM
Last Post: ramprasad

Forum Jump:


Users browsing this thread: 1 Guest(s)