Newbie here, installed Endeavour in spare PC as server, machine boots locally to a GUI no proble, but I need to be able to access this remotely via RDP.
I have installed xrdp & xorgxrdp-git using AUR
It did not work via RDP from Windows 10 - get initial log in but then hangs and won’t load desktop, and I’ve taken the following steps to no avail (it now cuts off the RDP connection after logging in in RDP)
Followed instructions under ’ Running as Terminal Server (Xorg)’
https://wiki.archlinux.org/index.php/Xrdp
There is no ~exinitrc present.
Have amended /etc/X11/xinit/xinitrc so the last line reads ‘exec startxfce4’ (commenting out the existing exec xterm… line present)
In /etc/xrdp/sesman.ini, the [Xorg]:param argument is defined as ‘the path to the X11 server executable’ and is currently at its default value of ‘Xorg’. I am unable to locate an executable on the system called ‘xorg’. There is one called xstart, but I am unsure if this is suitable here.
/etc/xrdp/startwm.sh has been left at default, which I think is to source /etc/X11/xinit/xinitrc
Still no joy
I do not really understand what ~/.xsession
/ ~/.xsessionrc
are, but those files are not present.
End of xrdp.log says
[20190810-18:27:32] [DEBUG] xrdp_wm_log_msg: connected ok
[20190810-18:27:33] [DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful
[20190810-18:27:33] [DEBUG] Closed socket 18 (AF_INET 127.0.0.1:50064)
[20190810-18:27:33] [DEBUG] Closed socket 12 (AF_INET 192.168.1.13:3389)
[20190810-18:27:33] [DEBUG] xrdp_mm_module_cleanup
[20190810-18:27:33] [DEBUG] Closed socket 19 (AF_UNIX)
[20190810-18:27:33] [DEBUG] Closed socket 20 (AF_UNIX)
End of xrdp-sesman.log says
[20190810-18:27:32] [INFO ] starting Xorg session…
[20190810-18:27:32] [DEBUG] Closed socket 9 (AF_INET 0.0.0.0:5910)
[20190810-18:27:32] [DEBUG] Closed socket 9 (AF_INET 0.0.0.0:6010)
[20190810-18:27:32] [DEBUG] Closed socket 9 (AF_INET 0.0.0.0:6210)
[20190810-18:27:32] [DEBUG] Closed socket 8 (AF_INET 127.0.0.1:3350)
[20190810-18:27:32] [INFO ] calling auth_start_session from pid 31301
[20190810-18:27:32] [DEBUG] Closed socket 7 (AF_INET 127.0.0.1:3350)
[20190810-18:27:32] [DEBUG] Closed socket 8 (AF_INET 127.0.0.1:3350)
[20190810-18:27:32] [INFO ] Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20190810-18:27:32] [CORE ] waiting for window manager (pid 31302) to exit
[20190810-18:27:33] [CORE ] window manager (pid 31302) did exit, cleaning up session
[20190810-18:27:33] [INFO ] calling auth_stop_session and auth_end from pid 31301
[20190810-18:27:33] [DEBUG] cleanup_sockets:
[20190810-18:27:33] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdp_chansrv_audio_out_socket_10
[20190810-18:27:33] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdp_chansrv_audio_in_socket_10
[20190810-18:27:33] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdpapi_10
[20190810-18:27:33] [INFO ] ++ terminated session: username exharris, display :10.0, session_pid 31301, ip 192.168.1.15:53030 - socket: 12
Any ideas?