Processes remain after log off
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
After logging out of a GNOME session, processes owned by the now-logged-out user still remain and interfere with subsequent logons. Because both bonobo-
e.g.
toobuntu@uw1:~$ w
19:31:47 up 4:40, 1 user, load average: 0.00, 0.03, 0.09
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
toobuntu pts/0 uw5.local 17:23 0.00s 0.18s 0.00s w
toobuntu@uw1:~$ ps U cindy
PID TTY STAT TIME COMMAND
6538 ? Ss 0:00 /usr/lib/
My current workaround is to run 'ps U <username-
$ cat /usr/local/
#!/bin/bash
# takes 1 argument: the username of the user who logged off
USER=$1
sudo kill -9 $( ps U $USER | grep -v TTY | awk '{print $1}' ) 2> /dev/null
-----
$ lsb_release -dr
Description: Ubuntu 8.04
Release: 8.04
$ apt-cache policy libbonobo2-0 gvfs-fuse
libbonobo2-0:
Installed: 2.22.0-0ubuntu1
Candidate: 2.22.0-0ubuntu1
Version table:
*** 2.22.0-0ubuntu1 0
500 http://
100 /var/lib/
gvfs-fuse:
Installed: 0.2.4-0ubuntu1
Candidate: 0.2.4-0ubuntu1
Version table:
*** 0.2.4-0ubuntu1 0
500 http://
100 /var/lib/
0.2.3-0ubuntu5 0
500 http://
0.2.3-0ubuntu4 0
500 http://
here's a more complete and more common list:
toobuntu@uw1:~$ w bonobo- activation/ bonobo- activation- server - gvfs//gvfs- fuse-daemon /home/ed/.gvfs evolution/ evolution- data-server- 2.22 --oaf-a libgconf2- 4/gconfd- 2 11
11:20:37 up 2 days, 20:29, 1 user, load average: 0.04, 0.16, 0.17
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
toobuntu pts/0 uw5.local Fri17 0.00s 0.22s 0.00s w
toobuntu@uw1:~$ ps U ed
PID TTY STAT TIME COMMAND
20305 ? Ssl 0:00 /usr/lib/
20334 ? Ss 0:00 /usr/lib/
20404 ? Sl 0:00 /usr/lib/
21510 ? S 0:00 /usr/lib/
toobuntu@uw1:~$ kill-straglers ed
[sudo] password for toobuntu:
toobuntu@uw1:~$ ps U ed
PID TTY STAT TIME COMMAND