我有一台 Windows 10 笔记本电脑,正在尝试通过 RDP 连接到 Ubuntu 14.04 桌面。
我在 ubuntu 站上安装了 TightVNC,然后安装了 xrdp,基本上按照这一页
当我在 Windows 笔记本电脑上启动 RDP 并尝试登录时,出现以下错误:
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
error - problem connecting
在 ubuntu 端,/var/log/xrdp-sesman.log 中的条目有:
[20190128-12:00:18] [INFO ] scp thread on sck 7 started successfully
[20190128-12:00:18] [INFO ] ++ created session (access granted): username user, ip 192.168.1.100:52303 - socket: 7
[20190128-12:00:18] [INFO ] starting Xvnc session...
[20190128-12:00:28] [ERROR] X server for display 10 startup timeout
[20190128-12:00:28] [ERROR] another Xserver is already active on display 10
[20190128-12:00:28] [DEBUG] aborting connection...
[20190128-12:00:28] [INFO ] ++ terminated session: username user, display :10.0, ~~~
这个错误是从哪里来的?
我已经尝试按照另一个论坛中建议的顺序重新安装 tightvncserver 和 xrdp。
答案1
将“用户名”添加到组 xrdp 帮助我解决了类似的问题:
sudo adduser [username] xrdp