関連インストール済みアプリケーション

関連インストール済みアプリケーション

私は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

関連情報