Hi Vincent Here we go.
Startup: [20080326-21:10:13] [INFO ] starting signal handling thread... [20080326-21:10:13] [INFO ] signal handler thread started successfully [20080326-21:10:13] [CORE ] starting sesman with pid 14340 [20080326-21:10:13] [INFO ] listening... [20080326-21:10:13] [DEBUG] calling sigwait() Login [20080326-21:11:21] [DEBUG] new connection [20080326-21:11:21] [DEBUG] lock_socket_acquire() [20080326-21:11:21] [INFO ] scp thread on sck 5 started successfully [20080326-21:11:21] [DEBUG] started scp thread on socket 5 [20080326-21:11:21] [DEBUG] lock_socket_release() [20080326-21:11:21] [DEBUG] accept ok, go on with scp v0 [20080326-21:11:21] [DEBUG] lock_chain_acquire() [20080326-21:11:21] [DEBUG] lock_chain_release() [20080326-21:11:21] [DEBUG] Terminal Server Users group is disabled, allowing authentication [20080326-21:11:21] [INFO ] granted TS access to user test [20080326-21:11:21] [INFO ] starting Xvnc session... [20080326-21:11:21] [DEBUG] lock_chain_acquire() [20080326-21:11:21] [DEBUG] lock_chain_release() [20080326-21:11:21] [DEBUG] lock_chain_acquire() [20080326-21:11:21] [DEBUG] lock_chain_release() [20080326-21:11:21] [DEBUG] pass file: /home/test/.vnc/sesman_passwd [20080326-21:11:21] [INFO ] starting sessvc - xpid=14348 - wmpid=14347 Logout <nothing> After that failed login. [20080326-21:12:56] [DEBUG] new connection [20080326-21:12:56] [DEBUG] lock_socket_acquire() [20080326-21:12:56] [INFO ] scp thread on sck 5 started successfully [20080326-21:12:56] [DEBUG] started scp thread on socket 5 [20080326-21:12:56] [DEBUG] lock_socket_release() [20080326-21:12:56] [DEBUG] accept ok, go on with scp v0 [20080326-21:12:56] [DEBUG] lock_chain_acquire() [20080326-21:12:56] [DEBUG] lock_chain_release() Please note that I have done the following to make it actually start sessvc. scp sesman/sessvc [EMAIL PROTECTED]:/ Best regards, // Ola On Wed, Mar 26, 2008 at 08:39:39PM +0100, Vincent Bernat wrote: > OoO Vers la fin de l'après-midi du samedi 22 mars 2008, vers 16:32, Ola > Lundqvist <[EMAIL PROTECTED]> disait: > > > With the -DDEBUG and 08 and 09 patch sesman crashes. So I tried once > > without any > > extra patches. Just the -DDEBUG added. > [...] > > And with the 09 patch I get the following (with -DDEBUG): > > > lapilli:~# tail -f /var/log/sesman.log > > [20080322-16:29:27] [DEBUG] sesman received SIGTERM > > [20080322-16:29:27] [INFO ] shutting down sesman 1 > > [20080322-16:29:27] [DEBUG] - getting signal 15 pid 3566 > > [20080322-16:29:27] [DEBUG] lock_chain_acquire() > > [20080322-16:29:27] [DEBUG] lock_chain_release() > > [20080322-16:29:27] [DEBUG] calling sigwait() > > [20080322-16:29:43] [INFO ] starting signal handling thread... > > [20080322-16:29:43] [INFO ] signal handler thread started successfully > > [20080322-16:29:43] [ERROR] error opening pid file: No such file or > > directory > > [20080322-16:29:43] [CORE ] shutting down log subsystem... > > I don't really understand how you get this error with my patch. In > sesman.c, there is a first check that the PID file exists and if it > exists, there is an attempt to open it. But you get the message because > the PID file does not exist. Maybe there is a race condition but this > unrelated to the patch 09. > > Can you try from a fresh ground? apt-get source xrdp, add patch 8 and > patch 9, compile with debug. And BTW, instead of the precedent patch 9, > can you try this one instead? If you get several "Child xxx is dead" > before "No more children", then we hit a bug in the original code. > > > Thanks ! > -- > HIGH EXPLOSIVES AND SCHOOL DON'T MIX > HIGH EXPLOSIVES AND SCHOOL DON'T MIX > HIGH EXPLOSIVES AND SCHOOL DON'T MIX > -+- Bart Simpson on chalkboard in episode 8F03 -- --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ---- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://opalsys.net/ Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

