관련 설치된 애플리케이션

관련 설치된 애플리케이션

저는 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"를 수동으로 선택하여 Windows 시스템의 원격 데스크톱을 사용하여 포트 3389(기본적으로 rdp)를 통해 로그인합니다 ( autorun=리소스에 주석 처리됨 )./etc/xrdp/xrdp.ini
  3. systemd 소켓을 사용하여 다중 사용자 모드에서 5900개 이상의 TigerVNC 서버에 연결하고 로그인할 때마다 LightDM을 사용하여 세션을 시작합니다.

작동 안함

xrdp 로그인 메뉴를 건너뛸 수 autorun=xrdp4있도록 설정하는 것을 제외하면 위와 동일한 단계입니다 ./etc/xrdp/xrdp.ini

[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

관련 정보