OoO Pendant le journal télévisé du jeudi 05 janvier 2012, vers 20:19, Petter Reinholdtsen <[email protected]> disait :
> In Debian Edu/Squeeze, we install xrdp in the Thin-Client-Server > profile. When I set up a combined Main-Server+Thin-Client-Server log in > as the localadmin user and start 'rdesktop tjener', the login prompt > show up and I enter the password, but the RPD session do not start > properly. These are the messages shown in the rdesktop window when the > connection fail: > connecting to sesman ip 127.0.0.1 port 3350 > sesman connect ok > sending login info to sesman > xrdp_mm_process_login_response: login successful for display > started connecting > connecting to 127.0.0.5910 > error - problem connecting > When I press OK, the rdesktop session teminates. When I try to log in > again, the login work fine. I suspect this problem is a race condition, > where creating the vnc session actually worked but something tried to > connect "too early" and caused this failure. The reason is that when I > tested the last time, I could hear the KDE login sound some time after I > tried to log in, but before I was able to try to log in again. > The machine I test on is rather old (Dell Latitude D505 - more than 7 > years old), and do not have a lot of memory. Could the machine speed be > related to the failure? xrdp will start Xvnc and will check if it is running by checking for the existence of /tmp/.X11-unix/X%d exists. It seems possible that Xvnc will start an X server listening to this socket before VNC is listening to the appropriate port. In sesman/session.c, look at wait_for_xserver() function. Maybe you could add g_sleep(1000) at the end of the function? Or check if there is something listening at the correct port (but this is more tricky since you can't bind to the port, otherwise, you risk to steal it from Xvnc). Which Xvnc server are you using? -- Vincent Bernat ☯ http://vincent.bernat.im panic("aha1740.c"); /* Goodbye */ 2.2.16 /usr/src/linux/drivers/scsi/aha1740.c
pgpp3FZDQxZqK.pgp
Description: PGP signature

