相关安装的应用程序

相关安装的应用程序

我在 Raspberry Pi 3 上运行 Linux 4.4.48-2-ARCH #1 SMP Mon Feb 13 19:47:53 MST 2017 armv7l GNU/Linux。

相关安装的应用程序

  • XRDP
  • 老虎VNC
  • 光DM
  • Xdmcp
  • 系统

情况

在职的

  1. LightDM 在未启用自动调整的情况下运行,以便它可以在后台运行。
  2. 通过从菜单中手动选择“vnc-any”(autorun=在 参考资料中注释掉/etc/xrdp/xrdp.ini),使用 Windows 计算机上的远程桌面通过端口 3389(默认为 rdp)登录。
  3. 使用 systemd 套接字连接到超过 5900 个处于多用户模式的 TigerVNC 服务器,以在每次登录时启动使用 LightDM 的会话。

不工作

与上面的步骤相同,除了进行设置autorun=xrdp4以便/etc/xrdp/xrdp.ini我可以跳过 xrdp 登录菜单。

[xrdp4]
name=vnc-any
lib=libvnc.so
ip=127.0.0.1
port=5900
username=na
password=na

TigerVNC 配置

/etc/systemd/system/xvnc.socket

[Unit]
Description=XVNC Server

[Socket]
ListenStream=5900
Accept=yes

[Install]
WantedBy=sockets.target

/etc/systemd/system/xvnc@service

[Unit]
Description=XVNC Server

[Socket]
ListenStream=5900
Accept=yes

[Install]
WantedBy=sockets.target
[root@archpi system]# cat [email protected]
[Unit]
Description=XVNC Per-Connection Daemon

[Service]
ExecStart=-/usr/bin/Xvnc -inetd -query localhost -once -SecurityTypes=None
User=nobody
StandardInput=socket
StandardError=syslog

xRDP 日志输出

[20170216-18:19:59] [INFO ] A connection received from: 10.18.0.57 port 58163
[20170216-18:19:59] [INFO ] An established connection closed to endpoint: 10.18.0.57:58163 - socket: 8
[20170216-18:19:59] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:19:59] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20170216-18:19:59] [INFO ] A connection received from: 10.18.0.57 port 58164
[20170216-18:19:59] [INFO ] An established connection closed to endpoint: 10.18.0.57:58164 - socket: 8
[20170216-18:19:59] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:19:59] [DEBUG] MCS_CJRQ - channel join request received
[20170216-18:20:00] [DEBUG] MCS_CJRQ - channel join request received
[20170216-18:20:00] [DEBUG] MCS_CJRQ - channel join request received
[20170216-18:20:00] [DEBUG] MCS_CJRQ - channel join request received
[20170216-18:20:00] [DEBUG] xrdp_0000065c_wm_login_mode_event_00000001
[20170216-18:20:00] [WARN ] local keymap file for 0x0407 found and dosen't match built in keymap, using local keymap file
[20170216-18:20:00] [INFO ] The following channel is allowed: rdpdr (0)
[20170216-18:20:00] [INFO ] The following channel is allowed: rdpsnd (1)
[20170216-18:20:00] [INFO ] The following channel is allowed: cliprdr (2)
[20170216-18:20:00] [INFO ] The following channel is allowed: drdynvc (3)
[20170216-18:20:00] [DEBUG] The allow channel list now initialized for this session
[20170216-18:20:00] [DEBUG] returnvalue from xrdp_mm_connect 0
[20170216-18:20:00] [INFO ] An established connection closed to endpoint: 10.18.0.57:58164 - socket: 8
[20170216-18:20:00] [DEBUG] xrdp_mm_module_cleanup
[20170216-18:20:00] [DEBUG] VNC mod_exit
[20170216-18:20:00] [INFO ] An established connection closed to endpoint: 127.0.0.1:5900 - socket: 11

相关内容