[K12OSN] Log off doesn end all user processes
Radek Bursztynowski
radek at bursztynowski.waw.pl
Wed Apr 16 15:07:19 UTC 2014
Many thanks to all for advices.
Yes, I use pkill -U $USER for loging out LTSP client from the server.
Every time I check is the user is loged in from thin client or from the server directly and for LTSP session I use pkill, for directed session standard log out GNOME, XFCE or KDE program. It works fine with Scientific Linux 6.1 or CentOS 6.4 thin clent image. But I have several old machines which have to use old thin client image (Fedora 11 - i586). And pkill -U $USER with Fedora 11 thin client image kills all user processes but LDM on thin client couldn't refresh and I can see black screen only. When I use Ctrl+Alt+Backspace keys everything back to the norm and LDM reloads. It isn't clear solution for the users who use Fedora 11 thin client image with on old machines.
Let me add that when I log out using standard GNOME/XFCE/KDE logging out program on Fedora 11 image, LDM reloads well, but few user processes still run.
This is my real problem.
On the margin I noticed that pkill -U $USER doesn't umount breaks link with /home/$USER/.gvf. It breajs tar user home directory for simple bacakup. So, the first I umount /home/$USER/gvfs and the next is pkill.
Many thanks again for help, perhaps something else?
Radek
----- Original Message -----
From: jomegat <jomegat at jomegat.com>
Sent: Wed, 4/16/2014 3:20pm
To: "Support list for open source software in schools." <k12osn at redhat.com>
Subject: Re: [K12OSN] Log off doesn end all user processes
On 04/16/2014 09:10 AM, Jim Kinney
wrote:
nice! New tool.
It is a nice tool. Unfortunately, using it in this case treats the
symptom rather than the disease. But sometimes that's what you need
to do.
On Wed, Apr 16, 2014 at 9:06 AM,
jomegat <jomegat at jomegat.com>
wrote:
On 04/16/2014 08:58 AM, Jim Kinney wrote:
run this:
ps aux | grep radek | awk '{print $2}' | xargs kill -9
Here's an easier option:
pkill -u radek
Also,
pkill -u radek --signal 9
--
Jim Thomas (j omegat t)
It's easier to outsmart people than it is to outdumb
them.
- Scott
Meyers
_______________________________________________
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/
_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
Jim Thomas (j omegat t)
It's easier to outsmart people than it is to outdumb them.
- Scott Meyers
_______________________________________________
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