Blue "screen" when logging in through XRDP

Greetings.

Im having a little bit of problem with XRDP on my "server"machine. Ijust insalled XRDP on it but after login all i get is the blue background and i cant do anything.

Im not that new to linux and usually i can fix the issues that pop up, but this one ended up as an exception. I hope someone will have an idea where things are “broken”.

Thanks in advance for the help :slight_smile: .

Some extra info
xrdp.log:
[20171227-00:32:02] [INFO ] starting xrdp with pid 14684
[20171227-00:32:02] [INFO ] listening to port 3389 on 0.0.0.0
[20171227-00:32:03] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:07] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:10] [DEBUG] xrdp_wm_log_msg: connection problem, giving up
[20171227-00:32:10] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:10] [DEBUG] xrdp_wm_log_msg: some problem
[20171227-00:32:10] [DEBUG] xrdp_mm_module_cleanup
[20171227-00:32:10] [DEBUG] Closed socket 22 (AF_INET6 ::1 port 52152)
[20171227-00:32:10] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:10.125.210.34 port 3389)
[20171227-00:32:10] [DEBUG] xrdp_mm_module_cleanup
[20171227-00:32:11] [ERROR] Listening socket is in wrong state, terminating listener
[20171227-00:32:14] [INFO ] A connection received from: ::ffff:10.125.210.100 port 61748
[20171227-00:32:14] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:10.125.210.34 port 3389)
[20171227-00:32:14] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20171227-00:32:14] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20171227-00:32:14] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20171227-00:32:14] [DEBUG] Security layer: requested 11, selected 0
[20171227-00:32:14] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:10.125.210.34 port 3389)
[20171227-00:32:14] [ERROR] Listening socket is in wrong state, terminating listener
[20171227-00:32:15] [INFO ] A connection received from: ::ffff:10.125.210.100 port 61749
[20171227-00:32:15] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:10.125.210.34 port 3389)
[20171227-00:32:15] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20171227-00:32:15] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20171227-00:32:15] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20171227-00:32:15] [DEBUG] Security layer: requested 0, selected 0
[20171227-00:32:15] [DEBUG] xrdp_00004a4c_wm_login_mode_event_00000001
[20171227-00:32:15] [INFO ] Cannot find keymap file /etc/xrdp/km-0000040e.ini
[20171227-00:32:15] [INFO ] Cannot find keymap file /etc/xrdp/km-0000040e.ini
[20171227-00:32:15] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20171227-00:32:15] [WARN ] local keymap file for 0x0000040e found and doesn’t match built in keymap, using local keymap file
[20171227-00:32:22] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20171227-00:32:23] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20171227-00:32:23] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait…
[20171227-00:32:23] [DEBUG] return value from xrdp_mm_connect 0
[20171227-00:32:23] [INFO ] xrdp_wm_log_msg: login successful for display 21
[20171227-00:32:23] [DEBUG] xrdp_wm_log_msg: started connecting
[20171227-00:32:26] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:30] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:33] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:37] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:40] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:44] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:47] [DEBUG] Closed socket 23 (AF_UNIX)
[20171227-00:32:51] [DEBUG] Closed socket 23 (AF_UNIX)

xrdp-sesman.log:
[20171227-00:32:00] [DEBUG] libscp initialized
[20171227-00:32:00] [INFO ] starting xrdp-sesman with pid 14659
[20171227-00:32:00] [INFO ] listening to port 3350 on 127.0.0.1
[20171227-00:32:22] [INFO ] A connection received from ::1 port 52158
[20171227-00:32:23] [INFO ] ++ created session (access granted): username jagdtigger, ip 0.0.0.0:61749 - socket: 12
[20171227-00:32:23] [INFO ] starting Xorg session…
[20171227-00:32:23] [DEBUG] Closed socket 9 (AF_INET6 :: port 5921)
[20171227-00:32:23] [DEBUG] Closed socket 9 (AF_INET6 :: port 6021)
[20171227-00:32:23] [DEBUG] Closed socket 9 (AF_INET6 :: port 6221)
[20171227-00:32:23] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20171227-00:32:23] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20171227-00:32:23] [INFO ] Xorg :21 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp
[20171227-00:32:23] [INFO ] starting xrdp-sessvc - xpid=21182 - wmpid=21181
[20171227-00:32:23] [INFO ] ++ terminated session: username jagdtigger, display :21.0, session_pid 21175, ip 0.0.0.0:61749 - socket: 12

https://www.dropbox.com/s/y049tjoqizcu71o/login%20error.PNG?dl=0

There have been similar issues to yours. It seems to be caused by a missing package and logging it to xrdp as root. Try sudo apt-get install xorgxrdp-[tab] to install the missing package. I'll see if I can find the full package name and edit my post.