I noticed this conversation regarding not being able to get entrance to
work with FC5.  Well... I just installed FC5 about a month ago, and I've
solved the problem.  Someone is going to have to make some changes to
the scripts/config files to get this to work permanently though.

BACKGROUND:

1.)  Configuration for /etc/entrance_config.cfg

Currently, entrance is setup for a system that still uses X11R6 from
"X.org" instead of the new X11R7 files.  You can check this with the
following command:

     sudo ecore_config -c /etc/entrance_config.cfg -a

Look at the last line.  If will say:

     /entranced/xserver string "/usr/X11R6/bin/X -quiet -nolisten tcp
     vt7"

Because of this, entrance will not launch successfully.  It certainly
tries, as can be verified by checking your /var/log/messages file, but
fails because "X.org" uses X11R7 under FC5.  Notice the release notes of
Fedora Core 5.  See the third point, in particular.

-----

The following list includes some of the more visible changes for
developers in X11R7:

   * The entire buildsystem has changed from imake to the GNU
      autotools collection.

   * Libraries now install pkgconfig *.pc files, which should now
      always be used by software that depends on these libraries,
      instead of hard coding paths to them in /usr/X11R6/lib or
      elsewhere.

   * Everything is now installed directly into /usr instead of
      /usr/X11R6. All software that hard codes paths to anything in
      /usr/X11R6 must now be changed, preferably to dynamically
      detect the proper location of the object. Developers are
      strongly advised against hard-coding the new X11R7 default
      paths.

   * Every library has its own private source RPM package, which
      creates a runtime binary subpackage and a -devel subpackage.

-----

As you know, this has caused many headaches for people (including
myself), because developers for particular packages have not had time to
change their source code before the release of FC5.  Specific to
entrance, notice that it looks for "X" in "/usr/X11R6/bin" instead of in
"/usr/bin", where everything is now installed.  But this can easily be
fixed.  Simply run the command:

   sudo ecore_config -c /etc/entrance_config.cfg -k /entranced/xserver
    -s "usr/bin/X -quiet -nolisten tcp vt7"

Now run:

   sudo ecore_config -c /etc/entrance_config.cfg -a

The last line should now say:

   /entranced/xserver  string  "usr/bin/X -quiet -nolisten tcp vt7"

You are now capable of running entrance in FC5.  But only if
the /etc/entrance_config.cfg file is not changed again.  It would be
good to set this up so that when entrance is installed on FC5, it points
to the proper directory automatically.

2.)  Location of the Xsession file.

Previously in FC4, "Xsession" could be found in only one location:
"/etc/X11/xdm/Xsession".  With FC5, things have gotten a bit more
complicated.  There are now two locations: "/etc/X11/xdm/Xsession" and
"/etc/X11/xinit/Xsession".  Both "gdm" and "kdm" (when launching a gnome
or kde session, respectively) are pointed to look at
"/etc/X11/xinit/Xsession", which is where the old "Xsession" file from
FC4 is now located (with some minor changes).  "/etc/X11/xdm/Xsession"
contains a new file that is specific to only "xdm" and is very sparse.
However, when entrance launches an enlightenment session, it still looks
for configuration info in "/etc/X11/xdm/Xsession", not
"/etc/X11/xinit/Xsession".  Check "/var/log/messages" to verify this.
For enlightenment, this causes problems because dbus (the messagebus
daemon) information will not be configured due to the major differences
between the two files, among other things.

Theoretically, we could just copy "/etc/X11/xdm/Xsession" to
"/etc/X11/xdm/Xsession.bak" and then force a soft link from
"/etc/X11/xinit/Xsession" to "/etc/X11/xdm/Xsession", but this is a
hack, and a poor one at that.  It would be much better to have entrance
set up so that it looks at "/etc/X11/xinit/Xsession" instead for FC5.
Then entrance and enlightenment can both be launched properly.

Can one of the developers perhaps update the "configure" script for
entrance to reflect the new changes so that it will work robustly with
both X11R6 and X11R7?

Thanks!
Greg


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to