Ubuntu 16.04 xRDP Login Failed (Problem Connecting)

目前此問題已於 0.6.1-2ubuntu0.3 版本中修復,詳見 xRDP Changelog

2019-01-22 20:06:16 UTC
Version: 0.6.1-2ubuntu0.3
xrdp (0.6.1-2ubuntu0.3) xenial-security; urgency=medium

  • SECURITY REGRESSION: Fix conection problem (LP: #1811122).

– Paulo Flabiano Smorigo <email address hidden> Wed, 16 Jan 2019 22:26:35 -0200

Introduction

After upgrading xrdp from 0.6.1-2 to 0.6.1-2ubuntu0.1, xrdp would fail when logging into sesman-Xvnc.

Log:

1
2
3
4
5
6
7
8
9
10
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
xrdp_mm_process_login_response: login successful for display
started connecting
connecting to 127.0.0.1 5910
tcp connected
security level is 2 (1 = none, 2 = standard)
password failed
error - problem connecting

Solutions

  1. Downgrad xrdp back to 0.6.1-2.

    1
    2
    3
    $ sudo apt remove xrdp
    $ sudo apt install xrdp=0.6.1-2
    $ sudo apt-mark hold xrdp
  2. Append params to /etc/xrdp/sesman.ini.

    1
    2
    $ sudo tee --append /etc/xrdp/sesman.ini <<< 'param8=-SecurityTypes'
    $ sudo tee --append /etc/xrdp/sesman.ini <<< 'param9=None'

References

0%