Comment 5 for bug 339032

Revision history for this message
Brent (brent-hughes11) wrote :

I had the same problem. xrdp wouldn't stay running from the startup scripts, but if I logged in I could run it manually with no problems. After a few days of trying everything I could think of I stumbled upon a solution. Putting a delay at the end of /etc/init.d/xrdp seems to do the trick. I added "sleep 20" just before the exit statement and it works fine (sleep 10 didn't). Perhaps xrdp takes a few seconds to get going and is sensitive to the calling script exiting during this time. I had this issue in Xubuntu 9.04 but not in Titan LEV 9.04, both tested on the same hardware. Perhaps the bulkier Titan distro has enough going on during startup to slow it down enough on its own.