[K12OSN] Log off doesn end all user processes
Jim Kinney
jim.kinney at gmail.com
Wed Apr 16 12:58:42 UTC 2014
All of those _SHOULD_ close when you log out. You can add a script that
does a kill -9 on all the PIDs with your UID as owner.
However, those processes can hang around if a session crashes. They may be
stale. I also noticed you have a Thunar process. That's not part of normal
gnome so it may be holding open the gnome stuff.
run this:
ps aux | grep radek | awk '{print $2}' | xargs kill -9
That will kill all the processes. Now launch a TC session and log right
back out, wait a minute and then ps aux | grep radek
Which base server OS are you running?
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>
>
--
--
James P. Kinney III
Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*http://heretothereideas.blogspot.com/
<http://heretothereideas.blogspot.com/>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20140416/6910f077/attachment.htm>
More information about the K12OSN
mailing list