简单的问题,但很难解决......到目前为止...... =|
如何使Manjaro (KDE)作为 rdp服务器工作?
注意: 我- 我们非常喜欢 rdp 协议,并且过去曾将它与其他 Linux 发行版 (Ubuntu) 一起用作服务器,但我们很难让 rdp 在 Manjaro (KDE) 作为服务器上工作; II - 我们知道远程访问还有许多其他选项,但我们的使用现实要求我们使用 RDP,所以请我们要求所有答案都专门针对 rdp 解决方案。
谢谢!=D
关于该主题的有趣链接:
https://forum.manjaro.org/t/not-able-to-rdp-from-windows-to-manjaro-vm-via-xrdp-xorg/94357/2
https://wiki.archlinux.org/index.php/xrdp
更新:
我们一直在努力让 rdp (xrdp) 与 Manjaro KDE (KDE5) 一起工作,但我们遇到了很多困难...... =|
我们在互联网上使用了大量的文档和信息,尤其是在这些链接中......
https://raw.githubusercontent.com/Microsoft/linux-vm-tools/master/arch/install-config.sh
https://www.hiroom2.com/2019/06/15/ubuntu-1904-xrdp-kde-en/
显然可以使 xrdp 与 KDE 5 一起使用,但我们无法使其与 Manjaro KDE 一起使用...
现在的情况:
. 登录 xrdp-sesman
less +F /var/log/xrdp-sesman.log
[20191211-14:03:27] [DEBUG] Closed socket 8 (AF_INET 127.0.0.1:3350)
[20191211-14:03:27] [INFO ] Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20191211-14:03:37] [ERROR] X server for display 10 startup timeout
[20191211-14:03:37] [CORE ] waiting for window manager (pid 5102) to exit
[20191211-14:03:37] [ERROR] X server for display 10 startup timeout
[20191211-14:03:37] [ERROR] another Xserver might already be active on display 10 - see log
[20191211-14:03:37] [DEBUG] aborting connection...
[20191211-14:03:37] [CORE ] window manager (pid 5102) did exit, cleaning up session
[20191211-14:03:37] [INFO ] calling auth_stop_session and auth_end from pid 5101
[20191211-14:03:37] [DEBUG] cleanup_sockets:
[20191211-14:03:37] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdp_chansrv_socket_10
[20191211-14:03:37] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdpapi_10
[20191211-14:03:37] [DEBUG] cleanup_sockets: failed to delete /tmp/.xrdp/xrdpapi_10
[20191211-14:03:37] [INFO ] ++ terminated session: username eduardolac, display :10.0, session_pid 5101, ip 192.168.12.1:33886 - socket: 1
. 记录 xrdp
less +F /var/log/xrdp.log
[20191211-14:05:19] [DEBUG] Closed socket 12 (AF_INET 192.168.12.253:3389)
[20191211-14:05:19] [DEBUG] xrdp_mm_module_cleanup
[20191211-14:05:19] [INFO ] Socket 12: AF_INET connection received from 192.168.12.1 port 34186
[20191211-14:05:19] [DEBUG] Closed socket 12 (AF_INET 192.168.12.253:3389)
[20191211-14:05:19] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20191211-14:05:19] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20191211-14:05:19] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20191211-14:05:19] [DEBUG] TLSv1.3 enabled
[20191211-14:05:19] [DEBUG] TLSv1.2 enabled
[20191211-14:05:19] [DEBUG] Security layer: requested 3, selected 0
[20191211-14:05:19] [INFO ] connected client computer name: eduardo-nb
[20191211-14:05:19] [INFO ] adding channel item name cliprdr chan_id 1004 flags 0xc0a00000
[20191211-14:05:19] [INFO ] adding channel item name drdynvc chan_id 1005 flags 0xc0800000
[20191211-14:05:19] [INFO ] Non-TLS connection established from 192.168.12.1 port 34186: encrypted with standard RDP security
[20191211-14:05:19] [DEBUG] xrdp_00001455_wm_login_mode_event_00000001
[20191211-14:05:19] [INFO ] Cannot find keymap file /etc/xrdp/km-00000416.ini
[20191211-14:05:19] [INFO ] Cannot find keymap file /etc/xrdp/km-00000416.ini
[20191211-14:05:19] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20191211-14:05:19] [WARN ] local keymap file for 0x00000416 found and doesn't match built in keymap, using local keymap file
[20191211-14:05:20] [DEBUG] Closed socket 23 (AF_UNIX)
. 雷米娜行为
它在两个屏幕之间振荡,因为这个图像......
要通过远程桌面协议(RDP)远程访问您的 Manjaro KDE(KDE 5、Plasma 5)(感谢@AJSlye),请安装 FreeRDP(http://www.freerdp.com/)...
注意: FreeRDP 是 Micro$$oft 的 RDP - 远程桌面协议的免费实现。
pacman -S --noconfirm freerdp
安装 FreeRDP 后,打开终端并(在您的服务器上)
freerdp-shadow-cli
使用您要用于远程登录的用户运行命令...对于 RDP 客户端(Manjaro KDE),我们推荐 KRDC ...
pacman -S --noconfirm krdc
最后考虑:
我们非常喜欢将 FreeRDP 作为服务器(“freerdp-shadow-cli”),它看起来非常轻巧且极其简单。如果它与服务管理器(如“systemctl”)集成,那就完美了!缺少关于“freerdp-shadow-cli”的文档让我们有点困扰。
我们还有其他选项,例如 xrdp ( http://xrdp.org/ ),但似乎 xrdp 尚未更新为 FreeRDP,并且对 Manjaro 和/或 KDE 5 的支持有限。我们希望看到它可以进行比较。 ..
进一步的问题:
地球上的任何人都可以使用 xrdp 使 Manjaro KDE(KDE 5、Plasma 5)作为 RDP 服务器工作吗?=|
谢谢!=D