xrdp не могу подключиться

Автор Palamar, 11 сентября 2017, 12:36:51

« назад - далее »

0 Пользователи и 3 гостей просматривают эту тему.

Palamar

Установил на debian 9 xrdp,для подключения с виндовых машин.
Пытаюсь подключится,не получается vnc error problem connection
Подскажите куда смотеть?

Sep 11 12:27:06 proxmox xrdp-sesman[1083]: (1083)(140701857793344)[INFO ] starting Xvnc session...
Sep 11 12:27:06 proxmox xrdp-sesman[1083]: (1083)(140701857793344)[DEBUG] Closed socket 9 (AF_INET6 :: port 5910)
Sep 11 12:27:06 proxmox xrdp-sesman[1083]: (1083)(140701857793344)[DEBUG] Closed socket 9 (AF_INET6 :: port 6010)
Sep 11 12:27:06 proxmox xrdp-sesman[1083]: (1083)(140701857793344)[DEBUG] Closed socket 9 (AF_INET6 :: port 6210)
Sep 11 12:27:06 proxmox xrdp-sesman[1083]: (1083)(140701857793344)[DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
Sep 11 12:27:06 proxmox xrdp-sesman[23714]: (23714)(140701857793344)[DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
Sep 11 12:27:06 proxmox xrdp[23688]: (23688)(140710137502528)[INFO ] xrdp_wm_log_msg: login successful for display 10
Sep 11 12:27:06 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] xrdp_wm_log_msg: VNC started connecting
Sep 11 12:27:06 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] xrdp_wm_log_msg: VNC connecting to 127.0.0.1 5910
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[INFO ] Xvnc :10 -auth .Xauthority -geometry 1400x1050 -depth                                            32 -rfbauth /home/user/.vnc/sesman_user_passwd:10 -bs -nolisten tcp -localhost -dpi 96
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[CORE ] error starting X server - user user - pid 23716
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG] errno: 2, description: No such file or directory
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG] execve parameter list size: 17
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[0] = Xvnc
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[1] = :10
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[2] = -auth
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[3] = .Xauthority
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[4] = -geometry
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[5] = 1400x1050
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[6] = -depth
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[7] = 32
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[8] = -rfbauth
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[9] = /home/user/.vnc/sesman_user_passwd:                                           10
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[10] = -bs
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[11] = -nolisten
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[12] = tcp
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[13] = -localhost
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[14] = -dpi
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[15] = 96
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG]         argv[16] = (null)
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] VNC error 1 after security negotiation
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] VNC error before sending share flag
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] VNC error before receiving server init
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] VNC error before receiving pixel format
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] VNC error before receiving name length
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] VNC error before receiving name
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] xrdp_wm_log_msg: VNC error - problem connecting
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] Closed socket 17 (AF_INET6 :: port 48724)
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] xrdp_wm_log_msg: some problem
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] xrdp_mm_module_cleanup
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] VNC mod_exit
Sep 11 12:27:10 proxmox xrdp[23688]: (23688)(140710137502528)[DEBUG] Closed socket 16 (AF_INET6 ::1 port 33052)
Sep 11 12:27:16 proxmox xrdp-sesman[23714]: (23714)(140701857793344)[ERROR] X server for display 10 startup timeout
Sep 11 12:27:16 proxmox xrdp-sesman[23714]: (23714)(140701857793344)[INFO ] starting xrdp-sessvc - xpid=23716 - wmpid=23715
Sep 11 12:27:16 proxmox xrdp-sesman[23715]: (23715)(140701857793344)[ERROR] X server for display 10 startup timeout
Sep 11 12:27:17 proxmox xrdp-sesman[23732]: (23732)(140701857793344)[ERROR] another Xserver might already be active on display 10 - see log
Sep 11 12:27:17 proxmox xrdp-sesman[23732]: (23732)(140701857793344)[DEBUG] aborting connection...
Sep 11 12:27:17 proxmox xrdp-sesman[1083]: (1083)(140701857793344)[INFO ] ++ terminated session:  username user, display :10.0, session_pid 23714, ip 0.0.0.0:58288 - socket: 12
Sep 11 12:28:00 proxmox systemd[1]: Starting Proxmox VE replication runner...

Palamar

дайте совет где копать,неделю мучаюсь.

endru

Цитата: Palamar от 11 сентября 2017, 12:36:51Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[INFO ] Xvnc :10 -auth .Xauthority -geometry 1400x1050 -depth                                            32 -rfbauth /home/user/.vnc/sesman_user_passwd:10 -bs -nolisten tcp -localhost -dpi 96
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[CORE ] error starting X server - user user - pid 23716
Sep 11 12:27:07 proxmox xrdp-sesman[23716]: (23716)(140701857793344)[DEBUG] errno: 2, description: No such file or directory
ругается на отсутствие файла /home/user/.vnc/sesman_user_passwd

Palamar

Цитата: endru от 20 сентября 2017, 07:33:24ругается на отсутствие файла /home/user/.vnc/sesman_user_passwd

там есть такой файл sesman_user_passwd:10


во что при подключении в логе xrdp

[20170916-19:09:31] [DEBUG] xrdp_wm_log_msg: connection problem, giving up
[20170916-19:09:31] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:09:31] [DEBUG] xrdp_wm_log_msg: some problem
[20170916-19:09:31] [DEBUG] xrdp_mm_module_cleanup
[20170916-19:09:31] [DEBUG] Closed socket 18 (AF_INET 127.0.0.1:60904)
[20170916-19:16:14] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20170916-19:16:14] [CORE ] shutting down log subsystem...
[20170916-19:16:14] [DEBUG] Closed socket 12 (AF_INET 192.168.100.151:3389)
[20170916-19:16:14] [DEBUG] xrdp_mm_module_cleanup
[20170916-19:16:14] [ERROR] Listening socket is in wrong state, terminating listener
[20170916-19:16:14] [CORE ] shutting down log subsystem...
[20170916-19:16:14] [DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3389.
[20170916-19:16:14] [DEBUG] Closed socket 7 (AF_INET 0.0.0.0:3389)
[20170916-19:16:16] [INFO ] starting xrdp with pid 1784
[20170916-19:16:16] [INFO ] listening to port 3389 on 0.0.0.0
[20170916-19:17:26] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20170916-19:17:26] [CORE ] shutting down log subsystem...
[20170916-19:17:33] [DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3389.
[20170916-19:17:33] [DEBUG] Closed socket 7 (AF_INET 0.0.0.0:3389)
[20170916-19:17:35] [INFO ] starting xrdp with pid 1818
[20170916-19:17:35] [INFO ] listening to port 3389 on 0.0.0.0
[20170916-19:18:27] [INFO ] Socket 12: AF_INET connection received from 192.168.100.96 port 65295
[20170916-19:18:27] [DEBUG] Closed socket 12 (AF_INET 192.168.100.151:3389)
[20170916-19:18:27] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20170916-19:18:27] [WARN ] X.509 certificate should use absolute path, using default instead: /etc/xrdp/cert.pem
[20170916-19:18:27] [WARN ] X.509 key file should use absolute path, using default instead: /etc/xrdp/key.pem
[20170916-19:18:27] [DEBUG] TLSv1.2 enabled
[20170916-19:18:27] [DEBUG] TLSv1.1 enabled
[20170916-19:18:27] [DEBUG] TLSv1 enabled
[20170916-19:18:27] [DEBUG] Security layer: requested 3, selected 1
[20170916-19:18:27] [DEBUG] Closed socket 12 (AF_INET 192.168.100.151:3389)
[20170916-19:18:27] [INFO ] Socket 12: AF_INET connection received from 192.168.100.96 port 65296
[20170916-19:18:27] [ERROR] Listening socket is in wrong state, terminating listener
[20170916-19:18:28] [DEBUG] Closed socket 12 (AF_INET 192.168.100.151:3389)
[20170916-19:18:28] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20170916-19:18:28] [CORE ] shutting down log subsystem...
[20170916-19:18:28] [WARN ] X.509 certificate should use absolute path, using default instead: /etc/xrdp/cert.pem
[20170916-19:18:28] [WARN ] X.509 key file should use absolute path, using default instead: /etc/xrdp/key.pem
[20170916-19:18:28] [DEBUG] TLSv1.2 enabled
[20170916-19:18:28] [DEBUG] TLSv1.1 enabled
[20170916-19:18:28] [DEBUG] TLSv1 enabled
[20170916-19:18:28] [DEBUG] Security layer: requested 3, selected 1
[20170916-19:18:28] [INFO ] connected client computer name: ADMIN2
[20170916-19:18:28] [INFO ] TLS connection established from 192.168.100.96 port 65296: TLSv1 with cipher ECDHE-RSA-AES256-SHA
[20170916-19:18:28] [DEBUG] xrdp_00000729_wm_login_mode_event_00000001
[20170916-19:18:28] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20170916-19:18:28] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20170916-19:18:44] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20170916-19:18:44] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20170916-19:18:44] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20170916-19:18:44] [DEBUG] return value from xrdp_mm_connect 0
[20170916-19:18:45] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20170916-19:18:45] [DEBUG] xrdp_wm_log_msg: started connecting
[20170916-19:18:48] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:18:52] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:27:56] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:27:59] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:03] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:06] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:10] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:14] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:17] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:21] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:24] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:28] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:31] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:35] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:39] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:42] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:46] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:49] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:53] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:56] [DEBUG] xrdp_wm_log_msg: connection problem, giving up
[20170915-08:28:56] [DEBUG] Closed socket 19 (AF_UNIX)
[20170915-08:28:56] [DEBUG] xrdp_wm_log_msg: some problem
[20170915-08:28:56] [DEBUG] xrdp_mm_module_cleanup


endru

Цитата: Palamar от 20 сентября 2017, 20:38:24там есть такой файл sesman_user_passwd:10
1) именно с :10 ? оно здесь лишнее!
2) нужно проверить что есть права на чтение этого файла.
3) netstan -ntl
4) iptables-save
5) где вообще конфигурационный файл? по логам не гадаю.

Palamar

#5
Цитата: endru от 21 сентября 2017, 04:34:251) именно с :10 ? оно здесь лишнее!
2) нужно проверить что есть права на чтение этого файла.
3) netstan -ntl
4) iptables-save
5) где вообще конфигурационный файл? по логам не гадаю.

1)переименовал
2)права дал
3)root@archive:/home/user/.vnc# netstat -ntl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State     
tcp        0      0 127.0.0.1:3350          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:3389            0.0.0.0:*               LISTEN     
tcp6       0      0 :::22                   :::*                    LISTEN 

5)как я понял это /etc/xrdp/xrdp.ini

ставил разные xrdp,на данный момент стоит версия из github
https://github.com/neutrinolabs/xrdp

log после изменения параметров какие вы написали выше

20170916-19:30:59] [DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3389.
[20170916-19:30:59] [DEBUG] Closed socket 7 (AF_INET 0.0.0.0:3389)
[20170916-19:31:01] [INFO ] starting xrdp with pid 1991
[20170916-19:31:01] [INFO ] listening to port 3389 on 0.0.0.0
[20170916-19:32:56] [INFO ] Socket 12: AF_INET connection received from 192.168.100.90 port 56991
[20170916-19:32:56] [DEBUG] Closed socket 12 (AF_INET 192.168.100.151:3389)
[20170916-19:32:56] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20170916-19:32:56] [WARN ] X.509 certificate should use absolute path, using default instead: /etc/xrdp/cert.pem
[20170916-19:32:56] [WARN ] X.509 key file should use absolute path, using default instead: /etc/xrdp/key.pem
[20170916-19:32:56] [DEBUG] TLSv1.2 enabled
[20170916-19:32:56] [DEBUG] TLSv1.1 enabled
[20170916-19:32:56] [DEBUG] TLSv1 enabled
[20170916-19:32:56] [DEBUG] Security layer: requested 11, selected 1
[20170916-19:32:56] [DEBUG] Closed socket 12 (AF_INET 192.168.100.151:3389)
[20170916-19:32:56] [ERROR] Listening socket is in wrong state, terminating listener
[20170916-19:32:56] [CORE ] shutting down log subsystem...
[20170916-19:33:29] [INFO ] Socket 12: AF_INET connection received from 192.168.100.90 port 57033
[20170916-19:33:29] [DEBUG] Closed socket 12 (AF_INET 192.168.100.151:3389)
[20170916-19:33:29] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20170916-19:33:30] [WARN ] X.509 certificate should use absolute path, using default instead: /etc/xrdp/cert.pem
[20170916-19:33:30] [WARN ] X.509 key file should use absolute path, using default instead: /etc/xrdp/key.pem
[20170916-19:33:30] [DEBUG] TLSv1.2 enabled
[20170916-19:33:30] [DEBUG] TLSv1.1 enabled
[20170916-19:33:30] [DEBUG] TLSv1 enabled
[20170916-19:33:30] [DEBUG] Security layer: requested 11, selected 1
[20170916-19:33:30] [INFO ] connected client computer name: KSV
[20170916-19:33:30] [INFO ] TLS connection established from 192.168.100.90 port 57033: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384
[20170916-19:33:30] [DEBUG] xrdp_000007ce_wm_login_mode_event_00000001
[20170916-19:33:30] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20170916-19:33:30] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20170916-19:33:44] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20170916-19:33:44] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20170916-19:33:44] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20170916-19:33:44] [DEBUG] return value from xrdp_mm_connect 0
[20170916-19:33:44] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20170916-19:33:44] [DEBUG] xrdp_wm_log_msg: started connecting
[20170916-19:33:48] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:33:51] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:33:55] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:33:59] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:02] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:06] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:09] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:13] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:16] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:20] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:24] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:27] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:31] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:34] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:38] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:41] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:45] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:49] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:52] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:56] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:34:59] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:03] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:06] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:10] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:14] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:17] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:21] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:24] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:28] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:31] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:35] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:38] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:42] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:46] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:49] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:53] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:35:56] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:00] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:03] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:07] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:11] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:14] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:18] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:21] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:25] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:28] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:32] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:36] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:39] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:43] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:46] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:50] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:53] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:36:57] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:37:00] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:37:04] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:37:08] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:37:11] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:37:15] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:37:18] [DEBUG] xrdp_wm_log_msg: connection problem, giving up
[20170916-19:37:18] [DEBUG] Closed socket 19 (AF_UNIX)
[20170916-19:37:18] [DEBUG] xrdp_wm_log_msg: some problem
[20170916-19:37:18] [DEBUG] xrdp_mm_module_cleanup
[20170916-19:37:18] [DEBUG] Closed socket 18 (AF_INET 127.0.0.1:60910)
[20170918-07:51:15] [DEBUG] Closed socket 12 (AF_INET 192.168.100.151:3389)
[20170918-07:51:15] [DEBUG] xrdp_mm_module_cleanup
[20170918-07:51:15] [ERROR] Listening socket is in wrong state, terminating listener
[20170918-07:51:15] [CORE ] shutting down log subsystem...
[20170921-08:48:29] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20170921-08:48:29] [CORE ] shutting down log subsystem...
[20170921-08:48:29] [DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3389.
[20170921-08:48:29] [DEBUG] Closed socket 7 (AF_INET 0.0.0.0:3389)
[20170921-08:48:31] [INFO ] starting xrdp with pid 5958
[20170921-08:48:31] [INFO ] listening to port 3389 on 0.0.0.0
[20170921-08:48:55] [INFO ] Socket 12: AF_INET connection received from 192.168.100.96 port 58048
[20170921-08:48:55] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[20170921-08:48:56] [WARN ] X.509 certificate should use absolute path, using default instead: /etc/xrdp/cert.pem
[20170921-08:48:56] [WARN ] X.509 key file should use absolute path, using default instead: /etc/xrdp/key.pem
[20170921-08:48:56] [DEBUG] TLSv1.2 enabled
[20170921-08:48:55] [DEBUG] Closed socket 12 (AF_INET 192.168.100.151:3389)
[20170921-08:48:56] [DEBUG] TLSv1.1 enabled
[20170921-08:48:56] [DEBUG] TLSv1 enabled
[20170921-08:48:56] [DEBUG] Security layer: requested 3, selected 1
[20170921-08:48:57] [INFO ] connected client computer name: admin
[20170921-08:48:57] [INFO ] TLS connection established from 192.168.100.96 port 58048: TLSv1 with cipher ECDHE-RSA-AES256-SHA
[20170921-08:48:57] [DEBUG] xrdp_0000174d_wm_login_mode_event_00000001
[20170921-08:48:57] [INFO ] Cannot find keymap file /etc/xrdp/km-00000000.ini
[20170921-08:48:57] [INFO ] Cannot find keymap file /etc/xrdp/km-00000000.ini
[20170921-08:48:57] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20170921-08:48:57] [WARN ] local keymap file for 0x00000000 found and doesn't match built in keymap, using local keymap file
[20170921-08:49:06] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20170921-08:49:06] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20170921-08:49:07] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20170921-08:49:07] [DEBUG] return value from xrdp_mm_connect 0
[20170921-08:49:07] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20170921-08:49:07] [DEBUG] xrdp_wm_log_msg: started connecting

ogost

Ещё раз что-то выложите без соответствующих тегов - сразу в жбан бан!

Palamar

service xrdp status
● xrdp.service - xrdp daemon
   Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2017-09-21 09:59:19 EEST; 2min 27s ago
     Docs: man:xrdp(8)
           man:xrdp.ini(5)
  Process: 721 ExecStop=/usr/local/sbin/xrdp $XRDP_OPTIONS --kill (code=exited, status=0/SUCCESS)
  Process: 729 ExecStart=/usr/local/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 730 (xrdp)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/xrdp.service
           └─730 /usr/local/sbin/xrdp

Сен 21 09:59:18 archive systemd[1]: Starting xrdp daemon...
Сен 21 09:59:18 archive xrdp[729]: (729)(140650966923008)[DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3389.
Сен 21 09:59:18 archive xrdp[729]: (729)(140650966923008)[DEBUG] Closed socket 7 (AF_INET 0.0.0.0:3389)
Сен 21 09:59:18 archive systemd[1]: xrdp.service: PID file /var/run/xrdp.pid not readable (yet?) after start: No such file or directory
Сен 21 09:59:19 archive systemd[1]: Started xrdp daemon.
Сен 21 09:59:20 archive xrdp[730]: (730)(140650966923008)[INFO ] starting xrdp with pid 730
Сен 21 09:59:20 archive xrdp[730]: (730)(140650966923008)[INFO ] listening to port 3389 on 0.0.0.0


заметил тут

xrdp.service: PID file /var/run/xrdp.pid not readable (yet?) after start: No such file or directory

не было прав на запись,установил права на файл 644,после рестарта xrdp права снова 600,почему?

endru

Цитата: Palamar от 21 сентября 2017, 10:04:24
не было прав на запись,установил права на файл 644,после рестарта xrdp права снова 600,почему?
это pid файл, на него должны быть права только те что выставляются при запуске, менять их не нужно.
pid файл нужен для фоновых программ, чтобы избежать повторного запуска и корректно завершать текущий процесс. обычно внутри такого файла записан текущий PID процесса.

права выставляются только на конфигурационные файлы, и то если они необходимы.

показывай конфиг /etc/default/xrdp и /etc/xrdp/xrdp.ini

и обрати внимание на ошибки:

Цитата: Palamar от 21 сентября 2017, 08:54:20[20170921-08:48:57] [INFO ] Cannot find keymap file /etc/xrdp/km-00000000.ini
[20170921-08:48:57] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20170921-08:48:57] [WARN ] local keymap file for 0x00000000 found and doesn't match built in keymap, using local keymap file

вообще по логам не вижу проблем. до сих пор не получается подключиться?

Palamar

Цитата: endru от 21 сентября 2017, 11:31:44[20170921-08:48:57] [INFO ] Cannot find keymap file /etc/xrdp/km-00000000.ini
[20170921-08:48:57] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20170921-08:48:57] [WARN ] local keymap file for 0x00000000 found and doesn't match built in keymap, using local keymap file

этих файлов нету

запустил dpkg-reconfigure xserver-xorg-legacy поставил кто угодно,стояло только пользователи из консоли
Переустановил xrdp,поставил из репозитория и всё завилось.Спасибо большое за помощь.