根据xrdp
文档,应该可以在不使用本地VNC服务器的情况下进行远程连接:
xrdp可以使用xorgxrdp驱动程序(我的重点)连接到本地创建的X.org会话, VNC X11服务器,并转发到另一台RDP服务器。
我可以从Windows与RDP连接:
然后,我选择Xorg会话并提供用户名和密码。超时后,会弹出有关未知连接问题的错误消息。
这是tail /var/log/xrdp.log
和tail /var/log/xrdp-sesman.log
输出:
[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 to Xorg
or similar. ps -A | grep rdp
shows xrdp
and xrdp-sesman
processes running. Tried connecting with Windows 7 to Debian: same problem. xrdp.ini
and sasman.ini
:
In sesman.ini
the AlwaysGroupCheck=false
. The startwm.sh
:
Any ideas? Running on a virtualized minimal, clean Debian 9.1 installation. Only only lxde-core
and xrdp
installed with apt-get
. (No errors during installation.) xorgxrdp
drivers installed (since they depend on xrdp
).
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
所需的服务在安装后自动启动。无需重启。连接和身份验证应自动显示桌面。
我不知道撤除会带来什么后果xserver-xorg-legacy
。在错误报告中,提到了如果不需要的话,将其删除。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句