xrdp dies when starting at boot time
Bug #339032 reported by
Martin Jackson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xrdp (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
When rebooting in jaunty, xrdp leaves a pid file in /var/run/xrdp but is not running when I can actually ssh into the machine. sesman is running fine. This means that I have to manually clear the pidfile (/etc/init.d/xrdp doesn't check this) and restart the xrdp service. The reason I noticed it was that I have a nagios server monitoring the xrdp service (TCP port 3389) and it got connection refused. Notice also that xrdp starts fine under Intrepid.
xrdp (0.4.0~dfsg-9), i386
Expected results: Service restarts and RDP clients can connect
Actual results: RDP clients got connection refused errors
To post a comment you must log in.
Same problem here, but even if the init.d script is modified to clear the pid files, the server doesn't start properly on its own. After clearing sesman.log, after a reboot, the contents of sesman.log are
[20090530-00:59:49] [INFO ] starting signal handling thread...
[20090530-00:59:49] [INFO ] signal handler thread started successfully
[20090530-00:59:49] [CORE ] starting sesman with pid 2353
[20090530-00:59:49] [INFO ] listening...
Also, the relevant processes are
$ ps -A | grep sesman
2353 ? 00:00:00 sesman
$ ps -A | grep xrdp
$
So it appears xrdp is not starting (or is shutting down), but sesman is running ok.
Not surprisingly, xrdp does not work - connection refused.
If xrdp is then restarted manually:
$ ps -A | grep sesman
3303 pts/0 00:00:00 sesman
$ ps -A | grep xrdp
3301 pts/0 00:00:00 xrdp
$ cat /var/log/sesman.log
[20090530-00:59:49] [INFO ] starting signal handling thread...
[20090530-00:59:49] [INFO ] signal handler thread started successfully
[20090530-00:59:49] [CORE ] starting sesman with pid 2353
[20090530-00:59:49] [INFO ] listening...
[20090530-01:05:52] [INFO ] shutting down sesman 1
[20090530-01:05:52] [INFO ] starting signal handling thread...
[20090530-01:05:52] [INFO ] signal handler thread started successfully
[20090530-01:05:52] [CORE ] starting sesman with pid 3303
[20090530-01:05:52] [INFO ] listening...
xrdp works - I can login remotely.