Kernel 2.6.9
Slackware 10
gcc 3.3.4

All EFL and apps updated cvs 20041201

Slackware has a slightly different way of configuring X, so I modified
entrance_config.db to launch the init scripts for different window
managers directly. I looked at the config log, and entrance properly
found the Xsession file and sees it ok.

However,whenever I run entrance, no matter what I select, I get the
fallback window manager from Xsession, xsm. I something wrong with the
spawning process? Is the wm not being passed? Even when I explicitly
specify a window manager script or executable, Xsession seems to be run.

Here are snips of the build_config.sh file, compiled and installed, and
the default Xsession file I have.

Any feedback welcome!

[build_config.sh]
// here I try and run the xinit script directly for e
edb_ed $DB add /entrance/session/1/icon str "enlightenment.png"
edb_ed $DB add /entrance/session/1/title str "Enlightenment"
edb_ed $DB add /entrance/session/1/session str "/etc/X11/xinit/xinitrc.e"

// here I try and run the e application directly
edb_ed $DB add /entrance/session/2/icon str "enlightenment.png"
edb_ed $DB add /entrance/session/2/title str "Enlightenment"
edb_ed $DB add /entrance/session/2/session str "/usr/X11/bin/enlightenment17"

// here I try and run the kde startup script directly
edb_ed $DB add /entrance/session/3/icon str "kde.png"
edb_ed $DB add /entrance/session/3/title str "KDE"
edb_ed $DB add /entrance/session/3/session str "/opt/kde33/bin/startkde"

// here I use the default Xsession name for gnome
edb_ed $DB add /entrance/session/4/icon str "gnome.png"
edb_ed $DB add /entrance/session/4/title str "Gnome"
edb_ed $DB add /entrance/session/4/session str "gnome"

In all cases, Xsession seems to fail, and falls through

Here is a snip from Xsession and what it's trying to do
[Xsession]

# If a particular session type was requested in $1, start that session:
case "$1" in
failsafe)
        xsetroot -solid SteelBlue
        exec xterm -geometry 80x24-0-0
        ;;
kde)
        exec startkde
        ;;
gnome)
        exec gnome-session
        ;;
#snip...
enlightenment)
        exec enlightenment
        ;;
esac
#snip
# then Xsession falls through to the end

# If a $startup variable is set to define the window or session manager,
# then run that:
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

-- 
Peter



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to