2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

FreeBSDでxrdpが死んだので修復しようとしたら大変だった件

2
Last updated at Posted at 2022-08-19

どういう話?

自宅で運用している FreeBSDのファイルサーバー兼開発用PC で常用していたxrdpが動かなくなったので直そうとしたら大変なことになったのでまとめておきます。

経緯

FreeBSD(デスクトップ環境あり)にFirefoxを pkg で入れようとしたところ、 xrdpパッケージのバージョンが上がり、Windows機からリモートデスクトップで繋げられなくなった。おまけにOSのバージョンアップが要求された。

動作環境

  • OS: FreeBSD 12.2-RELEASE -> 12.3-RELEASE-p6
  • デスクトップ環境: lxqt
  • xrdp: 0.9.16,1 -> 0.9.19,1(最新版。死亡する) -> 0.9.17,1(portsから手動インストール)

xrdpとは

  • Linux、FreeBSD等のUnix系ホストにWindowsその他からのクライアントからリモートデスクトップアプリを使ってホストのデスクトップ環境にリモートアクセスできるようになる
  • Windowsのリモートデスクトップはvncよりは遥かに効率的(パケット的な意味で)
  • Android、iOSなどでもクライアントアプリが充実している

xrdp-0.9.19,1の状況

  • 本記事記述時点(2022年08月19日)の最新版
  • 確認した限りではUbuntu-22.04、FreeBSD-12.3の両方で正常動作しない
  • 詳細は未確定だが、最新版はまともに稼働しないと判断
  • 開発元にレポートを出したが返事なし
  • 本環境ではportsを使って0.9.17,1にダウングレードして解決

デスクトップ環境の修正手順

  • OSのバージョンを上げないとpkgが言うことを聞いてくれないので、仕方なくバージョンアップ
    • ※pkg群がある程度以上新しくなると、古いOSのサポートが事実上切れる
  • freebsd-update で更新し始めるが、/etc以下の設定ファイル群が死ぬほどconflictする。泣きながら50回位手動でマージした
  • ようやくpkgを更新する
  • が、デスクトップ環境が全滅していることを悟る
  • xrdpの稼働以前にデスクトップ環境が正常動作していないため、まずこの部分の復旧を目指す
  • 正常動作する環境の基準がないため、FreeBSD-12.3をクリーンインストールした環境をVirtualBox上に構築する
    • こちらでは割とあっさり稼働するように
  • デスクトップ環境構築の基本はxorgを入れ、コマンドラインでstartwmを叩き、素のデスクトップが立ち上がるのを確認すること
  • xorgの動作ログは /var/log/Xorg.0.log
  • XFree86.Console の初期化に失敗しているのがログ上で読み取れるが、ネットで検索しても記事が見つからない
  • エラー発生箇所のソースコードを確認したところデバイスハンドルに対するioctlで失敗しているのでデバイスドライバが不足していると判断
  • 実環境と正常稼働している仮想ホストそれぞれでkldstatをかける
  • i915kms, intpm, smbus が不足していると判明したので rc.confに追記
    • kld_list="/boot/modules/i915kms.ko intpm.ko smbus.ko"
  • このあたりで実環境でもデスクトップ環境が起動できるようになったが、グラフィカルログイン画面でキータイプできない(キーコードが化ける)
    • なおデスクトップ環境なしの素のコンソール画面だと問題ないため、xorg上に構築された環境固有の問題と判断
    • 最終的にxrdp越しにログインできればいいので、キーバインドの設定ファイル(/usr/local/etc/X11/xorg.conf.d/keyboard.conf)だけ追加した状態で slimの方を rc.confから 除去する

xrdp環境の修正手順

  • 上記検証で xrdp-0.9.19,1 は動作しそうもないためダウングレードを図る
  • だがport更新済みだとportsツリー自体が xrdp-0.9.19,1 になっている
  • portdowngrade を使うのが定跡だが、どうも 0.9.15 が最新でそれより新しいバージョンが取れない
    • どうも2021年あたりで portsツリーのSubversion更新が途絶えている模様。調べてもわからない。今どうなってる?
  • FreeBSD 12.3-RELEASE のOS DVDを使ってそのまま構築すると 0.9.17,1 が入っている
  • やむをえず、12.3-RELEASEの仮想環境のportから net/xrdp および x11-drivers/xorgxrdp のディレクトリをtarballにまとめ、実機側に上書きした
  • 実機側でpkg版の xrdpおよびxorgxrdpを除去し、portsからインストールする。 makeにスイッチを追加することになるが、エラーメッセージで分かるのでこの記事では省略。
  • 入れてみたがまだ動かないので、動くまで設定ファイルをいじる(詳細下記)

まとめ。今回の教訓

  • pkgアップデートはあまり放置してるとまともに稼働しなくなる
  • (OSと比べてpkgが新しくなりすぎたときは)FreeBSD自体のアップデートもやむなし
  • 正常稼働するバージョンのportsがどうしても欲しいときはFreeBSDのインストーディスク(およびそのインストール環境)から取ってくるのもアリ
  • 仮想とは言え正常動作の環境を手元に構築することでようやくまともに復旧作業が始められる(2ホスト間の差分だけ確認すれば良くなるため)
  • portdowngradeがまともに動かないので最近はどうやってるのか知りたいところ

参考: /etc/rc.conf の内容(抜粋)

kld_list="/boot/modules/i915kms.ko intpm.ko smbus.ko"

keymap="jp"
powerd_enable="YES"
dumpdev="AUTO"
linux_enable="YES"
dbus_enable="YES"
hald_enable="YES"

sddm_enable="yes"
sddm_lang="ja_JP"
polkitd_enable="YES"

xrdp_enable="YES"
xrdp_sesman_enable="YES"

参考: kldstatの内容(実機、正常稼働時)

Id Refs Address                Size Name
 1   73 0xffffffff80200000  2295a98 kernel
 2    1 0xffffffff82721000   24ca08 zfs.ko
 3    1 0xffffffff8296e000     75a8 opensolaris.ko
 4    1 0xffffffff82976000     1a20 fdescfs.ko
 5    1 0xffffffff82978000     54f8 linprocfs.ko
 6    4 0xffffffff8297e000     cbf0 linux_common.ko
 7    1 0xffffffff8298b000     1f3c linsysfs.ko
 8    1 0xffffffff8298d000     89e0 tmpfs.ko
 9    1 0xffffffff82996000   12c00c i915kms.ko
10    1 0xffffffff82ac3000    75f10 drm.ko
11    3 0xffffffff82b39000    13f30 linuxkpi_gplv2.ko
12    2 0xffffffff82b4d000      6d0 debugfs.ko
13    1 0xffffffff82b4e000     2698 intpm.ko
14    1 0xffffffff82b51000      b40 smbus.ko
15    1 0xffffffff82b52000     2150 acpi_wmi.ko
16    1 0xffffffff82b55000     1860 uhid.ko
17    1 0xffffffff82b57000     2908 ums.ko
18    1 0xffffffff82b5a000    34488 linux.ko
19    1 0xffffffff82b8f000    2dd08 linux64.ko
20    1 0xffffffff82bbd000      acf mac_ntpd.ko

参考: /usr/local/etc/X11/xorg.conf.d/keyboard.conf の内容

Section "InputClass"
        Identifier  "Keyboard0"
        Driver      "keyboard"

        MatchIsKeyboard "on"
        Option "XkbRules"       "xorg"
        Option "XkbModel"       "jp106"
        Option "XkbLayout"      "jp"
EndSection

参考: /usr/local/etc/xrdp/startwm.sh

#!/bin/sh
#
# This script is an example. Edit this to suit your needs.
# If ${HOME}/startwm.sh exists, xrdp-sesman will execute it instead of this.

#### set environment variables here if you want
export LC_ALL=ja_JP.UTF-8
export LANGUAGE=ja_JP.UTF-8
export LANG=ja_JP.UTF-8

#### start desktop environment
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/local/lib/qt5/plugins/
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=xim
export XMODIFIERS=@im=fcitx
#/usr/local/bin/mozc start
#fcitx -r -d

setxkbmap -layout jp
xset s off
xset -dpms
exec ck-launch-session dbus-launch --exit-with-session startlxqt

参考: /usr/local/etc/xrdp/sesman.ini

;; See `man 5 sesman.ini` for details

[Globals]
ListenAddress=127.0.0.1
ListenPort=3350
EnableUserWindowManager=true
; Give in relative path to user's home directory
UserWindowManager=startwm.sh
; Give in full path or relative path to /usr/local/etc/xrdp
DefaultWindowManager=startwm.sh
; Give in full path or relative path to /usr/local/etc/xrdp
ReconnectScript=reconnectwm.sh

[Security]
AllowRootLogin=true
MaxLoginRetry=4
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
; When AlwaysGroupCheck=false access will be permitted
; if the group TerminalServerUsers is not defined.
AlwaysGroupCheck=false
; When RestrictOutboundClipboard=true clipboard from the
; server is not pushed to the client.
RestrictOutboundClipboard=false

[Sessions]
;; X11DisplayOffset - x11 display number offset
; Type: integer
; Default: 10
X11DisplayOffset=10

;; MaxSessions - maximum number of connections to an xrdp server
; Type: integer
; Default: 0
; MaxSessions=50
MaxSessions=100

;; KillDisconnected - kill disconnected sessions
; Type: boolean
; Default: false
; if 1, true, or yes, kill session after 60 seconds
; KillDisconnected=false
KillDisconnected=true

;; DisconnectedTimeLimit - when to kill idle sessions
; Type: integer
; Default: 0
; if not zero, the seconds before a disconnected session is killed
; min 60 seconds
DisconnectedTimeLimit=0

;; IdleTimeLimit (specify in second) - wait before disconnect idle sessions
; Type: integer
; Default: 0
; Set to 0 to disable idle disconnection.
IdleTimeLimit=0

;; Policy - session allocation policy
; Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ]
; Default: Xrdp:<User,BitPerPixel> and Xvnc:<User,BitPerPixel,DisplaySize>
; "UBD" session per <User,BitPerPixel,DisplaySize>
; "UBI" session per <User,BitPerPixel,IPAddr>
; "UBC" session per <User,BitPerPixel,Connection>
; "UBDI" session per <User,BitPerPixel,DisplaySize,IPAddr>
; "UBDC" session per <User,BitPerPixel,DisplaySize,Connection>
Policy=Default

[Logging]
LogFile=xrdp-sesman.log
LogLevel=DEBUG
EnableSyslog=1
SyslogLevel=DEBUG

;
; Session definitions - startup command-line parameters for each session type
;

[Xorg]
; Specify the path of non-suid Xorg executable. It might differ depending
; on your distribution and version. The typical path is shown as follows:
;
; Fedora 26 or later    :  param=/usr/libexec/Xorg
; Debian 9 or later     :  param=/usr/lib/xorg/Xorg
; Ubuntu 16.04 or later :  param=/usr/lib/xorg/Xorg
; Arch Linux            :  param=/usr/lib/xorg-server/Xorg
; CentOS 7              :  param=/usr/bin/Xorg or param=Xorg
;
param=Xorg
; Leave the rest paramaters as-is unless you understand what will happen.
param=-config
param=xrdp/xorg.conf
param=-noreset
param=-nolisten
param=tcp
#param=-logfile
#param=.xorgxrdp.%s.log

[Xvnc]
param=Xvnc
param=-bs
param=-nolisten
param=tcp
param=-localhost
param=-dpi
param=96

[Chansrv]
; drive redirection, defaults to xrdp_client if not set
FuseMountName=thinclient_drives
; this value allows only the user to acess their own mapped drives.
; Make this more permissive (e.g. 022) if required.
FileUmask=077

[SessionVariables]
PULSE_SCRIPT=/usr/local/etc/xrdp/pulse/default.pa

/usr/local/etc/xrdp/xrdp.ini

標準のままで良い

参考: /var/log/Xorg.0.log の例

実機。実コンソール側。正常稼働時。ディスプレイ接続時。
xorg起動時にGPUやディスプレイを動的にスキャンしているようです。

ディスプレイを抜いて起動したら "no display" になって落ちますが無問題です。

[    23.524] (--) Log file renamed from "/var/log/Xorg.pid-946.log" to "/var/log/Xorg.0.log"
[    23.537]
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    23.537] Current Operating System: FreeBSD freeblack2 12.3-RELEASE-p6 FreeBSD 12.3-RELEASE-p6 GENERIC amd64
[    23.537]
[    23.537] Current version of pixman: 0.40.0
[    23.537]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    23.537] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    23.537] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 19 20:03:44 2022
[    23.549] (==) Using config file: "/usr/local/etc/X11/xorg.conf"
[    23.549] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[    23.549] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    23.558] (==) ServerLayout "X.org Configured"
[    23.558] (**) |-->Screen "Screen0" (0)
[    23.558] (**) |   |-->Monitor "Monitor0"
[    23.560] (**) |   |-->Device "Card0"
[    23.560] (**) |-->Input Device "Mouse0"
[    23.560] (**) |-->Input Device "Keyboard0"
[    23.560] (==) Automatically adding devices
[    23.560] (==) Automatically enabling devices
[    23.560] (==) Not automatically adding GPU devices
[    23.560] (==) Automatically binding GPU devices
[    23.560] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    23.579] (**) FontPath set to:
        /usr/local/share/fonts/misc/,
        /usr/local/share/fonts/TTF/,
        /usr/local/share/fonts/OTF/,
        /usr/local/share/fonts/Type1/,
        /usr/local/share/fonts/100dpi/,
        /usr/local/share/fonts/75dpi/,
        catalogue:/usr/local/etc/X11/fontpath.d,
        /usr/local/share/fonts/misc/,
        /usr/local/share/fonts/TTF/,
        /usr/local/share/fonts/OTF/,
        /usr/local/share/fonts/Type1/,
        /usr/local/share/fonts/100dpi/,
        /usr/local/share/fonts/75dpi/,
        catalogue:/usr/local/etc/X11/fontpath.d
[    23.579] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[    23.579] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    23.579] (WW) Disabling Mouse0
[    23.579] (WW) Disabling Keyboard0
[    23.581] (II) Module ABI versions:
[    23.581]    X.Org ANSI C Emulation: 0.4
[    23.581]    X.Org Video Driver: 25.2
[    23.581]    X.Org XInput driver : 24.4
[    23.581]    X.Org Server Extension : 10.0
[    23.583] (--) PCI:*(0@0:2:0) 8086:0162:1849:0162 rev 9, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536
[    23.584] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    23.584] (II) LoadModule: "glx"
[    23.591] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    23.629] (II) Module glx: vendor="X.Org Foundation"
[    23.629]    compiled for 1.21.1.4, module version = 1.0.0
[    23.629]    ABI class: X.Org Server Extension, version 10.0
[    23.630] (II) LoadModule: "intel"
[    23.630] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[    23.642] (II) Module intel: vendor="X.Org Foundation"
[    23.642]    compiled for 1.21.1.4, module version = 2.99.917
[    23.643]    Module class: X.Org Video Driver
[    23.643]    ABI class: X.Org Video Driver, version 25.2
[    23.643] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    23.643] (II) intel: Driver for Intel(R) HD Graphics
[    23.643] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    23.643] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    23.643] (--) Using syscons driver with X support (version 2.0)
[    23.643] (++) using VT number 9

[    23.644] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    23.644] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    23.644] (==) intel(0): RGB weight 888
[    23.644] (==) intel(0): Default visual is TrueColor
[    23.644] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[    23.645] (**) intel(0): Relaxed fencing enabled
[    23.645] (**) intel(0): Wait on SwapBuffers? enabled
[    23.645] (**) intel(0): Triple buffering? enabled
[    23.645] (**) intel(0): Framebuffer tiled
[    23.645] (**) intel(0): Pixmaps tiled
[    23.645] (**) intel(0): 3D buffers tiled
[    23.645] (**) intel(0): SwapBuffers wait enabled
[    23.645] (==) intel(0): video overlay key set to 0x101fe
[    23.650] (II) intel(0): Output VGA-1 using monitor section Monitor0
[    23.677] (II) intel(0): Output HDMI-1 has no monitor section
[    23.756] (II) intel(0): Output DP-1 has no monitor section
[    23.908] (II) intel(0): Output HDMI-2 has no monitor section
[    23.909] (II) intel(0): Output HDMI-3 has no monitor section
[    23.909] (II) intel(0): Output DP-2 has no monitor section
[    23.909] (II) intel(0): Output DP-3 has no monitor section
[    23.909] (II) intel(0): EDID for output VGA-1
[    23.935] (II) intel(0): EDID for output HDMI-1
[    23.936] (II) intel(0): Manufacturer: ACR  Model: 83  Serial#: 2449473607
[    23.936] (II) intel(0): Year: 2009  Week: 20
[    23.936] (II) intel(0): EDID Version: 1.3
[    23.936] (II) intel(0): Digital Display Input
[    23.936] (II) intel(0): Max Image Size [cm]: horiz.: 48  vert.: 27
[    23.936] (II) intel(0): Gamma: 2.20
[    23.936] (II) intel(0): DPMS capabilities: Off
[    23.936] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    23.936] (II) intel(0): Default color space is primary color space
[    23.936] (II) intel(0): First detailed timing is preferred mode
[    23.936] (II) intel(0): redX: 0.644 redY: 0.348   greenX: 0.286 greenY: 0.603
[    23.936] (II) intel(0): blueX: 0.143 blueY: 0.070   whiteX: 0.313 whiteY: 0.329
[    23.936] (II) intel(0): Supported established timings:
[    23.936] (II) intel(0): 720x400@70Hz
[    23.936] (II) intel(0): 640x480@60Hz
[    23.936] (II) intel(0): 640x480@67Hz
[    23.936] (II) intel(0): 640x480@72Hz
[    23.936] (II) intel(0): 640x480@75Hz
[    23.936] (II) intel(0): 800x600@56Hz
[    23.936] (II) intel(0): 800x600@60Hz
[    23.936] (II) intel(0): 800x600@72Hz
[    23.936] (II) intel(0): 800x600@75Hz
[    23.936] (II) intel(0): 832x624@75Hz
[    23.936] (II) intel(0): 1024x768@60Hz
[    23.936] (II) intel(0): 1024x768@70Hz
[    23.936] (II) intel(0): 1024x768@75Hz
[    23.936] (II) intel(0): 1280x1024@75Hz
[    23.936] (II) intel(0): 1152x864@75Hz
[    23.936] (II) intel(0): Manufacturer's mask: 0
[    23.936] (II) intel(0): Supported standard timings:
[    23.936] (II) intel(0): #0: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[    23.936] (II) intel(0): #1: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[    23.936] (II) intel(0): #2: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    23.936] (II) intel(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    23.936] (II) intel(0): #6: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    23.936] (II) intel(0): Supported detailed timing:
[    23.936] (II) intel(0): clock: 148.5 MHz   Image Size:  476 x 268 mm
[    23.936] (II) intel(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    23.936] (II) intel(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[    23.936] (II) intel(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 82 kHz, PixClock max 165 MHz
[    23.936] (II) intel(0): Serial No: LF6080184211
[    23.936] (II) intel(0): Monitor name: Acer H223HQ
[    23.936] (II) intel(0): Supported detailed timing:
[    23.936] (II) intel(0): clock: 27.0 MHz   Image Size:  476 x 268 mm
[    23.936] (II) intel(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
[    23.936] (II) intel(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
[    23.936] (II) intel(0): Supported detailed timing:
[    23.936] (II) intel(0): clock: 74.2 MHz   Image Size:  476 x 268 mm
[    23.936] (II) intel(0): h_active: 1280  h_sync: 1390  h_sync_end 1430 h_blank_end 1650 h_border: 0
[    23.936] (II) intel(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    23.936] (II) intel(0): Supported detailed timing:
[    23.936] (II) intel(0): clock: 74.2 MHz   Image Size:  476 x 268 mm
[    23.936] (II) intel(0): h_active: 1280  h_sync: 1720  h_sync_end 1760 h_blank_end 1980 h_border: 0
[    23.936] (II) intel(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    23.936] (II) intel(0): Supported detailed timing:
[    23.936] (II) intel(0): clock: 27.0 MHz   Image Size:  476 x 268 mm
[    23.936] (II) intel(0): h_active: 720  h_sync: 732  h_sync_end 796 h_blank_end 864 h_border: 0
[    23.936] (II) intel(0): v_active: 576  v_sync: 581  v_sync_end 586 v_blanking: 625 v_border: 0
[    23.936] (II) intel(0): Number of EDID sections to follow: 1
[    23.936] (II) intel(0): EDID (in hex):
[    23.936] (II) intel(0):     00ffffffffffff000472830047000092
[    23.936] (II) intel(0):     1413010380301b782ec585a459499a24
[    23.936] (II) intel(0):     125054bfef8081c08140714f81800101
[    23.936] (II) intel(0):     010181000101023a801871382d40582c
[    23.936] (II) intel(0):     4500dc0c1100001e000000fd00384c1e
[    23.936] (II) intel(0):     5210000a202020202020000000ff004c
[    23.936] (II) intel(0):     46363038303138343231310a000000fc
[    23.936] (II) intel(0):     0041636572204832323348510a2001b3
[    23.936] (II) intel(0):     02031ef24b050403011213142122101f
[    23.936] (II) intel(0):     230907078301000065030c0010008c0a
[    23.936] (II) intel(0):     d08a20e02d10103e9600dc0c11000018
[    23.936] (II) intel(0):     011d007251d01e206e285500dc0c1100
[    23.936] (II) intel(0):     001e011d00bc52d01e20b8285540dc0c
[    23.936] (II) intel(0):     1100001e8c0ad090204031200c405500
[    23.936] (II) intel(0):     dc0c1100001800000000000000000000
[    23.936] (II) intel(0):     00000000000000000000000000000074
[    23.936] (II) intel(0): Printing probed modes for output HDMI-1
[    23.936] (II) intel(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    23.936] (II) intel(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    23.936] (II) intel(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    23.936] (II) intel(0): Modeline "1920x1080i"x60.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    23.936] (II) intel(0): Modeline "1920x1080i"x50.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    23.936] (II) intel(0): Modeline "1920x1080"x30.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[    23.936] (II) intel(0): Modeline "1920x1080"x25.0   74.25  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (28.1 kHz e)
[    23.936] (II) intel(0): Modeline "1920x1080i"x59.9   74.18  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[    23.936] (II) intel(0): Modeline "1920x1080"x30.0   74.18  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.7 kHz e)
[    23.936] (II) intel(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    23.936] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    23.936] (II) intel(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[    23.936] (II) intel(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    23.936] (II) intel(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    23.936] (II) intel(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    23.936] (II) intel(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    23.936] (II) intel(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    23.936] (II) intel(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    23.936] (II) intel(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    23.936] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    23.936] (II) intel(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    23.936] (II) intel(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    23.936] (II) intel(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    23.936] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    23.936] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    23.936] (II) intel(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    23.936] (II) intel(0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    23.936] (II) intel(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    23.936] (II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    23.936] (II) intel(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    23.936] (II) intel(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    23.936] (II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    23.936] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    23.936] (II) intel(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    24.015] (II) intel(0): EDID for output DP-1
[    24.168] (II) intel(0): EDID for output HDMI-2
[    24.169] (II) intel(0): EDID for output HDMI-3
[    24.169] (II) intel(0): EDID for output DP-2
[    24.169] (II) intel(0): EDID for output DP-3
[    24.169] (II) intel(0): Output VGA-1 disconnected
[    24.169] (II) intel(0): Output HDMI-1 connected
[    24.169] (II) intel(0): Output DP-1 disconnected
[    24.169] (II) intel(0): Output HDMI-2 disconnected
[    24.169] (II) intel(0): Output HDMI-3 disconnected
[    24.169] (II) intel(0): Output DP-2 disconnected
[    24.169] (II) intel(0): Output DP-3 disconnected
[    24.169] (II) intel(0): Using exact sizes for initial modes
[    24.169] (II) intel(0): Output HDMI-1 using initial mode 1920x1080 +0+0
[    24.169] (II) intel(0): Kernel page flipping support detected, enabling
[    24.169] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[    24.169] (==) intel(0): DPI set to (96, 96)
[    24.169] (II) Loading sub module "fb"
[    24.169] (II) LoadModule: "fb"
[    24.169] (II) Module "fb" already built-in
[    24.169] (II) Loading sub module "dri2"
[    24.169] (II) LoadModule: "dri2"
[    24.169] (II) Module "dri2" already built-in
[    24.169] (II) intel(0): Allocated new frame buffer 1920x1080 stride 7680, tiled
[    24.175] (II) UXA(0): Driver registered support for the following operations:
[    24.175] (II)         solid
[    24.175] (II)         copy
[    24.175] (II)         composite (RENDER acceleration)
[    24.175] (II)         put_image
[    24.175] (II)         get_image
[    24.177] (II) intel(0): [DRI2] Setup complete
[    24.177] (II) intel(0): [DRI2]   DRI driver: i965
[    24.177] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    24.179] (==) intel(0): Backing store enabled
[    24.179] (==) intel(0): Silken mouse enabled
[    24.180] (II) intel(0): Initializing HW Cursor
[    24.182] (==) intel(0): DPMS enabled
[    24.182] (==) intel(0): Intel XvMC decoder enabled
[    24.183] (II) intel(0): Set up textured video
[    24.184] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[    24.184] (II) intel(0): DRI2: Enabled
[    24.184] (II) intel(0): DRI3: Disabled
[    24.184] (==) intel(0): hotplug detection: "enabled"
[    24.215] (II) Initializing extension Generic Event Extension
[    24.215] (II) Initializing extension SHAPE
[    24.216] (II) Initializing extension MIT-SHM
[    24.216] (II) Initializing extension XInputExtension
[    24.218] (II) Initializing extension XTEST
[    24.218] (II) Initializing extension BIG-REQUESTS
[    24.218] (II) Initializing extension SYNC
[    24.219] (II) Initializing extension XKEYBOARD
[    24.220] (II) Initializing extension XC-MISC
[    24.220] (II) Initializing extension SECURITY
[    24.220] (II) Initializing extension XFIXES
[    24.220] (II) Initializing extension RENDER
[    24.220] (II) Initializing extension RANDR
[    24.221] (II) Initializing extension COMPOSITE
[    24.222] (II) Initializing extension DAMAGE
[    24.222] (II) Initializing extension MIT-SCREEN-SAVER
[    24.222] (II) Initializing extension DOUBLE-BUFFER
[    24.222] (II) Initializing extension RECORD
[    24.223] (II) Initializing extension DPMS
[    24.223] (II) Initializing extension Present
[    24.223] (II) Initializing extension DRI3
[    24.223] (II) Initializing extension X-Resource
[    24.224] (II) Initializing extension XVideo
[    24.224] (II) Initializing extension XVideo-MotionCompensation
[    24.224] (II) Initializing extension GLX
[    24.321] (II) AIGLX: Loaded and initialized i965
[    24.321] (II) GLX: Initialized DRI2 GL provider for screen 0
[    24.321] (II) Initializing extension XFree86-VidModeExtension
[    24.321] (II) Initializing extension XFree86-DGA
[    24.321] (II) Initializing extension XFree86-DRI
[    24.321] (II) Initializing extension DRI2
[    24.322] (II) intel(0): Setting screen physical size to 508 x 285
[    24.483] (II) config/udev: Adding input device System mouse (/dev/input/event0)
[    24.483] (**) System mouse: Applying InputClass "evdev pointer catchall"
[    24.483] (**) System mouse: Applying InputClass "libinput pointer catchall"
[    24.483] (II) LoadModule: "libinput"
[    24.484] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[    24.497] (II) Module libinput: vendor="X.Org Foundation"
[    24.497]    compiled for 1.21.1.4, module version = 1.2.0
[    24.497]    Module class: X.Org XInput Driver
[    24.497]    ABI class: X.Org XInput driver, version 24.4
[    24.497] (II) Using input driver 'libinput' for 'System mouse'
[    24.497] (**) System mouse: always reports core events
[    24.497] (**) Option "Device" "/dev/input/event0"
[    24.499] (**) Option "_source" "server/udev"
[    24.522] (II) event0  - System mouse: is tagged by udev as: Mouse
[    24.524] (II) event0  - System mouse: device is a pointer
[    24.527] (II) event0  - System mouse: device removed
[    24.527] (**) Option "config_info" "udev:/dev/input/event0"
[    24.527] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 6)
[    24.527] (**) Option "AccelerationScheme" "none"
[    24.527] (**) System mouse: (accel) selected scheme none/0
[    24.527] (**) System mouse: (accel) acceleration factor: 2.000
[    24.527] (**) System mouse: (accel) acceleration threshold: 4
[    24.530] (II) event0  - System mouse: is tagged by udev as: Mouse
[    24.532] (II) event0  - System mouse: device is a pointer
[    24.534] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event1)
[    24.534] (**) System keyboard multiplexer: Applying InputClass "evdev keyboard catchall"
[    24.534] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[    24.534] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[    24.534] (**) System keyboard multiplexer: Applying InputClass "Keyboard Defaults"
[    24.534] (**) System keyboard multiplexer: Applying InputClass "Keyboard0"
[    24.534] (II) LoadModule: "kbd"
[    24.534] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[    24.535] (II) Module kbd: vendor="X.Org Foundation"
[    24.535]    compiled for 1.21.1.4, module version = 1.9.0
[    24.535]    Module class: X.Org XInput Driver
[    24.535]    ABI class: X.Org XInput driver, version 24.4
[    24.535] (II) Using input driver 'kbd' for 'System keyboard multiplexer'
[    24.535] (**) System keyboard multiplexer: always reports core events
[    24.535] (**) System keyboard multiplexer: always reports core events
[    24.535] (**) Option "Protocol" "standard"
[    24.535] (**) Option "Device" "/dev/input/event1"
[    24.535] (**) Option "XkbRules" "xorg"
[    24.535] (**) Option "XkbModel" "jp106"
[    24.535] (**) Option "XkbLayout" "jp"
[    24.535] (**) Option "config_info" "udev:/dev/input/event1"
[    24.535] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 7)
[    24.554] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    24.554] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    24.554] (**) Power Button: Applying InputClass "Evdev keyboard"
[    24.554] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    24.554] (**) Power Button: Applying InputClass "Keyboard Defaults"
[    24.554] (**) Power Button: Applying InputClass "Keyboard0"
[    24.554] (II) Using input driver 'kbd' for 'Power Button'
[    24.554] (**) Power Button: always reports core events
[    24.554] (**) Power Button: always reports core events
[    24.554] (**) Option "Protocol" "standard"
[    24.554] (**) Option "Device" "/dev/input/event2"
[    24.554] (**) Option "XkbRules" "xorg"
[    24.554] (**) Option "XkbModel" "jp106"
[    24.554] (**) Option "XkbLayout" "jp"
[    24.554] (**) Option "config_info" "udev:/dev/input/event2"
[    24.554] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    24.554] (II) config/udev: Adding input device AT keyboard (/dev/input/event3)
[    24.554] (**) AT keyboard: Applying InputClass "evdev keyboard catchall"
[    24.554] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[    24.554] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[    24.554] (**) AT keyboard: Applying InputClass "Keyboard Defaults"
[    24.554] (**) AT keyboard: Applying InputClass "Keyboard0"
[    24.554] (II) Using input driver 'kbd' for 'AT keyboard'
[    24.554] (**) AT keyboard: always reports core events
[    24.554] (**) AT keyboard: always reports core events
[    24.554] (**) Option "Protocol" "standard"
[    24.554] (**) Option "Device" "/dev/input/event3"
[    24.554] (**) Option "XkbRules" "xorg"
[    24.554] (**) Option "XkbModel" "jp106"
[    24.554] (**) Option "XkbLayout" "jp"
[    24.554] (**) Option "config_info" "udev:/dev/input/event3"
[    24.554] (II) XINPUT: Adding extended input device "AT keyboard" (type: KEYBOARD, id 9)
[    24.554] (II) config/udev: Adding input device EndPoint1 Interrupt (/dev/input/event4)
[    24.554] (**) EndPoint1 Interrupt: Applying InputClass "evdev keyboard catchall"
[    24.554] (**) EndPoint1 Interrupt: Applying InputClass "Evdev keyboard"
[    24.554] (**) EndPoint1 Interrupt: Applying InputClass "libinput keyboard catchall"
[    24.554] (**) EndPoint1 Interrupt: Applying InputClass "Keyboard Defaults"
[    24.554] (**) EndPoint1 Interrupt: Applying InputClass "Keyboard0"
[    24.554] (II) Using input driver 'kbd' for 'EndPoint1 Interrupt'
[    24.554] (**) EndPoint1 Interrupt: always reports core events
[    24.554] (**) EndPoint1 Interrupt: always reports core events
[    24.554] (**) Option "Protocol" "standard"
[    24.554] (**) Option "Device" "/dev/input/event4"
[    24.554] (**) Option "XkbRules" "xorg"
[    24.554] (**) Option "XkbModel" "jp106"
[    24.554] (**) Option "XkbLayout" "jp"
[    24.554] (**) Option "config_info" "udev:/dev/input/event4"
[    24.554] (II) XINPUT: Adding extended input device "EndPoint1 Interrupt" (type: KEYBOARD, id 10)
[    24.554] (II) config/udev: Adding input device EP2 Interrupt (/dev/input/event5)
[    24.554] (**) EP2 Interrupt: Applying InputClass "evdev pointer catchall"
[    24.554] (**) EP2 Interrupt: Applying InputClass "libinput pointer catchall"
[    24.554] (II) Using input driver 'libinput' for 'EP2 Interrupt'
[    24.554] (**) EP2 Interrupt: always reports core events
[    24.554] (**) Option "Device" "/dev/input/event5"
[    24.554] (**) Option "_source" "server/udev"
[    24.558] (II) event5  - EP2 Interrupt: is tagged by udev as: Mouse
[    24.560] (II) event5  - EP2 Interrupt: device is a pointer
[    24.562] (II) event5  - EP2 Interrupt: device removed
[    24.562] (**) Option "config_info" "udev:/dev/input/event5"
[    24.562] (II) XINPUT: Adding extended input device "EP2 Interrupt" (type: MOUSE, id 11)
[    24.562] (**) Option "AccelerationScheme" "none"
[    24.562] (**) EP2 Interrupt: (accel) selected scheme none/0
[    24.562] (**) EP2 Interrupt: (accel) acceleration factor: 2.000
[    24.562] (**) EP2 Interrupt: (accel) acceleration threshold: 4
[    24.565] (II) event5  - EP2 Interrupt: is tagged by udev as: Mouse
[    24.567] (II) event5  - EP2 Interrupt: device is a pointer

参考: /var/log/Xorg.10.log の例

実機。xrdp仮想コンソール側。正常稼働時。
上記設定にあるようにDisplay:10 に設定しています。

[    88.105]
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    88.105] Current Operating System: FreeBSD freeblack2 12.3-RELEASE-p6 FreeBSD 12.3-RELEASE-p6 GENERIC amd64
[    88.105]
[    88.105] Current version of pixman: 0.40.0
[    88.105]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    88.105] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    88.105] (==) Log file: "/var/log/Xorg.10.log", Time: Thu Aug 18 20:39:06 2022
[    88.107] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[    88.107] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[    88.107] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    88.109] (**) Option "defaultserverlayout" "X11 Server"
[    88.109] (**) ServerLayout "X11 Server"
[    88.109] (**) |-->Screen "Screen (xrdpdev)" (0)
[    88.109] (**) |   |-->Monitor "Monitor"
[    88.110] (**) |   |-->Device "Video Card (xrdpdev)"
[    88.110] (**) |-->Input Device "xrdpMouse"
[    88.110] (**) |-->Input Device "xrdpKeyboard"
[    88.110] (**) Option "DontVTSwitch" "on"
[    88.110] (**) Option "AutoAddDevices" "off"
[    88.110] (**) Not automatically adding devices
[    88.110] (==) Automatically enabling devices
[    88.110] (==) Not automatically adding GPU devices
[    88.110] (==) Automatically binding GPU devices
[    88.110] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    88.120] (==) FontPath set to:
        /usr/local/share/fonts/misc/,
        /usr/local/share/fonts/TTF/,
        /usr/local/share/fonts/OTF/,
        /usr/local/share/fonts/Type1/,
        /usr/local/share/fonts/100dpi/,
        /usr/local/share/fonts/75dpi/,
        catalogue:/usr/local/etc/X11/fontpath.d
[    88.120] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    88.121] (II) Module ABI versions:
[    88.121]    X.Org ANSI C Emulation: 0.4
[    88.121]    X.Org Video Driver: 25.2
[    88.121]    X.Org XInput driver : 24.4
[    88.121]    X.Org Server Extension : 10.0
[    88.122] (--) PCI:*(0@0:2:0) 8086:0162:1849:0162 rev 9, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536
[    88.123] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    88.123] (II) LoadModule: "dbe"
[    88.123] (II) Module "dbe" already built-in
[    88.123] (II) LoadModule: "ddc"
[    88.123] (II) Module "ddc" already built-in
[    88.123] (II) LoadModule: "extmod"
[    88.123] (II) Module "extmod" already built-in
[    88.123] (II) LoadModule: "glx"
[    88.126] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    88.148] (II) Module glx: vendor="X.Org Foundation"
[    88.148]    compiled for 1.21.1.4, module version = 1.0.0
[    88.148]    ABI class: X.Org Server Extension, version 10.0
[    88.149] (II) LoadModule: "int10"
[    88.149] (II) Loading /usr/local/lib/xorg/modules/libint10.so
[    88.151] (II) Module int10: vendor="X.Org Foundation"
[    88.151]    compiled for 1.21.1.4, module version = 1.0.0
[    88.151]    ABI class: X.Org Video Driver, version 25.2
[    88.151] (II) LoadModule: "record"
[    88.151] (II) Module "record" already built-in
[    88.151] (II) LoadModule: "vbe"
[    88.151] (II) Loading /usr/local/lib/xorg/modules/libint10.so
[    88.151] (II) Module int10: vendor="X.Org Foundation"
[    88.151]    compiled for 1.21.1.4, module version = 1.0.0
[    88.151]    ABI class: X.Org Video Driver, version 25.2
[    88.151] (II) LoadModule: "xorgxrdp"
[    88.152] (II) Loading /usr/local/lib/xorg/modules/libxorgxrdp.so
[    88.154] (II) Module XORGXRDP: vendor="X.Org Foundation"
[    88.154]    compiled for 1.21.1.4, module version = 0.2.17
[    88.154]    ABI class: X.Org Video Driver, version 25.2
[    88.154] xorgxrdpSetup:
[    88.154] (II) LoadModule: "fb"
[    88.154] (II) Module "fb" already built-in
[    88.154] (II) LoadModule: "xrdpdev"
[    88.154] (II) Loading /usr/local/lib/xorg/modules/drivers/xrdpdev_drv.so
[    88.155] (II) Module XRDPDEV: vendor="X.Org Foundation"
[    88.155]    compiled for 1.21.1.4, module version = 0.2.17
[    88.155]    ABI class: X.Org Video Driver, version 25.2
[    88.155] xrdpdevSetup:
[    88.155] (II) LoadModule: "xrdpmouse"
[    88.155] (II) Loading /usr/local/lib/xorg/modules/input/xrdpmouse_drv.so
[    88.156] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[    88.156]    compiled for 1.21.1.4, module version = 0.2.17
[    88.156]    Module class: X.Org XInput Driver
[    88.156]    ABI class: X.Org XInput driver, version 24.4
[    88.156] rdpmousePlug:
[    88.156] (II) LoadModule: "xrdpkeyb"
[    88.156] (II) Loading /usr/local/lib/xorg/modules/input/xrdpkeyb_drv.so
[    88.157] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[    88.157]    compiled for 1.21.1.4, module version = 0.2.17
[    88.157]    Module class: X.Org XInput Driver
[    88.157]    ABI class: X.Org XInput driver, version 24.4
[    88.157] rdpkeybPlug:
[    88.157] rdpIdentify:
[    88.157] (II) XRDPDEV: driver for xrdp: XRDPDEV
[    88.157] rdpDriverFunc: op 10
[    88.157] (WW) Falling back to old probe method for XRDPDEV
[    88.157] rdpProbe:
[    88.157] (II) Loading sub module "fb"
[    88.157] (II) LoadModule: "fb"
[    88.157] (II) Module "fb" already built-in
[    88.157] (II) XRDPDEV(0): using default device
[    88.157] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    88.157] rdpPreInit:
[    88.157] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[    88.157] (==) XRDPDEV(0): RGB weight 888
[    88.157] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    88.157] (==) XRDPDEV(0): Default visual is TrueColor
[    88.157] (==) XRDPDEV(0): DPI set to (96, 96)
[    88.157] (II) XRDPDEV(0):   mode "640x480" ok
[    88.157] (II) XRDPDEV(0):   mode "800x600" ok
[    88.157] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[    88.157] (**) XRDPDEV(0):  Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[    88.157] (II) XRDPDEV(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[    88.158] rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
[    88.158] rdpScreenInit: pfbMemory bytes 1920000
[    88.158] rdpScreenInit: pfbMemory 0x8017a4000
[    88.160] rdpSimdInit: assigning yuv functions
[    88.161] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000306a9 bx 0x05100800 cx 0x7fbae3ff dx 0xbfebfbff
[    88.161] rdpSimdInit: sse2 amd64 yuv functions assigned
[    88.162] (==) XRDPDEV(0): Backing store enabled
[    88.163] rdpClientConInit: disconnect idle session after [0] sec
[    88.163] rdpClientConInit: kill disconnected [0] timeout [0] sec
[    88.163] rdpXvInit: depth 24
[    88.164] rdpScreenInit: out
[    88.165] (II) Initializing extension Generic Event Extension
[    88.166] (II) Initializing extension SHAPE
[    88.166] (II) Initializing extension MIT-SHM
[    88.167] (II) Initializing extension XInputExtension
[    88.169] (II) Initializing extension XTEST
[    88.169] (II) Initializing extension BIG-REQUESTS
[    88.170] (II) Initializing extension SYNC
[    88.171] (II) Initializing extension XKEYBOARD
[    88.172] (II) Initializing extension XC-MISC
[    88.172] (II) Initializing extension SECURITY
[    88.173] (II) Initializing extension XFIXES
[    88.173] (II) Initializing extension RENDER
[    88.174] (II) Initializing extension RANDR
[    88.175] (II) Initializing extension COMPOSITE
[    88.177] (II) Initializing extension DAMAGE
[    88.177] (II) Initializing extension MIT-SCREEN-SAVER
[    88.177] (II) Initializing extension DOUBLE-BUFFER
[    88.178] (II) Initializing extension RECORD
[    88.179] (II) Initializing extension DPMS
[    88.179] (II) Initializing extension Present
[    88.179] (II) Initializing extension DRI3
[    88.179] (II) Initializing extension X-Resource
[    88.179] (II) Initializing extension XVideo
[    88.180] (II) Initializing extension XVideo-MotionCompensation
[    88.180] (II) Initializing extension GLX
[    88.181] (II) AIGLX: Screen 0 is not DRI2 capable
[    89.002] (II) IGLX: Loaded and initialized swrast
[    89.002] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    89.002] (II) Initializing extension XFree86-VidModeExtension
[    89.002] (II) Initializing extension XFree86-DGA
[    89.003] (II) Initializing extension XFree86-DRI
[    89.003] (II) Initializing extension DRI2
[    89.003] rdpCreateScreenResources:
[    89.183] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[    89.183] (**) Option "CorePointer"
[    89.183] (**) xrdpMouse: always reports core events
[    89.183] rdpmousePreInit: drv 0x800491300 info 0x809824640, flags 0x0
[    89.183] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[    89.183] rdpmouseControl: what 0
[    89.183] rdpmouseDeviceInit:
[    89.183] rdpmouseCtrl:
[    89.183] rdpRegisterInputCallback: type 1 proc 0x800df1020
[    89.183] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[    89.183] (**) xrdpMouse: (accel) acceleration profile 0
[    89.183] (**) xrdpMouse: (accel) acceleration factor: 2.000
[    89.183] (**) xrdpMouse: (accel) acceleration threshold: 4
[    89.183] rdpmouseControl: what 1
[    89.183] rdpmouseDeviceOn:
[    89.183] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[    89.183] (**) Option "CoreKeyboard"
[    89.183] (**) xrdpKeyboard: always reports core events
[    89.183] rdpkeybPreInit: drv 0x800491380 info 0x809824780, flags 0x0
[    89.184] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[    89.184] rdpkeybControl: what 0
[    89.184] rdpkeybDeviceInit:
[    89.230] rdpkeybChangeKeyboardControl:
[    89.230] rdpkeybChangeKeyboardControl: autoRepeat on
[    89.230] rdpRegisterInputCallback: type 0 proc 0x800df6b40
[    89.230] rdpkeybControl: what 1
[    89.230] rdpkeybDeviceOn:
[    89.235] (II) config/udev: Adding input device System mouse (/dev/input/event0)
[    89.235] (II) AutoAddDevices is off - not adding device.
[    89.235] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event1)
[    89.235] (II) AutoAddDevices is off - not adding device.
[    89.235] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    89.235] (II) AutoAddDevices is off - not adding device.
[    89.235] (II) config/udev: Adding input device AT keyboard (/dev/input/event3)
[    89.235] (II) AutoAddDevices is off - not adding device.
[    89.236] (II) config/udev: Adding input device EndPoint1 Interrupt (/dev/input/event4)
[    89.236] (II) AutoAddDevices is off - not adding device.
[    89.236] (II) config/udev: Adding input device Logitech USB Laser Mouse (/dev/input/event5)
[    89.236] (II) AutoAddDevices is off - not adding device.
[    89.236] (II) config/udev: Adding input device EP2 Interrupt (/dev/input/event6)
[    89.236] (II) AutoAddDevices is off - not adding device.
[    89.236] rdpDeferredRandR:
[    89.236] rdpResizeSession: width 1024 height 768
[    89.236]   calling RRScreenSizeSet
[    89.236] rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
[    89.236] rdpRRGetInfo:
[    89.236]   screen resized to 1024x768
[    89.239]   RRScreenSizeSet ok 1
[    89.239] rdpClientConGotConnection:
[    89.239] rdpClientConGotConnection: g_sck_accept ok new_sck 17
[    89.239] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[    89.239] rdpAddClientConToDev: adding first clientCon 0x809a7c940
[    89.239] rdpClientConProcessMsgVersion: version 0 0 0 1
[    89.239] rdpClientConProcessScreenSizeMsg: set width 1280 height 1024 bpp 16
[    89.239] rdpClientConProcessScreenSizeMsg: shmemid 131072 shmemptr 0x80a200000
[    89.239] rdpRRScreenSetSize: width 1280 height 1024 mmWidth 339 mmHeight 271
[    89.239] rdpRRGetInfo:
[    89.239]   screen resized to 1280x1024
[    89.242] rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
[    89.242] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1280 cy 1024
[    89.242] KbdSync: toggling num lock
[    89.242] rdpClientConProcessMsgClientInfo:
[    89.242]   got client info bytes 7072
[    89.242]   jpeg support 0
[    89.242]   offscreen support 1
[    89.243]   offscreen size 5242880
[    89.243]   offscreen entries 100
[    89.243]   client can not do offscreen to offscreen blits
[    89.243]   client can do new(color) cursor
[    89.243]   client can not do multimon
[    89.243] rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
[    89.243] rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1280 height 1024
[    89.243] rdpLoadLayout: keylayout 0xe0010411 variant  display 10
[    89.285] rdpkeybChangeKeyboardControl:
[    89.285] rdpkeybChangeKeyboardControl: autoRepeat on
[    89.286] rdpkeybChangeKeyboardControl:
[    89.286] rdpkeybChangeKeyboardControl: autoRepeat on
[    89.287] rdpkeybChangeKeyboardControl:
[    89.287] rdpkeybChangeKeyboardControl: autoRepeat on
[    89.287] rdpkeybChangeKeyboardControl:
[    89.287] rdpkeybChangeKeyboardControl: autoRepeat on
[    89.331] rdpInDeferredRepeatCallback:
[    89.331] rdpkeybChangeKeyboardControl:
[    89.331] rdpkeybChangeKeyboardControl: autoRepeat off
[    89.387] rdpInDeferredRepeatCallback:
[    89.387] rdpkeybChangeKeyboardControl:
[    89.387] rdpkeybChangeKeyboardControl: autoRepeat off
[    89.387] rdpInDeferredRepeatCallback:
[    89.387] rdpkeybChangeKeyboardControl:
[    89.387] rdpkeybChangeKeyboardControl: autoRepeat off
[    89.387] rdpInDeferredRepeatCallback:
[    89.387] rdpkeybChangeKeyboardControl:
[    89.387] rdpkeybChangeKeyboardControl: autoRepeat off
[    89.387] rdpInDeferredRepeatCallback:
[    89.387] rdpkeybChangeKeyboardControl:
[    89.387] rdpkeybChangeKeyboardControl: autoRepeat off
[    92.476] rdpkeybChangeKeyboardControl:
[    92.476] rdpkeybChangeKeyboardControl: autoRepeat off
[    92.476] rdpkeybChangeKeyboardControl:
[    92.476] rdpkeybChangeKeyboardControl: autoRepeat off
[    92.476] rdpkeybChangeKeyboardControl:
[    92.476] rdpkeybChangeKeyboardControl: autoRepeat off
[    92.476] rdpkeybChangeKeyboardControl:
[    92.476] rdpkeybChangeKeyboardControl: autoRepeat off
[   422.103] rdpmouseControl: what 2
[   422.103] rdpmouseDeviceOff:
[   422.103] rdpkeybControl: what 2
[   422.103] rdpkeybDeviceOff:
[   422.104] rdpkeybControl: what 3
[   422.104] rdpkeybUnInit: drv 0x800491380 info 0x809824780, flags 0x0
[   422.104] rdpUnregisterInputCallback: proc 0x800df6b40
[   422.104] rdpmouseControl: what 3
[   422.104] rdpmouseUnInit: drv 0x800491300 info 0x809824640, flags 0x0
[   422.104] rdpUnregisterInputCallback: proc 0x800df1020
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?