I have enabled RDP option in armbian-config. It worked before but when I connect and enter my password, after pressing OK on the login screen the rdp tab just closes
Jan 12 16:12:40 OrPi systemd[1]: Starting xrdp daemon...
Jan 12 16:12:40 OrPi xrdp[4025]: [INFO ] address [0.0.0.0] port [3389] mode 1
Jan 12 16:12:40 OrPi xrdp[4025]: [INFO ] listening to port 3389 on 0.0.0.0
Jan 12 16:12:40 OrPi xrdp[4025]: [INFO ] xrdp_listen_pp done
Jan 12 16:12:40 OrPi systemd[1]: xrdp.service: Can't open PID file /run/xrdp/xrdp.pid (yet?) after start: Operation not permitted
Jan 12 16:12:41 OrPi systemd[1]: Started xrdp daemon.
Jan 12 16:12:42 OrPi xrdp[4026]: [INFO ] starting xrdp with pid 4026
Jan 12 16:12:42 OrPi xrdp[4026]: [INFO ] address [0.0.0.0] port [3389] mode 1
Jan 12 16:12:42 OrPi xrdp[4026]: [INFO ] listening to port 3389 on 0.0.0.0
Jan 12 16:12:42 OrPi xrdp[4026]: [INFO ] xrdp_listen_pp done
Jan 12 16:13:01 OrPi xrdp[4026]: [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.221 port 5054
Jan 12 16:13:01 OrPi xrdp[4031]: [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
Jan 12 16:13:01 OrPi xrdp[4031]: [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] libxrdp_force_read: header read error
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] Processing [ITU-T T.125] Connect-Initial failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] [MCS Connection Sequence] receive connection request failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] xrdp_iso_send: trans_write_copy_s failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
Jan 12 16:13:01 OrPi xrdp[4026]: [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.221 port 5056
Jan 12 16:13:01 OrPi xrdp[4032]: [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
Jan 12 16:13:01 OrPi xrdp[4032]: [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
Jan 12 16:13:01 OrPi xrdp[4032]: [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] Connected client computer name: DESKTOP-H99GBI6
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x0001041B]
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] Non-TLS connection established from ::ffff:192.168.1.221 port 5056: encrypted with standard RDP security
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] xrdp_caps_process_codecs: unknown codec id 5
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] Cannot find keymap file /etc/xrdp/km-0001041b.ini
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] Cannot find keymap file /etc/xrdp/km-0000041b.ini
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] local keymap file for 0x0001041b found and doesn't match built in keymap, using local keymap file
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] connecting to sesman ip 127.0.0.1 port 3350
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] xrdp_wm_log_msg: sesman connect ok
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] sesman connect ok
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] sending login info to session manager, please wait...
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] xrdp_wm_log_msg: login successful for display 10
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] login successful for display 10
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] started connecting
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] lib_mod_connect: connecting via UNIX socket
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] lib_mod_log_peer: xrdp_pid=4032 connected to X11rdp_pid=4035 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:192.168.1.221 client_port=5056
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] connected ok
System diagnosis information will now be uploaded to https://paste.armbian.com/qezenefafe
Please post the URL in the forum where you've been asked for.
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.
Question
Whoo
I have enabled RDP option in armbian-config. It worked before but when I connect and enter my password, after pressing OK on the login screen the rdp tab just closes
https://prnt.sc/WQKXky75i28c
Can anyone help me?
Logs:
Jan 12 16:12:40 OrPi systemd[1]: Starting xrdp daemon...
Jan 12 16:12:40 OrPi xrdp[4025]: [INFO ] address [0.0.0.0] port [3389] mode 1
Jan 12 16:12:40 OrPi xrdp[4025]: [INFO ] listening to port 3389 on 0.0.0.0
Jan 12 16:12:40 OrPi xrdp[4025]: [INFO ] xrdp_listen_pp done
Jan 12 16:12:40 OrPi systemd[1]: xrdp.service: Can't open PID file /run/xrdp/xrdp.pid (yet?) after start: Operation not permitted
Jan 12 16:12:41 OrPi systemd[1]: Started xrdp daemon.
Jan 12 16:12:42 OrPi xrdp[4026]: [INFO ] starting xrdp with pid 4026
Jan 12 16:12:42 OrPi xrdp[4026]: [INFO ] address [0.0.0.0] port [3389] mode 1
Jan 12 16:12:42 OrPi xrdp[4026]: [INFO ] listening to port 3389 on 0.0.0.0
Jan 12 16:12:42 OrPi xrdp[4026]: [INFO ] xrdp_listen_pp done
Jan 12 16:13:01 OrPi xrdp[4026]: [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.221 port 5054
Jan 12 16:13:01 OrPi xrdp[4031]: [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
Jan 12 16:13:01 OrPi xrdp[4031]: [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] libxrdp_force_read: header read error
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] Processing [ITU-T T.125] Connect-Initial failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] [MCS Connection Sequence] receive connection request failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] xrdp_iso_send: trans_write_copy_s failed
Jan 12 16:13:01 OrPi xrdp[4031]: [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
Jan 12 16:13:01 OrPi xrdp[4026]: [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.221 port 5056
Jan 12 16:13:01 OrPi xrdp[4032]: [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
Jan 12 16:13:01 OrPi xrdp[4032]: [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
Jan 12 16:13:01 OrPi xrdp[4032]: [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] Connected client computer name: DESKTOP-H99GBI6
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x0001041B]
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] Non-TLS connection established from ::ffff:192.168.1.221 port 5056: encrypted with standard RDP security
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] xrdp_caps_process_codecs: unknown codec id 5
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] Cannot find keymap file /etc/xrdp/km-0001041b.ini
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] Cannot find keymap file /etc/xrdp/km-0000041b.ini
Jan 12 16:13:02 OrPi xrdp[4032]: [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
Jan 12 16:13:02 OrPi xrdp[4032]: [WARN ] local keymap file for 0x0001041b found and doesn't match built in keymap, using local keymap file
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] connecting to sesman ip 127.0.0.1 port 3350
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] xrdp_wm_log_msg: sesman connect ok
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] sesman connect ok
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] sending login info to session manager, please wait...
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] xrdp_wm_log_msg: login successful for display 10
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] login successful for display 10
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] started connecting
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] lib_mod_connect: connecting via UNIX socket
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] lib_mod_log_peer: xrdp_pid=4032 connected to X11rdp_pid=4035 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:192.168.1.221 client_port=5056
Jan 12 16:13:24 OrPi xrdp[4032]: [INFO ] connected ok
System diagnosis information will now be uploaded to
https://paste.armbian.com/qezenefafe
Please post the URL in the forum where you've been asked for.
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
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.