Настройка xrdp

На сегодняшний день ситуация с серверами терминалов такова:
freenx - сдох и не разрабатывается...
x2go - похоже форк freenx, вроде живо и ведется разработка.
xrdp - думал что помер так и не родившись, однако недавно узнал что проект активно пилят (есть даже в репозитории), вроде работает мапинг каталогов, принтеров, звука. Но я нигде не могу найти нормальную документацию по работе и настройке. В итоге я его поставил и запустил но он нифига не работает.

При анонимном подключении:
ноя 21 14:20:01 administrator-pc XRDP[26909]: (26909)(140158491469568)[INFO ] A connection received from: 192.168.100.221 port 3490
ноя 21 14:20:01 administrator-pc XRDP[26909]: (26909)(140158491469568)[INFO ] An established connection closed to endpoint: 192.168.100.221:3490 - socket: 8
ноя 21 14:20:01 administrator-pc XRDP[26967]: (26967)(140158491469568)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
ноя 21 14:20:01 administrator-pc XRDP[26967]: (26967)(140158491469568)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
ноя 21 14:20:01 administrator-pc XRDP[26909]: (26909)(140158491469568)[INFO ] A connection received from: 192.168.100.221 port 3491
ноя 21 14:20:01 administrator-pc XRDP[26909]: (26909)(140158491469568)[INFO ] An established connection closed to endpoint: 192.168.100.221:3491 - socket: 8
ноя 21 14:20:01 administrator-pc XRDP[26968]: (26968)(140158491469568)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
ноя 21 14:20:01 administrator-pc XRDP[26968]: (26968)(140158491469568)[DEBUG] MCS_CJRQ - channel join request received
ноя 21 14:20:01 administrator-pc XRDP[26968]: (26968)(140158491469568)[DEBUG] MCS_CJRQ - channel join request received
ноя 21 14:20:01 administrator-pc XRDP[26968]: (26968)(140158491469568)[DEBUG] MCS_CJRQ - channel join request received
ноя 21 14:20:01 administrator-pc XRDP[26968]: (26968)(140158491469568)[DEBUG] MCS_CJRQ - channel join request received
ноя 21 14:20:02 administrator-pc XRDP[26968]: (26968)(140158491469568)[DEBUG] xrdp_00006958_wm_login_mode_event_00000001
ноя 21 14:20:02 administrator-pc XRDP[26968]: (26968)(140158491469568)[WARN ] local keymap file for 0x0419 found and dosen't match built in keymap, using local keymap file
ноя 21 14:20:02 administrator-pc XRDP[26968]: (26968)(140158491469568)[DEBUG] returnvalue from xrdp_mm_connect 0
ноя 21 14:20:02 administrator-pc XRDP-sesman[26906]: (26906)(140482867345152)[INFO ] A connection received from: 127.0.0.1 port 55378
ноя 21 14:20:02 administrator-pc XRDP-sesman[26906]: (26906)(140482867345152)[INFO ] scp thread on sck 8 started successfully
ноя 21 14:20:02 administrator-pc XRDP-sesman[26906]: pam_unix(xrdp-sesman:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=administrator
ноя 21 14:20:05 administrator-pc XRDP-sesman[26906]: (26906)(140482838419200)[INFO ] An established connection closed to endpoint: 127.0.0.1:55378 - socket: 8
ноя 21 14:20:05 administrator-pc XRDP[26968]: (26968)(140158491469568)[INFO ] xrdp_mm_process_login_response: login failed
ноя 21 14:20:05 administrator-pc XRDP[26968]: (26968)(140158491469568)[DEBUG] xrdp_mm_module_cleanup
ноя 21 14:20:05 administrator-pc XRDP[26968]: (26968)(140158491469568)[INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
а в окне клиента написано: xrdp_mm_prcess_login_response: login failed

Если в rdp-клиенте прописать логин/пароль:
ноя 21 14:04:50 administrator-pc XRDP[26909]: (26909)(140158491469568)[INFO ] A connection received from: 192.168.100.221 port 3402
ноя 21 14:04:50 administrator-pc XRDP[26909]: (26909)(140158491469568)[INFO ] An established connection closed to endpoint: 192.168.100.221:3402 - socket: 8
ноя 21 14:04:50 administrator-pc XRDP[26911]: (26911)(140158491469568)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
ноя 21 14:04:50 administrator-pc XRDP[26911]: (26911)(140158491469568)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
ноя 21 14:04:50 administrator-pc XRDP[26909]: (26909)(140158491469568)[INFO ] A connection received from: 192.168.100.221 port 3403
ноя 21 14:04:50 administrator-pc XRDP[26909]: (26909)(140158491469568)[INFO ] An established connection closed to endpoint: 192.168.100.221:3403 - socket: 8
ноя 21 14:04:50 administrator-pc XRDP[26912]: (26912)(140158491469568)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
ноя 21 14:04:50 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] MCS_CJRQ - channel join request received
ноя 21 14:04:50 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] MCS_CJRQ - channel join request received
ноя 21 14:04:50 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] MCS_CJRQ - channel join request received
ноя 21 14:04:50 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] MCS_CJRQ - channel join request received
ноя 21 14:04:52 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] xrdp_00006920_wm_login_mode_event_00000001
ноя 21 14:04:52 administrator-pc XRDP[26912]: (26912)(140158491469568)[WARN ] local keymap file for 0x0409 found and dosen't match built in keymap, using local keymap file
ноя 21 14:04:52 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] returnvalue from xrdp_mm_connect 0
ноя 21 14:04:52 administrator-pc XRDP-sesman[26906]: (26906)(140482867345152)[INFO ] A connection received from: 127.0.0.1 port 55358
ноя 21 14:04:52 administrator-pc XRDP-sesman[26906]: (26906)(140482867345152)[INFO ] scp thread on sck 8 started successfully
ноя 21 14:04:52 administrator-pc XRDP-sesman[26906]: (26906)(140482838419200)[INFO ] ++ created session (access granted): username administrator, ip 192.168.100.221:3403 - socket: 8
ноя 21 14:04:52 administrator-pc XRDP-sesman[26906]: (26906)(140482838419200)[INFO ] starting Xvnc session...
ноя 21 14:04:52 administrator-pc XRDP-sesman[26906]: (26906)(140482867345152)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
ноя 21 14:04:52 administrator-pc XRDP-sesman[26906]: (26906)(140482867345152)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
ноя 21 14:04:52 administrator-pc XRDP-sesman[26906]: (26906)(140482867345152)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
ноя 21 14:04:52 administrator-pc XRDP-sesman[26906]: (26906)(140482838419200)[INFO ] An established connection closed to endpoint: 127.0.0.1:55358 - socket: 8
ноя 21 14:04:52 administrator-pc XRDP-sesman[26914]: (26914)(140482867345152)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
ноя 21 14:04:52 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] VNC Error after security negotiation
ноя 21 14:04:52 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] VNC error before sending share flag
ноя 21 14:04:52 administrator-pc XRDP-sesman[26914]: (26914)(140482867345152)[INFO ] An established connection closed to endpoint: 127.0.0.1:55358 - socket: 8
ноя 21 14:04:52 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] VNC error before receiving server init
ноя 21 14:04:52 administrator-pc XRDP-sesman[26916]: (26916)(140482867345152)[INFO ] Xvnc start:Xvnc :10 -geometry 1364x768 -depth 24 -rfbauth /home/administrator/.vnc/sesman_administrator_passwd -bs -ac -nolisten tcp -localhost -dpi 96 -local
ноя 21 14:04:52 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] VNC error before receiving pixel format
ноя 21 14:04:53 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] VNC error before receiving name length
ноя 21 14:04:53 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] VNC error before receiving name
ноя 21 14:04:53 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] xrdp_mm_module_cleanup
ноя 21 14:04:53 administrator-pc XRDP[26912]: (26912)(140158491469568)[DEBUG] VNC mod_exit
ноя 21 14:04:53 administrator-pc XRDP[26912]: (26912)(140158491469568)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
ноя 21 14:04:53 administrator-pc XRDP[26912]: (26912)(140158491469568)[INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
ноя 21 14:05:02 administrator-pc XRDP-sesman[26914]: (26914)(140482867345152)[ERROR] X server for display 10 startup timeout
ноя 21 14:05:02 administrator-pc XRDP-sesman[26914]: (26914)(140482867345152)[INFO ] starting xrdp-sessvc - xpid=26916 - wmpid=26915
ноя 21 14:05:02 administrator-pc XRDP-sesman[26915]: (26915)(140482867345152)[ERROR] X server for display 10 startup timeout
ноя 21 14:05:02 administrator-pc XRDP-sesman[26915]: pam_unix(xrdp-sesman:session): session opened for user administrator by (uid=0)
ноя 21 14:05:02 administrator-pc XRDP-sesman[26917]: (26917)(140482867345152)[ERROR] another Xserver might already be active on display 10 - see log
ноя 21 14:05:02 administrator-pc XRDP-sesman[26917]: (26917)(140482867345152)[DEBUG] aborting connection...
ноя 21 14:05:02 administrator-pc XRDP-sesman[26915]: pam_unix(xrdp-sesman:session): session closed for user administrator
ноя 21 14:05:03 administrator-pc XRDP-sesman[26906]: (26906)(140482867345152)[INFO ] ++ terminated session:  username administrator, display :10.0, session_pid 26914, ip 192.168.100.221:3403 - socket: 8
и в rpd-клиенте видно окно:
...VNC connecting to 127.0.0.1:5910
VNC error - problem connecting

Может кто пробовал это чудо запускать? с каким результатом?
Итог:
1)при анонимном коннекте - xrdp-sessman (менеджер сесий) просто не может войти в систему.

2)при авторизированном входе не удается подключится к vnc-серверу (который запускается и работает на бекэнде) Xvnc start:Xvnc :10 -geometry 1364x768 -depth 24 -rfbauth /home/administrator/.vnc/sesman_administrator_passwd -bs -ac -nolisten tcp -localhost -dpi 96 -local
Уже вроде обсуждали ставьте x11vnc он всё умеет!(через ... конечно)) но умеет
Ошибки в тексте-неповторимый стиль автора©
обсуждали... было дело...
Не дает мне покоя мысль поднять полноценный терминальный сервер, тем более смотрю xrdp усердно пилят... Обидно, не могу оценить прогресс.

(Так, мысли вслух...)
 
Зарегистрироваться или войдите чтобы оставить сообщение.