Re: [Ltsp-discuss] login sticking on server problem

2005-07-06 Thread Joe Auerbach
It's not a matter of killing the stale login. that's no problem. the problem is that I'm not goign to kill stale logins and attached processes for my entire userbase every time they log off the system for somehting. If this is a permenent issue then i won't be able to use ltsp because,

Re: [Ltsp-discuss] login sticking on server problem

2005-07-06 Thread Cory Oldford
It's not a matter of killing the stale login. that's no problem. the problem is that I'm not goign to kill stale logins and attached processes for my entire userbase every time they log off the system for somehting. If this is a permenent issue then i won't be able to use ltsp

Re: [Ltsp-discuss] login sticking on server problem

2005-07-06 Thread Jim McQuillan
Joe, What distro are you running on the server? It is the job of the display manager (GDM/KDM/XDM) to kill off any orphaned processes if you turn the terminal off, or log out before closing your apps. I know that older versions of GDM had a problem with this, but that was fixed about 2 years

Re: [Ltsp-discuss] login sticking on server problem

2005-07-06 Thread Cory Oldford
My experience with GDM has been hit and miss. It always cleans up after a clean logout however when a client drops off the network it may or may not clean up after the user. I found it necessary to execute a script on a daily cronjob to catch the odd garbage left over. Its rare that the script

Re: [Ltsp-discuss] login sticking on server problem

2005-07-06 Thread Joe Auerbach
Her logout should be clean. Basically her bash_profil looks like this (the important parts do anyway): ssh [EMAIL PROTECTED] (her login to the server) exit (cleans her out after she logs off) That's it. No fancy stuff, really (apart from what's there by default). I didn't want to screw

Re: [Ltsp-discuss] login sticking on server problem

2005-07-06 Thread Cory Oldford
Is it just ssh that she is accessing or it via a graphical login? Either way you are probably looking at a server side issue not a client side(LTSP) issue. If it is a graphical login which display manager are you using(xdm, gdm, kdm, etc). To my knowledge sessreg is called by all of these to

Re: [Ltsp-discuss] login sticking on server problem

2005-07-06 Thread Jim McQuillan
Cory, sessreg doesn't really manage any sessions. It simply adds or removes entries from the utmp and wtmp files. Some script should run sessreg to do that work. That same script is what where you could put commands to kill processes and clean things up. Jim McQuillan [EMAIL PROTECTED] On

Re: [Ltsp-discuss] login sticking on server problem

2005-07-06 Thread Cory Oldford
I guess I wasn't clear enough. I have a script that does just that. It uses sessreg to kill the logins then I use 2 sweeps of process killing to kill child processes followed by the parents of any processes that don't die in the first sweep. To finalize the clean up I unmount the sshfs mounts

[Ltsp-discuss] NFS block size, where to put

2005-07-06 Thread Verner Kjærsgaard
Hi Jim and list, - I read the wiki about the rsize=8192,wsize=8192 trick in the dhcpd.conf file. It works fine. - However, I seem to remember that I once put that parm into something like /opt/ltsp/i386/etc/rc.sysinit (??), can that be true? - And, would it not work the same way putting the