LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 10.1 GDM + enlightment (https://www.linuxquestions.org/questions/slackware-14/slackware-10-1-gdm-enlightment-302905/)

securitybreach 03-17-2005 04:42 PM

Slackware 10.1 GDM + enlightment
 
Very weird problem here. I was looking online and saw screenshots of Enlightenment. I normally use XFCE 4.2, but I thought I would try it. So I went to linuxpackages.net and searched for enlightenment and installed it with pkgtool. So then I logged out and then back in under enlightenment, but xfce started. So I rebooted and still the same thing. I never had any problems with any of the other WMs I have installed. Also, I got it started after I dropped to shell and ran the command:

bash-3.00# /usr/local/enlightenment/bin/enlightenment

It started just fine then, but after reboot same problem. After seeing this, figure it is a GDM problem not enlightenment. If anyone has any ideas I would appreciate it. Thanx

securitybreach 03-17-2005 04:58 PM

Also, enlightenment shows up in GDM but starts XFCE 4.2 instead

dan_slack 03-17-2005 05:18 PM

Did you used xwmconfig?
Personaly i do it in the most simple way: just set the default wm with xwmconfig, and than startx.

Dan

phile 03-18-2005 08:25 AM

I haven't used GDM for a while, so I am not 100% sure, but I think the config files are under /etc/X11/gdm . You might want to poke around in there for a config file and see if it points to enlightenment properly.

Just curious, which e package did you download? e16 or e17?

pzubik 03-18-2005 01:14 PM

Do you have a .xinitrc file by chance, that is trying to executing xfce4 (or startxfce4)?

Also, like they were saying have a loook at the entry for Enlightenment and look at the entry for enlightenment:

If it looks like this:

[Desktop Entry]
Name=Enlightenment
Exec=custom

then it will use an .xinitrc file to set matters up, which if you have one that is trying to exec xfce4 will start xfce4 instead of enlightenment. If this is the case, then change the lines to:

[Desktop Entry]
Name=Enlightenment
Exec=enlightenment (or whatever the e17 executable is called)

Hope this helps,


Phil

securitybreach 03-18-2005 01:45 PM

My initrc shows:
# Enlightenment inserted Execution string here
exec /usr/local/enlightenment/bin/enlightenment

Also, where do I find the entries in GDM?
/etc/X11/gdm/gdm.conf only shows configuration for gdmsetip not window manager entries.

Thanx for the help

securitybreach 03-18-2005 01:52 PM

Also, I downloaded and installed version 0.16.8.0 of Enlightenment

pzubik 03-18-2005 02:07 PM

Sorry about that, shouldve mentioned that. I am currently not on my Slackware box, so this came from a websearch, but try looking in either:

/etc/X11/gdm/Sessions/

or

/etc/gdm/Sessions/

In whichever directory there should be scripts for each window manager that you are able to select from. See if there is one for enlightenment and see what it is running.

Hope this helps,



Phil

phile 03-18-2005 02:14 PM

A quick google pulled up this:
http://lists.progeny.com/archive/pro.../msg00378.html

It seems like you should have a file /etc/X11/gdm/sessions/enlightenment

and that file should contain just :
Code:

#!/bin/sh

exec /usr/local/enlightenment/bin/enlightenment

That's it, as far as I can tell. You said that just running "exec <whatever>/enlightenment" worked, right? I only ask b/c I was pretty sure that the executable to run e16 was renamed recently from 'enlightenment' to 'e16' but that might have happened in version 16.8.2 . Anyway, good luck!

~Phile

PS. By the way, Enlightenment is absolutely great!

securitybreach 03-18-2005 04:06 PM

My /etc/X11/gdm lists only Folders:
Init, Postlogin, PostSession, PreSession, modules

FIles:

XSession, factory-gdm.conf, gdm.conf, and locale.alias.

No sessions folder or enlightenment.

Thanx

phile 03-18-2005 08:43 PM

Check out this directory:
/usr/share/xsessions/

On my system, that looks to be the location of those session files. Without gdm set up though, I am not 100% sure about that. It contains the appropriate files. Check if you have an enlightenment.desktop there.

Actually, now that I think about it more, this is probably a problem just because you don't have the enlightenment bin directory in your path. Try this:
Code:

PATH=/usr/local/enlightenment/bin/:$PATH
and then try to run gdm to see if it properly inits enlightenment. I think that will solve the problem. If that works, I would suggest just permanently adding that directory to the PATH in your profile.

~phile

securitybreach 03-19-2005 10:19 AM

Fixed
 
I removed GDM and enlightenment. Then I reinstalled Enlightenment and use startx without a graphical loader. Not really a fix, but it works. I think I like it better really. T

Thanx for all the help.

phile 03-19-2005 11:57 AM

Great. I'm glad that you at least got a working solution. Sorry I couldn't be any more helpful.

If you really want to get into e and maybe even some e17, I suggest you give entrance a try. It is enlightenment's graphical loader. You will have to install some of the new libraries, but it is pretty nice. Good luck.


All times are GMT -5. The time now is 08:00 PM.