Re: [Xrdp-devel] Suddenly: X server for display 11 startup timeout

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Xrdp-devel] Suddenly: X server for display 11 startup timeout

cjdl01
OK.  Got this one.... though I'm confused as to how this happened.

The problem, as I suspected, was not xrdp.  It was a permissions error  
on /tmp.  The users in question couldn't for their socket to start  
their x session.

Just needed a good night's sleep to figure out how to trouble shoot it.



----- Forwarded message from cjdl01 <[hidden email]> -----


Hello.

I hope this isn't a stupid question, but I had a really good thing  
working with xrdp for years.  Suddenly, I rebooted the server, and  
xrdp no longer works.  I do not understand why.  I didn't change any  
config or install any new packages -- just *poof* stops working.  So,  
I can only suspect that something was changed months ago, without a  
reboot.

I'm runing debian wheezy, with the xrdp 5 that is in the default repository.

Now when I try to connect, I get "error problem connecting"

If I look in the xrdp-sessman.log file (or run it in the foreground) I get:

[20150321-22:08:27] [INFO ] scp thread on sck 7 started successfully
[20150321-22:08:27] [INFO ] granted TS access to user jill
[20150321-22:08:28] [INFO ] starting Xvnc session...
[20150321-22:08:38] [ERROR] X server for display 11 startup timeout
[20150321-22:08:38] [ERROR] X server for display 11 startup timeout
[20150321-22:08:38] [ERROR] another Xserver is already active on display 11
[20150321-22:08:38] [INFO ] starting xrdp-sessvc - xpid=6035 - wmpid=6034
[20150321-22:08:38] [DEBUG] aborting connection...

It says another X server is active... which, of course, is not true.  
I don't even start x on boot, or any kind of display manager.

To my great consternation, I have googled this, and found no insight  
whatsoever.  The couple of posts that say they fix it talk about  
adding gnome as the solution.  Please...  Another said add pixman and  
libxfonts... mine were already installed.  I reinstalled these, but it  
still didn't help.

I'm not seeing anythign particularly weird in my /var/log/syslog and  
It doesn't look like it is writing to my Xorg.0 log.

I don't have direct access to this machine -- I can only hit it  
remotely through ssh, and up to a few hours ago, through xrdp.

Can someone give me a hand here?  Where do I go next?  How do I  
trouble-shoot this?  Is this a bug?

Thank you.

-Chris

sesman.ini:
ListenAddress=127.0.0.1
ListenPort=3350
EnableUserWindowManager=1
UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh

[Security]
AllowRootLogin=1
MaxLoginRetry=4
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins

[Sessions]
MaxSessions=10
KillDisconnected=0
IdleTimeLimit=0
DisconnectedTimeLimit=0

[Logging]
LogFile=/var/log/xrdp-sesman.log
LogLevel=DEBUG
EnableSyslog=0
SyslogLevel=DEBUG

[X11rdp]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp

[Xvnc]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp

-------------------------
xrdp.ini:
[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=low
channel_code=1

[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1

[xrdp2]
name=console
lib=libvnc.so
ip=127.0.0.1
port=5900
username=na
password=ask

[xrdp3]
name=vnc-any
lib=libvnc.so
ip=ask
port=ask5900
username=na
password=ask

[xrdp4]
name=sesman-any
lib=libvnc.so
ip=ask
port=-1
username=ask
password=ask

[xrdp5]
name=rdp-any
lib=librdp.so
ip=ask
port=ask3389

[xrdp6]
name=sesman-X11rdp
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1

-----------
startwm.sh:

if [ -r /etc/default/locale ]; then
   . /etc/default/locale
   export LANG LANGUAGE
fi

/usr/bin/startlxde
#/usr/bin/startkde
#. /etc/X11/Xsession

users who are allowed to do this are part of the tsusers group.

----- End forwarded message -----


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
xrdp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/xrdp-devel