I am trying to start xrdp from Windows with the method described here, but when I run the command wsl sudo service xrdp start, xrdp doesn't start up properly. Running service xrdp status
as my linux user returns
* could not access PID file for xrdp-sesman
* xrdp is not running
and I can't connect via RDP. Running wsl -u USER sudo service xrdp start gives me the same result. How can I fix this and run the service properly?
sudo /etc/init.d/xrdp statusYou should also verify thatxrdpeven exists within/ect/init.d– Ramhound Feb 23 '21 at 22:56wsl.exe sudo /etc/init.d/xrdp startfrom windows results in*xrdp-sesman is running* xrdp is not running, and I can't connect to the session.xrdpdoes exist in/ect/init.d, and I can runsudo service xrdp startfrom bash just fine. – The Bic Pen Feb 23 '21 at 23:15xrdpgives me the status of 2 processes. Maybe both of those processes are necessary for xrdp or something. I did not change the port because it works just fine with the default port. To clarify, when I start thexrdpservice from bash (in WSL), it works as expected. When I run the command from Windows viawsl.exe, it doesn't work. – The Bic Pen Feb 24 '21 at 00:00