[K12OSN] Log off doesn end all user processes

Veli-Matti Lintu veli-matti.lintu at opinsys.fi
Wed Apr 16 13:18:07 UTC 2014


Hello,

There's a tool called xexit that you could try. It triggers a script to clean 
up user's processes when the session has died for some reason or X does not 
respond anymore.

There's more here:

http://labs.opinsys.com/blog/2011/03/22/killing-user-processes-with-xexit-on-ltsp-servers/


Happy hacking,

Veli-Matti

----- Original Message -----
> From: "Radek Bursztynowski" <radek at bursztynowski.waw.pl>
> To: k12osn at redhat.com
> Sent: Wednesday, April 16, 2014 2:50:14 PM
> Subject: [K12OSN] Log off doesn end all user processes
> 
> 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