Configuring RDP access for Windows hosts
This F26 host has xrdp
installed and no firewall running, SElinux is disabled for the purpose of this experiment. xrdp.ini
has Xorg enabled only and in autorun, and disabled clipboard channel for now. When I connected initially from Windows RDP client, there was a message shown right after login saying that there was a problem logging in.
Then I ran xhost +
for that user, and now the session disconnects immediately after login. I do not see any errors or anything suspicious in the /var/log/xrdp.log
below. This setup worked fine on the same physical machine under Fedora 19 which I can still dual boot and it still is working without issues. The only difference is that F19 has KDE, but F26 has Mate. I have since created a KDE VM and it also demonstrates the same problem OOB.
What am I missing?
The F26 host has everything current as of 15 min ago:
Linux localhost.localdomain 4.15.17-200.fc26.x86_64 #1 SMP Thu Apr 12 18:28:26 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
xrdp.log
[20180503-21:06:35] [INFO ] Socket 12: AF_INET connection received from 10.10.10.2 port 11626
[20180503-21:06:35] [DEBUG] Closed socket 12 (AF_INET 10.10.10.3:3389)
[20180503-21:06:35] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20180503-21:06:35] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20180503-21:06:35] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20180503-21:06:35] [DEBUG] TLSv1.2 enabled
[20180503-21:06:35] [DEBUG] TLSv1.1 enabled
[20180503-21:06:35] [DEBUG] TLSv1 enabled
[20180503-21:06:35] [DEBUG] Security layer: requested 3, selected 1
[20180503-21:06:35] [DEBUG] Closed socket 12 (AF_INET 10.10.10.3:3389)
[20180503-21:06:35] [INFO ] Socket 12: AF_INET connection received from 10.10.10.2 port 11627
[20180503-21:06:35] [DEBUG] Closed socket 12 (AF_INET 10.10.10.3:3389)
[20180503-21:06:35] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20180503-21:06:35] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20180503-21:06:35] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20180503-21:06:35] [DEBUG] TLSv1.2 enabled
[20180503-21:06:35] [DEBUG] TLSv1.1 enabled
[20180503-21:06:35] [DEBUG] TLSv1 enabled
[20180503-21:06:35] [DEBUG] Security layer: requested 3, selected 1
[20180503-21:06:36] [INFO ] connected client computer name: WIN19
[20180503-21:06:36] [INFO ] TLS connection established from 10.10.10.2 port 11627: TLSv1 with cipher ECDHE-RSA-AES256-SHA
[20180503-21:06:36] [DEBUG] xrdp_0000159a_wm_login_mode_event_00000001
[20180503-21:06:36] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20180503-21:06:36] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20180503-21:06:43] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20180503-21:06:44] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20180503-21:06:44] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20180503-21:06:44] [DEBUG] return value from xrdp_mm_connect ...
Bump to home page
Bump to the home page