Jump to content

Recommended Posts

Posted

Armbian is installed from  Armbian_23.11.3_Rpi5b_bookworm_current_6.1.68_cinnamon_desktop.img. I installed xrdp and then created the remote user and added it to xrdp group. When checked the xrdp status seems fine. When I try to connect I just get an empty blue screen on a Windows RDP screen

Rechecking the xrdp status gives:

Quote

Feb 12 10:02:00 rpi5b xrdp[6322]: [INFO ] Error connecting to user session
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] connecting to sesman on 127.0.0.1:3350
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] xrdp_wm_log_msg: sesman connect ok
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] sesman connect ok
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] sending login info to session manager. Please wait...
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] xrdp_wm_log_msg: login successful for user lado on display 10
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] login successful for user lado on display 10
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] started connecting
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] lib_mod_connect: connecting via UNIX socket

After delay of minute or so a 'connection log' window appears RDP client screen, saying 

 

Quote

connecting to sesman on 127.0.0.1:3350
sesman connests ok
sending login info to session manager. Please wait...
login succesful for user lado on display 10
started connecting
connection problem, giving up
some problem
Error connecting to user session

 

Rechecking the xrdp status gives:

 

Quote

Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] sending login info to session manager. Please wait...
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] xrdp_wm_log_msg: login successful for user lado on display 10
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] login successful for user lado on display 10
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] started connecting
Feb 12 10:06:50 rpi5b xrdp[6322]: [INFO ] lib_mod_connect: connecting via UNIX socket
Feb 12 10:10:19 rpi5b xrdp[6322]: [INFO ] connection problem, giving up
Feb 12 10:10:19 rpi5b xrdp[6322]: [INFO ] some problem
Feb 12 10:10:19 rpi5b xrdp[6322]: [ERROR] xrdp_wm_log_msg: Error connecting to user session
Feb 12 10:10:19 rpi5b xrdp[6322]: [INFO ] Error connecting to user session

 

I have a Rasperry PiOS Bullseye on a RPI4, with working xrdp. I have compared all the configuration files between the rpi5 and the rpi4. They are the same (except the rsakeys.ini which is normal), so I think there is nothing wrong with the xrdp installation. I tried to Google for a possible explanation, but so far failed to find any useful answer.

I'd appreciate some pointers how should I proceed.

Posted

Btw: before the Bookworm edition I tried the Jammy (Armbian_23.11.3_Rpi5b_bookworm_current_6.1.68_cinnamon_desktop.img) edition and encountered the same issue with xrdp

 

Posted

There must be something with permissions. I just tested x86 cinnamon. Normal user fails, root can login via XRDP.

Posted

Exactly the same behaviour here on a RPI3 with a fresh bookworm 64bits. Did the same as Otalado with exactly the same result.
Given the fact that he has this on a ripi5 and i on a rpi3 points that this issue might be related to bookworm, and not so much to the board version.

Xrdp used to work fine on older versions of the software. Most probably related to with the move to Wayland in Bookworm?

Has anyone Xrdp working on bookworm? If so, please tell what magic you did to get it working.

 

The output of my /var/log/xrdp.log:

[20240217-16:38:27] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.9 port 33340
[20240217-16:38:27] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20240217-16:38:27] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20240217-16:38:27] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[20240217-16:38:27] [INFO ] Connected client computer name: SM-G781B
[20240217-16:38:27] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20240217-16:38:27] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20240217-16:38:27] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00c is unknown (ignored)
[20240217-16:38:28] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000409]
[20240217-16:38:28] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
[20240217-16:38:28] [INFO ] TLS connection established from ::ffff:192.168.1.9 port 33340: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
[20240217-16:38:28] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20240217-16:38:28] [INFO ] xrdp_process_offscreen_bmpcache: support level 0 cache size 0 MB cache entries 0
[20240217-16:38:28] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20240217-16:38:28] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20240217-16:38:28] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20240217-16:38:28] [INFO ] connecting to sesman on 127.0.0.1:3350
[20240217-16:38:28] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20240217-16:38:28] [INFO ] sesman connect ok
[20240217-16:38:28] [INFO ] sending login info to session manager. Please wait...
[20240217-16:38:29] [INFO ] xrdp_wm_log_msg: login successful for user pi2 on display 10
[20240217-16:38:29] [INFO ] login successful for user pi2 on display 10
[20240217-16:38:29] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20240217-16:38:29] [INFO ] started connecting
[20240217-16:38:29] [INFO ] lib_mod_connect: connecting via UNIX socket
[20240217-16:41:59] [INFO ] connection problem, giving up
[20240217-16:41:59] [INFO ] some problem
[20240217-16:41:59] [ERROR] xrdp_wm_log_msg: Error connecting to user session
[20240217-16:41:59] [INFO ] Error connecting to user session
[20240217-16:46:29] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[20240217-16:46:29] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[20240217-16:46:29] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[20240217-16:46:29] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
[20240217-16:46:29] [ERROR] SSL_shutdown: I/O error


 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines