Leftover processes after users log out

Gavin McCullagh gmccullagh at gmail.com
Tue Apr 3 10:31:08 BST 2007


Hi Eduwijs & Todd,

On Tue, 03 Apr 2007, Eduwijs beheer (Michiel) wrote:

> I have the same "problems" as the user on which I reply. Why does this 
> happen? I don't use ltsp, but I use Nomachine NX. The processes that 
> will stay running are gnome-panel and bonobo-activation-server. And 
> gnome-panel is using then a lot of CPU. What could be the cause of this? 
> They aren't zombies. I'm also running Ubuntu 6.10.
> 
> The session is started with the command: "dbus-launch 
> --exit-with-session gnome-session". But when this closes, it won't kill 
> the other programs which are running with the session itself.

I'm not sure what the reason for the stale processes is, but I recall
reading on the debian-edu lists that people were writing workaround scripts
for clearing out old processes some months back.  A quick search gives me:

	http://www.skolelinux.no/~klaus/newnotater/x4181.html

which assumes you are using KDM in that he suggests you hook it into
/etc/kde2/kdm/Xreset.  As edubuntu doesn't use KDM, I suppose you could
possibly put it in /etc/X11/Xsession or even in the ssh_remote_command
variable in /opt/ltsp/i386/usr/sbin/ldm.

It also seems to presume nobody is logged in in two places (which they
probably shouldn't anyway).

Gavin





More information about the edubuntu-users mailing list