Nov*_*vak 6 remote-desktop xrdp windows-10
我在虚拟 Ubuntu 18.04 机器上全新安装了 XRDP,但无法通过 Windows 10 笔记本电脑(我目前拥有的唯一测试设备)连接到它。
\nWindows 10 的错误消息是:
\nRemote Desktop can't connect to the remote computer for one of the following reasons:\n\n1) Remote access to the server is not enabled\n2) The remote computer is turned off\n3) The remote computer is not available on the network.\nRun Code Online (Sandbox Code Playgroud)\n也许更能说明问题的是 Ubuntu 机器上 XRDP 的状态,我在其中指出了一行似乎错误的内容:
\n____________:~$ sudo systemctl status xrdp\n\xe2\x97\x8f xrdp.service - xrdp daemon\n Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)\n Active: active (running) since Sat 2020-08-29 20:47:56 CDT; 4s ago\n Docs: man:xrdp(8)\n man:xrdp.ini(5)\n Process: 2551 ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill (code=exited, status=0/SUCCESS)\n Process: 2566 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)\n Process: 2558 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)\n Main PID: 2567 (xrdp)\n Tasks: 1 (limit: 4682)\n CGroup: /system.slice/xrdp.service\n \xe2\x94\x94\xe2\x94\x802567 /usr/sbin/xrdp\n\nAug 29 20:47:55 novakvm systemd[1]: Starting xrdp daemon...\nAug 29 20:47:55 novakvm xrdp[2566]: (2566)(139886408361792)[DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3389.\nAug 29 20:47:55 novakvm xrdp[2566]: (2566)(139886408361792)[DEBUG] Closed socket 7 (AF_INET6 :: port 3389)\n-----> Aug 29 20:47:55 novakvm systemd[1]: xrdp.service: Can't open PID file /var/run/xrdp/xrdp.pid (yet?) after start: No such file or directory <----- THIS ONE\nAug 29 20:47:56 novakvm systemd[1]: Started xrdp daemon.\nAug 29 20:47:57 novakvm xrdp[2567]: (2567)(139886408361792)[INFO ] starting xrdp with pid 2567\nAug 29 20:47:57 novakvm xrdp[2567]: (2567)(139886408361792)[INFO ] listening to port 3389 on 0.0.0.0\nRun Code Online (Sandbox Code Playgroud)\n这个文件是什么,它的含义是什么,这是否可能导致我的问题,我该怎么办?
\n(其他注意事项:Ubuntu机器上的3389端口是开放的,甚至在Windows机器上完全关闭防火墙并以管理员身份运行远程桌面也没有帮助。
\n小智 1
似乎提示是“没有这样的文件或目录”。该路径可能是错误的目的地或 xRDP 服务器找不到的目的地。
\n我确实遇到了类似的问题,与我们尝试使用 xRDP 的状态时收到的消息几乎相同sudo systemctl status xrdp。它说
xrdp.service: Can\xc2\xb4t open PID file /run/xrdp/xrdp.pid (yet?) after start: Operation not permitted\nRun Code Online (Sandbox Code Playgroud)\n也许尝试这条路径来解决您的问题:/run/xrdp/xrdp.pid
| 归档时间: |
|
| 查看次数: |
14623 次 |
| 最近记录: |