I believe sessions are in /etc/X11/Sessions. try putting a symlink called 
enlightenment there pointing to /usr/local/bin/enlightenment... maybe that will 
work?

On Tue, 26 Jul 2005 10:22:38 +0300
Viktor Kojouharov <[EMAIL PROTECTED]> wrote:

> hello list dwellers,
> 
> i've tried setting up entrance on a slackware machine. so far i've 
> failed miserably. the config db was configured according to the Xsession 
> file (/etc/X11/xdm/Xsession), and entrance was compiled --with-xsession. 
> My Xsession file is at the bottom of the mail. anyway, the 
> entrance/sessions/%d/session name for E is enlightenment, so entrance 
> should find it in Xsession. it didn't though, it tried starting a 
> session, then went back to entrance. I changed the session to 
> /usr/local/bin/enlightenment, and it still didn't start anything.
> 
> so what am i missing?
> 
> 
> ######################################################
> #!/bin/sh
> 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
> 
> userresources=$HOME/.Xresources
> usermodmap=$HOME/.Xmodmap
> sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
> sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
> 
> if [ -r $sysresources ]; then
>    xrdb -merge $sysresources
> fi
> 
> if [ -r $sysmodmap ]; then
>    xmodmap $sysmodmap
> fi
> 
> if [ -r $userresources ]; then
>    xrdb -merge $userresources
> fi
> 
> if [ -r $usermodmap ]; then
>    xmodmap $usermodmap
> fi
> 
> profile=/etc/profile
> userprofile=~/.profile
> 
> if [ -r $profile ]; then
>        source $profile 1> /dev/null 2> /dev/null
> fi
> if [ -r $userprofile ]; then
>        source $userprofile 1> /dev/null 2> /dev/null
> fi
> 
> case `basename "$SHELL"` in
> bash|sh|ash)
>    PATH="`( echo 'echo $PATH' | bash --login ) | tail -1`"
>    ;;
> csh|tcsh)
>    PATH="`( echo 'echo $PATH' | tcsh -l ) | tail -1`"
>    ;;
> ksh)
>    PATH="`( cat /etc/profile ; echo 'echo $PATH' ) | ksh | tail -1`"
>    ;;
> zsh)
>    PATH="`( echo 'echo $PATH' | zsh -l ) | tail -1`"
>        ;;
> *)
>    # We don't know your shell, so we'll set up reasonable defaults.
>         if [ "`whoami`" = "root" ]; then
>        
> PATH=$PATH:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin
>         else
>        PATH=$PATH:/usr/local/bin:/bin:/usr/bin
>           fi
>         ;;
> esac
> 
> if [ -r /etc/xprofile ]; then
>    source /etc/xprofile
> fi
> if [ -r ~/.xprofile ]; then
>    source ~/.xprofile
> fi
> 
> case "$1" in
> failsafe)
>    xsetroot -solid SteelBlue
>    exec xterm -geometry 80x24-0-0
>    ;;
> kde)
>    exec startkde
>    ;;
> gnome)
>    exec gnome-session
>    ;;
> openwin)
>    exec olvwm
>    ;;
> fluxbox)
>    exec fluxbox
>    ;;
> fvwm2)
>    xsetroot -solid SteelBlue
>    exec fvwm2
>    ;;
> fvwm95)
>    xsetroot -solid SteelBlue
>    exec fvwm95
>    ;;
> blackbox)
>    exec blackbox
>    ;;
> xfce)
>    exec /etc/X11/xinit/xinitrc.xfce
>    ;;
> windowmaker)
>    exec /etc/X11/xinit/xinitrc.wmaker
>    ;;
> afterstep)
>    exec afterstep
>    ;;
> enlightenment)
>    xhost +sat
>    /usr/libexec/gnome-settings-daemon &
>    /usr/local/bin/enlightenment &
>    /home/urandom/bin/background.pl &
>    exec xfce4-panel
>    ;;
> twm)
>    xsetroot -solid SteelBlue
>    exec twm
>    ;;
> esac
> 
> if [ -x $HOME/.xsession ]; then
>        exec $HOME/.xsession $@
> fi
> 
> if [ -r /etc/X11/xinit/xinitrc ]; then
>    exec /etc/X11/xinit/xinitrc
> fi
> 
> if [ -s "$startup" -a -x "$startup" ]; then
>    exec "$startup"
> else
>    if [ -r "$resources" ]; then
>        xrdb -load "$resources"
>    fi
>    # Run xsm as a failsafe.
>    exec xsm
> fi
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to