From 8ceee09fa9fed3d073397cb1b284921253268578 Mon Sep 17 00:00:00 2001 From: short <> Date: Sat, 14 May 2005 03:25:14 +0000 Subject: [PATCH] Implemented Fedora Core compatibility. --- .Xsession | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.Xsession b/.Xsession index b9c08fe..b107cfc 100755 --- 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!" -- 1.8.3.1