Implemented Fedora Core compatibility.
authorshort <>
Sat, 14 May 2005 03:25:14 +0000 (03:25 +0000)
committershort <>
Sat, 14 May 2005 03:25:14 +0000 (03:25 +0000)
.Xsession

index b9c08fe..b107cfc 100755 (executable)
--- a/.Xsession
+++ b/.Xsession
@@ -1,7 +1,11 @@
 # $Id$
 
 
-# FIXME: Fedora Core compatibility!
-
 . $HOME/.bashrc
-exec /usr/bin/x-session-manager "$@"
+if [ -x /etc/X11/xinit/Xclients ];then
+   exec /etc/X11/xinit/Xclients "$@"
+fi
+if [ -x /usr/bin/x-session-manager ];then
+   exec /usr/bin/x-session-manager "$@"
+fi
+logger -i -s -p user.crit "No session manager found, exiting!"