I use the next script for about a year.
I have a killgdm.sh script and run it every minute from crontab.

The next line is the script.

ps -ef | grep gdm-binary | grep -v root | awk '{system  ("/usr/bin/pkill -u  " 
$1> )}'

Hans Varkevisser

Op 20 jun. 2013, om 09:46 heeft Philippe BOURDEU d'AGUERRE 
<[email protected]> het volgende geschreven:

> Greg Rodenhiser writes:
>> I
>> ask because there are a few times where a SunRay device will be stuck on
>> code 26D and the only way to clear it is to pkill gdm on the host
>> (disruptive to all sessions to clear a single Sunray session).
> 
> A softer way is to do:
> 
> pkill -9 gdm-binary
> 
> It doesn't interrupt current sessions.
> -- 
> Philippe BOURDEU d'AGUERRE
> AIME - Campus de l'INSA                  http://www.aime-toulouse.fr/
> 135 av. de Rangueil                    Tél +33 561 559 885
> 31077 TOULOUSE Cedex 4 - FRANCE        Fax +33 561 559 870
> _______________________________________________
> SunRay-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/sunray-users

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to