Diary

@ssig33

02 Jul 2017 Sun 13:31

xrdp が以下のようなエラーで接続できない時の直しかた

0.9.x の話です。

[20170702-12:55:19] [INFO ] A connection received from ::1 port 50178
[20170702-12:55:20] [INFO ] ++ created session (access granted): username ssig33, ip 0.0.0.0:54550 - socket: 12
[20170702-12:55:20] [INFO ] starting Xorg session...
[20170702-12:55:20] [DEBUG] Closed socket 9 (AF_INET6 :: port 5920)
[20170702-12:55:20] [DEBUG] Closed socket 9 (AF_INET6 :: port 6020)
[20170702-12:55:20] [DEBUG] Closed socket 9 (AF_INET6 :: port 6220)
[20170702-12:55:21] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20170702-12:55:21] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20170702-12:55:21] [INFO ] Xorg :20 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp  
[20170702-12:55:31] [ERROR] X server for display 20 startup timeout
[20170702-12:55:31] [INFO ] starting xrdp-sessvc - xpid=20458 - wmpid=20457
[20170702-12:55:31] [ERROR] X server for display 20 startup timeout
[20170702-12:55:31] [ERROR] another Xserver might already be active on display 20 - see log
[20170702-12:55:31] [DEBUG] aborting connection...
[20170702-12:55:31] [INFO ] ++ terminated session:  username ssig33, display :20.0, session_pid 20456, ip 0.0.0.0:54550 - socket: 12
[20170702-12:58:30] [INFO ] shutting down sesman 1

/etc/X11/Xwrapper.config を編集して

allowed_users=anybody

にすると直る。