Hi,
The thread’s a little old I kow, but I’ve been suffering the same problem in SLES (error X server died) and have found a solution - it’s simple and I hope will help someone else.
Basically xrdp would work then it wouldn’t, with no apparent pattern. If I connected to the server via a ‘normal’ ssh session (no x11 forwarding) all is well. However, if I connect using “ssh -X -Y…” all subsequent attempts to xrdp would fail. Once I disconnected the x11 ssh session xrdp works.
I have tried waht Steve has proposed but it does not help, also i have read other forums and nothing has worked so far. I am still getting the same errors
tail -f xrdp-sesman.log
[20101016-00:06:26] [INFO ] granted TS access to user XXXX
[20101016-00:06:26] [INFO ] starting Xdmx session…
[20101016-00:06:26] [CORE ] error X server died - user XXXX - pid 6265