mirror of the now-defunct rocklinux.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#! /bin/sh # Xsession - run as user
# redirect errors to a file in user's home directory if we can for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER" do if ( cp /dev/null "$errfile" 2> /dev/null ) then chmod 600 "$errfile" #exec > "$errfile" 2>&1 break fi done
DM_PATH=$PATH test -f /etc/profile && . /etc/profile test -f $HOME/.profile && . $HOME/.profile IFS_SAVE=$IFS IFS=: for i in $PATH; do case :$DM_PATH: in *:$i:*) ;; ::) DM_PATH=$i;; *) DM_PATH=$DM_PATH:$i;; esac done IFS=$IFS_SAVE PATH=$DM_PATH export PATH
test -f /etc/xprofile && . /etc/xprofile test -f $HOME/.xprofile && . $HOME/.xprofile
sess=$1 shift
case $sess in failsafe) exec xterm -geometry 80x24-0-0 $* ;;
|