Доступ с Windows по RDP

Poleno

New member
Сообщения
1
#1
Добрый день!
Пытаюсь настроить RDP как описано в вики.
Подключаюсь с Windows ввожу логин, пароль, пустой экран 4ре минуты и потом выдаётся лог подключения.
[20220324-10:32:40] [INFO ] starting xrdp with pid 1604
[20220324-10:32:40] [INFO ] address [0.0.0.0] port [3389] mode 1
[20220324-10:32:40] [INFO ] listening to port 3389 on 0.0.0.0
[20220324-10:32:40] [INFO ] xrdp_listen_pp done
[20220324-10:32:44] [INFO ] Socket 12: AF_INET connection received from 192.168.56.103 port 54230
[20220324-10:32:44] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20220324-10:32:44] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20220324-10:32:44] [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
[20220324-10:32:44] [ERROR] libxrdp_force_read: header read error
[20220324-10:32:44] [INFO ] Socket 15: AF_INET connection received from 192.168.56.103 port 54231
[20220324-10:32:44] [ERROR] Processing [ITU-T T.125] Connect-Initial failed
[20220324-10:32:44] [ERROR] [MCS Connection Sequence] receive connection request failed
[20220324-10:32:44] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20220324-10:32:44] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20220324-10:32:44] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
[20220324-10:32:44] [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
[20220324-10:32:44] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[20220324-10:32:44] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[20220324-10:32:44] [INFO ] Connected client computer name: MY-PC
[20220324-10:32:44] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20220324-10:32:44] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20220324-10:32:44] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
[20220324-10:32:44] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20220324-10:32:44] [INFO ] xrdp_load_keyboard_layout: keyboard_type [4] keyboard_subtype [0]
[20220324-10:32:44] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us,ru] options [grp:alt_shift_toggle]
[20220324-10:32:44] [INFO ] Non-TLS connection established from 192.168.56.103 port 54231: encrypted with standard RDP security
[20220324-10:32:44] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20220324-10:32:44] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 5242880 MB cache entries 100
[20220324-10:32:44] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20220324-10:32:44] [WARN ] xrdp_caps_process_codecs: unknown codec id 5
[20220324-10:32:44] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49
[20220324-10:32:44] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20220324-10:32:44] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20220324-10:32:44] [INFO ] Loading keymap file /etc/xrdp/km-00000419.ini
[20220324-10:32:44] [WARN ] local keymap file for 0x00000419 found and doesn't match built in keymap, using local keymap file
[20220324-10:32:49] [INFO ] connecting to sesman ip 127.0.0.1 port 3350
[20220324-10:32:49] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20220324-10:32:49] [INFO ] sesman connect ok
[20220324-10:32:49] [INFO ] sending login info to session manager, please wait...
[20220324-10:32:49] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20220324-10:32:49] [INFO ] login successful for display 10
[20220324-10:32:49] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20220324-10:32:49] [INFO ] started connecting
[20220324-10:32:49] [INFO ] lib_mod_connect: connecting via UNIX socket
[20220324-10:36:19] [INFO ] connection problem, giving up
[20220324-10:36:19] [INFO ] some problem

[20220324-10:32:40] [INFO ] starting xrdp-sesman with pid 1594
[20220324-10:32:40] [INFO ] listening to port 3350 on 127.0.0.1
[20220324-10:32:49] [INFO ] A connection received from 127.0.0.1 port 47812
[20220324-10:32:49] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20220324-10:32:49] [INFO ] ++ created session (access granted): username user, ip 192.168.56.103:54231 - socket: 15
[20220324-10:32:49] [INFO ] starting Xorg session...
[20220324-10:32:49] [INFO ] Starting session: session_pid 1610, display :10.0, width 1920, height 1080, bpp 24, client ip 192.168.56.103:54231 - socket: 15, user name user
[20220324-10:32:49] [INFO ] [session start] (display 10): calling auth_start_session from pid 1610
[20220324-10:32:49] [INFO ] Starting X server on display 10: /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20220324-10:32:59] [WARN ] Timed out waiting for X server on display 10 to startup
[20220324-10:32:59] [INFO ] Session started successfully for user user on display 10
[20220324-10:32:59] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1624) exits to end the session
[20220324-10:32:59] [INFO ] Starting the xrdp channel server for display 10
[20220324-10:32:59] [WARN ] Timed out waiting for X server on display 10 to startup
[20220324-10:32:59] [ERROR] There is no X server active on display 10
[20220324-10:32:59] [ERROR] A fatal error has occured attempting to start the window manager on display 10, aborting connection
[20220324-10:32:59] [WARN ] Window manager (pid 1624, display 10) exited quickly (0 secs). This could indicate a window manager config problem
[20220324-10:32:59] [INFO ] Calling auth_stop_session and auth_end from pid 1610
[20220324-10:32:59] [INFO ] Terminating X server (pid 1625) on display 10
[20220324-10:32:59] [INFO ] Terminating the xrdp channel server (pid 1630) on display 10
[20220324-10:32:59] [INFO ] X server on display 10 (pid 1625) returned exit code 1 and signal number 0
[20220324-10:32:59] [INFO ] xrdp channel server for display 10 (pid 1630) exit code 0 and signal number 0
[20220324-10:32:59] [INFO ] cleanup_sockets:
[20220324-10:32:59] [INFO ] ++ terminated session: username user, display :10.0, session_pid 1610, ip 192.168.56.103:54231 - socket: 15

Подскажите что с этим делать?