[K12OSN] Log off doesn end all user processes

Joseph Bishay joseph.bishay at gmail.com
Thu Apr 17 17:41:52 UTC 2014


Hello,

I have this same problem and I found the 'slay' command works
perfectly to resolve the leftover processes.

# slay username

Plus it's fun to tell the others that I had to 'slay' so-and-so :)

Info:
http://linuxpoison.blogspot.ca/2011/01/kills-all-of-users-processes-slay.html

Joseph

On Wed, Apr 16, 2014 at 7:50 AM, Radek Bursztynowski
<radek at bursztynowski.waw.pl> wrote:
> Hello,
>
> I have a problem with ending on server thin client LTSP session. When I log
> out from the server session I return to the LDM, but there are not closed my
> user processes on the server. After GNOME log out there are:
>
> [root at tryandbuy pxelinux.cfg]# ps aux | grep radek
> radek    10790  0.0  0.0  20040   680 ?        S    13:22   0:00 dbus-launch
> --sh-syntax --exit-with-session
> radek    10791  0.0  0.0  21816  1236 ?        Ss   13:22   0:00
> /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
> radek    10858  0.0  0.0 232924  6588 ?        Ss   13:22   0:00
> /usr/bin/seahorse-agent --variables
> radek    10862  0.0  0.0 137360  2152 ?        S    13:22   0:00
> /usr/libexec/gvfsd
> radek    10876  0.0  0.0 133864  5808 ?        S    13:22   0:00
> /usr/libexec/gconfd-2
> radek    10906  0.0  0.0  24752  2032 ?        S    13:22   0:00
> /usr/lib64/xfce4/xfconf/xfconfd
> radek    10929  0.0  0.0 238448  5640 ?        S    13:22   0:00 Thunar
> --daemon
> radek    10936  0.0  0.0 242892  2900 ?        Ss   13:22   0:00
> gnome-screensaver
> radek    10943  0.0  0.0 328644 10784 ?        Sl   13:22   0:00
> /usr/libexec/polkit-gnome-authentication-agent-1
> radek    10946  0.0  0.0 508884 10908 ?        S    13:22   0:00
> gnome-volume-control-applet
> radek    10952  0.0  0.0 115096  4052 ?        S    13:22   0:00
> /usr/libexec/im-settings-daemon
> radek    10975  0.0  0.0 251984  6792 ?        S    13:22   0:00
> gnome-power-manager
> radek    10978  0.0  0.1 303344 18736 ?        S    13:22   0:00 python
> /usr/share/system-config-printer/applet.py
> radek    10986  0.0  0.0 362372  9840 ?        S    13:22   0:00
> gpk-update-icon
> radek    10997  0.0  0.0 358308  6872 ?        S    13:22   0:00
> /usr/libexec/evolution/2.32/evolution-alarm-notify
> radek    11119  0.0  0.0  40900  2232 ?        S    13:22   0:00
> /usr/libexec/gconf-im-settings-daemon
> radek    11120  0.0  0.0 201512  2528 ?        S    13:22   0:00 xfsettingsd
> radek    11140  0.0  0.0 148776  3532 ?        S    13:22   0:00
> /usr/libexec/gvfs-gdu-volume-monitor
> radek    11144  0.0  0.0 232436  2064 ?        Sl   13:22   0:00
> /usr/libexec/gvfs-afc-volume-monitor
> radek    11147  0.0  0.0 150892  2196 ?        S    13:22   0:00
> /usr/libexec/gvfs-gphoto2-volume-monitor
> radek    11149  0.0  0.0 146304  3228 ?        S    13:22   0:00
> /usr/libexec/gvfsd-trash --spawner :1.2 /org/gtk/gvfs/exec_spaw/0
> radek    11297  0.0  0.0 356628 10964 ?        S    13:28   0:00
> /usr/libexec/notification-daemon
>
> After KDE log out:
> [root at tryandbuy pxelinux.cfg]# ps aux | grep radek
>
> [root at tryandbuy pxelinux.cfg]# ps aux | grep radek
> radek    11832  0.0  0.0  20040   692 ?        S    13:40   0:00 dbus-launch
> --sh-syntax --exit-with-session
> radek    11833  0.0  0.0  21668  1208 ?        Ss   13:40   0:00
> /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
> radek    11900  0.0  0.0 235144  6708 ?        Ss   13:40   0:00
> /usr/bin/seahorse-agent --variables
> radek    11908  0.0  0.0 137360  2104 ?        S    13:40   0:00
> /usr/libexec/gvfsd
> radek    11914  0.0  0.0 133848  5768 ?        S    13:40   0:00
> /usr/libexec/gconfd-2
> radek    12102  0.0  0.0 115096  4052 ?        S    13:40   0:00
> /usr/libexec/im-settings-daemon
> radek    12258  0.0  0.0  40900  2232 ?        S    13:40   0:00
> /usr/libexec/gconf-im-settings-daemon
>
> Could anybody advice me how to close all processes within log out?
>
> Best regards,
> Radek
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>




More information about the K12OSN mailing list