Morten,

> this looks to me like the session fails to execute... have you looked
> at /var/log/Xorg.0.log (or whatever file your X11 server logs to) ?

That was one of the first things I looked at.  No help.  There are no
visible errors in the X server log.

> what session have you selected in entrance, and what does the 
> entrance_config.cfg entry for that session contain?
> 
> ecore_config /etc/entrance_config.cfg get /entrance/session/n/session
> 
> replace n with the number of your selected session, the top one in list is 0

I have selected enlightenment as my default session:

elisha: ~> ecore_config /etc/entrance_config.cfg
get /entrance/session/0/session

default

elisha: ~> ecore_config /etc/entrance_config.cfg
get /entrance/session/1/session

/usr/bin/enlightenment

elisha: ~>

The easiest way to verify this is to note that I've changed
"/etc/X11/prefdm", "/etc/X11/xdm/Xsession", and "/etc/sysconfig/desktop"
to use entrance as the default login manager and enlightenment as the
default session.  Here are the relevant changes made to the files:

-----

Get entrance setup:

Here are the steps:

1. We integrate E into the FC evironment. i.e in /etc/X11/xdm/Xsession
    we try to add some lines for E. Try to locate the relevant parts and
    insert.

    [SNIP]

    case "$1" in
    failsafe)
       exec -l $SHELL -c "xterm -geometry 80x24-0-0"
       ;;
    gnome)
       exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH gnome-session"
       ;;
    # The following changes have been made:
    Enlightenment)
       exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH enlightenment"
       ;;
    # End of changes
    kde|kde1|kde2)
       exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH $SWITCHDESKPATH/Xclients.kde"
       ;;
    twm)
        # fall back to twm
       exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH $SWITCHDESKPATH/Xclients.twm"
       ;;
    *)

    [SNIP]

2. We edit  /etc/X11/prefdm to tell the system to launch Entrance...

    [SNIP]

         elif [ "$DISPLAYMANAGER" = XDM ]; then
                 preferred=xdm
         # We add this line but remember that it has to match 
/etc/sysconfig/desktop
         elif [ "$DISPLAYMANAGER" = E17 ]; then
                 preferred=entranced
         # End of changes
         elif [ -n "$DISPLAYMANAGER" ]; then
                 preferred=$DISPLAYMANAGER
         fi
fi

    [SNIP]

# If we're in early-login mode and something is running, bail out
if grep -q early-login /proc/cmdline 2> /dev/null ; then
         if [ -n "$preferred" ]; then
                 pidof $preferred >/dev/null 2>&1 && exit 0
         fi
         pidof gdm-binary >/dev/null 2>&1 && exit 0
         pidof kdm >/dev/null 2>&1 && exit 0
         pidof xdm >/dev/null 2>&1 && exit 0
         # Add this line
         pidof entranced >/dev/null 2&1 && exit 0
         # End of changes
fi

    [SNIP]

# Fallbacks, in order
# First, fallback to entrance...
entranced "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
         exec $0 "$@"
         exit $?
fi
# End of changes
gdm "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
         exec $0 "$@"
         exit $?
fi

    [SNIP]

3. Make sure your /etc/sysconfig/desktop ressembles this:

      DISPLAYMANAGER="E17"

The most important change is that "/etc/sysconfig/desktop" should say
"DISPLAYMANAGER" and *not* "DESKTOP" because of the environment variable
in "/etc/X11/prefdm" (I think this may actually be a FC4 bug.)  Also, if
people would rather fallback to gnome first (or something else), you can
just move the new fallback code to the desired place with regard to order
of importance (i.e., after the gdm snippet).  


Cheers!
Greg

-----

These changes were working up until around the 15 of October or so, when
new changes to the CVS tree hit.

Thanks,
Greg



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to