Using XRDP without local VNC server
This bug report has the same symptoms as described in the question. Seems xserver-xorg-legacy
package is the culprit. So to make it work, it boils down to the following two commands:
apt-get purge xserver-xorg-legacy
apt-get install xrdp
The required services are started automatically after install. No need to reboot. Connecting and authenticating should automatically show the desktop.
I do not know though what the consequences are of removing xserver-xorg-legacy
. In the bug report it is mentioned to remove if not needed.
Related videos on Youtube
Davor Josipovic
Updated on September 18, 2022Comments
-
Davor Josipovic over 1 year
According to
xrdp
docs it should be possible to connect remotely without using a local VNC server:xrdp can connect to a locally created X.org session with the xorgxrdp drivers [my emphasis], to a VNC X11 server, and forward to another RDP server.
I can connect with RDP from Windows:
Then I select Xorg session and supply username and password. After some timeout an error pops up about an unknown connection problem.
This is
tail /var/log/xrdp.log
andtail /var/log/xrdp-sesman.log
output:[DEBUG] Closed socket 17 (AF_UNIX) ... [DEBUG] Closed socket 17 (AF_UNIX) [DEBUG] xrdp_wm_log_msg: some problem [DEBUG] xrdp_mm_module_cleanup [DEBUG] Closed socket 16 (AF_INET6 ::1 port 38094)
dmesg
doesn't show any problems nor references toXorg
or similar.ps -A | grep rdp
showsxrdp
andxrdp-sesman
processes running. Tried connecting with Windows 7 to Debian: same problem.xrdp.ini
andsasman.ini
:In
sesman.ini
theAlwaysGroupCheck=false
. Thestartwm.sh
:Any ideas? Running on a virtualized minimal, clean Debian 9.1 installation. Only only
lxde-core
andxrdp
installed withapt-get
. (No errors during installation.)xorgxrdp
drivers installed (since they depend onxrdp
). -
Davor Josipovic over 5 yearsWelcome to StackExchange. Your referenced questions doesn't contain the quoted text. Can you explain why
dpkg-reconfigure xserver-xorg-legacy
is needed?