neutrinolabs / xrdp

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

local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file #1490

Closed Jay991 closed 3 years ago

Jay991 commented 4 years ago

I'm trying to connect an xrdp server to a local Xwrapper.config. I used the below to setup the server: sudo apt-get update && sudo apt-get dist-upgrade -y sudo apt-get install --no-install-recommends ubuntu-mate-core ubuntu-mate-desktop -y sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon xrdp -y adduser burp usermod -aG admin burp usermod -aG sudo burp su - burp echo mate-session> ~/.xsession sudo cp /home/burp/.xsession /etc/skel sudo service xrdp restart

Followed with: sudo adduser xrdp ssl-cert

I tried to connect with Remmina. The UI was showing a black screen that said: "Reconnection in Progress. Attempt 1 of 20..." Screenshot from 2020-02-08 19-45-08

Checked the /vat/log/xrdp.log:

[20200208-19:45:57] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:91.107.07.00   port 53094
[20200208-19:45:57] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:138.000.000.00 port 3389)
[20200208-19:45:57] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20200208-19:45:57] [DEBUG] TLSv1.2 enabled
[20200208-19:45:57] [DEBUG] TLSv1.1 enabled
[20200208-19:45:57] [DEBUG] TLSv1 enabled
[20200208-19:45:57] [DEBUG] Security layer: requested 3, selected 1
[20200208-19:45:58] [INFO ] connected client computer name: immortal
[20200208-19:45:59] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:38.000.000.00 port 63499
[20200208-19:45:59] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:138.000.000.00 port 3389)
[20200208-19:45:59] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20200208-19:45:59] [DEBUG] TLSv1.2 enabled
[20200208-19:45:59] [DEBUG] TLSv1.1 enabled
[20200208-19:45:59] [DEBUG] TLSv1 enabled
[20200208-19:45:59] [DEBUG] Security layer: requested 3, selected 1
[20200208-19:45:59] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:138.000.000.00 port 3389)
[20200208-19:45:59] [INFO ] TLS connection established from ::ffff:91.107.07.00 port 53094: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
[20200208-19:46:00] [DEBUG] xrdp_000021c8_wm_login_mode_event_00000001
[20200208-19:46:00] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20200208-19:46:00] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file

Any ideas on what might be causing this? 🤔

metalefty commented 4 years ago

What do you mean? pem.key doesn't authenticate.

Jay991 commented 4 years ago

It's actually authenticating now and connecting to local computer. but socked is closing from reason:

[20200204-10:40:00] [INFO ] connected client computer name: immortal
[20200204-10:40:00] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:IP port 3389)
metalefty commented 4 years ago

Then, pem.key doesn't affect at all.

Jay991 commented 4 years ago

Yes i suppose it doesn't since I added xrdp user to ssl-cert: sudo adduser xrdp ssl-cert But why is the socket closing?

ooptimum commented 4 years ago

I tried to connect with Remmina. The UI was showing a black screen that said: "Reconnection in Progress. Attempt 1 of 20..."

I have the exact same problem. Remmina just can't connect to xrdp on Debian 10. However, krdc seems has no such problem and it works.

nagimov commented 4 years ago

@Jay991 try to check "Glyph Cache" flag at the bottom of "Advanced" tab in connection preferences