[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 64785] ksmserver fails to quit when session ended
From:       "G.Feldmann" <fld () informatik ! uni-bremen ! de>
Date:       2003-10-16 13:48:57
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=64785     




------- Additional Comments From fld@informatik.uni-bremen.de  2003-10-16 15:48 -------
Until the bug is fixed I use the following script as a
work around. The script is started from the startkde 
script.

#!/usr/local/bin/bash

sleep 20

wm=
dt=

while [ ${wm}a = a ] ; do
    wm=`sps -a | grep 'kdeinit: kwin' | grep -v grep | awk '{print $3}'`
done

while [ ${dt}a = a ] ; do
    dt=`sps -a | grep 'kdeinit: kdesktop' | grep -v grep | awk '{print $3}'`
done

sm=`sps -a | grep 'kdeinit: ksmserver' | grep -v grep | awk '{print $3}'`


while kill -0 $wm 2>/dev/null && kill -0 $dt 2>/dev/null; do
#       WM und DT still alive
        sleep 5
done


kill -9 $sm
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic