Red Hat Bugzilla – Bug 70834
The desktop detection problem
Last modified: 2007-04-18 12:45:15 EDT
elif ps auxwww |grep -q kde\init; then
elif ps auxwww |grep -q gnome-\session; then
to detect which desktop is running. It is easy to get false postive.
Why not use something like
fuser `which kdeinit` > /dev/null 2>&1
Please verify this with a newer version of Red Hat Enterprise Linux or
Fedora Core and reopen it against the new version if it still occurs.
Closing as "not a bug" for now.