(windows+xrdp+ubuntu16.04)远程服务器出错:“password failed error - problem connecting“

不啰嗦,直接给出问题和解决方法。

出现的问题

(windows+xrdp+ubuntu16.04)远程服务器出错:“password failed error - problem connecting“_第1张图片

解决方法

修改/etc/xrdp/sesman.ini该文件即可

  1. 打开文件/etc/xrdp/sesman.ini
sudo vim /etc/xrdp/sesman.ini

sesman.ini文件内容如下所示:

[Globals]
ListenAddress=127.0.0.1
ListenPort=3350
EnableUserWindowManager=1
UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh

[Security]
AllowRootLogin=1
MaxLoginRetry=4
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins

[Sessions]
X11DisplayOffset=10
MaxSessions=10
KillDisconnected=0
IdleTimeLimit=0
DisconnectedTimeLimit=0

[Logging]
LogFile=/var/log/xrdp-sesman.log
LogLevel=DEBUG
EnableSyslog=0
SyslogLevel=DEBUG

[X11rdp]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp

[Xvnc]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp
param5=-localhost
param6=-dpi
param7=96

  1. [Xvnc]下面添加param8=-SecurityTypesparam9=None
[Xvnc]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp
param5=-localhost
param6=-dpi
param7=96
param8=-SecurityTypes
param9=None

  1. 重启xrdp服务
sudo service xrdp restart

你可能感兴趣的:(工具,Tutorial)