Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Entrance Configuration Errors, (lots of config files)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Michael.Terence
n00b
n00b


Joined: 18 Jan 2005
Posts: 29

PostPosted: Tue Jan 25, 2005 12:29 pm    Post subject: Entrance Configuration Errors, (lots of config files) Reply with quote

Hey yall sorry to have to come here asking questsions about this... I know it is covered in at least a dozen topics but I can't figure it out.

Enlightenment will not start for me as a default session and I can't figure out how to add another entry (but i dont think that would make a difference.)

I have tried entrance, as well as GDM with no luck. (always get TWM) sometimes it will load, screen will flicker a few times then drop me back to entrance im guessing enlightenment is starting then but craping out for some reason but can't find anything about it in any log files.

(I emerged *-9999 -*)

Code:
root@titan tater # cat /etc/rc.conf
# /etc/rc.conf: Global startup script configuration settings
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/rc.conf,v 1.22 2003/10/21 06:09:42 vapier Exp $

KEYMAP="us"

SET_WINDOWKEYS="no"


EXTENDED_KEYMAPS=

CONSOLEFONT="default8x16"

CLOCK="UTC"

# Set EDITOR to your preferred editor.

EDITOR="/bin/nano"

# Most users want this:
PROTOCOLS="1 2"

# What display manager do you use ?  [ xdm | gdm | kdm | entrance ]
DISPLAYMANAGER="gdm"

XSESSION="enlightenment"


Code:
cat .xinitrc
#exec gnome-session
exec /usr/bin/enlightenment


i can only ssh to my machine atm so i cant show you my /etc/entrance_config.db but i can assure you enlightenment is set inside it as the default session. (session0) Gnome is set as session1



Code:
tater@titan Sessions $ pwd
/etc/X11/Sessions
tater@titan Sessions $ ls
Gnome  Xsession  e17


Code:
tater@titan Sessions $ cat e17
#exec gnome-session
exec /usr/bin/enlightenment


Code:
tater@titan Sessions $ cd /usr/share/xsessions/
tater@titan xsessions $ ls
enlightenment.desktop  gnome.desktop
tater@titan xsessions $ cat enlightenment.desktop
Encoding=UTF-8
Name=Enlightenment
Comment=This session logs you into Enlightenment
Exec= enlightenment starting program
TryExec=englightenment starting program
# no icon yet, only the top three are currently used
Icon=
Type=Application



I just cant figure it out :/

I can start enlightenment via startx and it shows up with fire along the bottom and snowflakes raining down, menus work etc...
Back to top
View user's profile Send private message
Galabriel
n00b
n00b


Joined: 25 Jan 2005
Posts: 64
Location: Südtirol / Italien

PostPosted: Tue Jan 25, 2005 12:35 pm    Post subject: I hope i can help u :) Reply with quote

i hope you can figure it out, ill give ya my code, i hope u can find the error!

Code:
 # /etc/rc.conf: Global startup script configuration settings
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/rc.conf,v 1.22 2003/10/21 06:09:42 vapier Exp $

# Use KEYMAP to specify the default console keymap.  There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.  This setting is used by the
# /etc/init.d/keymaps script.

KEYMAP="us"

# Should we first load the 'windowkeys' console keymap?  Most x86 users will
# say "yes" here.  Note that non-x86 users should leave it as "no".

SET_WINDOWKEYS="no"

# The maps to load for extended keyboards.  Most users will leave this as is.

EXTENDED_KEYMAPS=
#EXTENDED_KEYMAPS="backspace keypad"

# CONSOLEFONT specifies the default font that you'd like Linux to use on the
# console.  You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).

CONSOLEFONT="default8x16"

# CONSOLETRANSALTION is the charset map file to use.  Leave commented to use
# the default one.  Have a look in /usr/share/consoletrans for a selection of
# map files you can use.

#CONSOLETRANSLATION="8859-1_to_uni"

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time).  If your clock is set to the local time, then set CLOCK
# to "local".  This setting is used by the /etc/init.d/clock script.

CLOCK="UTC"

# Set EDITOR to your preferred editor.

EDITOR="/bin/nano"
#EDITOR="/usr/bin/vim"
#EDITOR="/usr/bin/emacs"

# Set PROTOCOLS to the protocols that you plan to use.  Gentoo Linux will only
# enable module auto-loading for these protocols, eliminating annoying module
# not found errors.
#
# NOTE: Do NOT uncomment the next lines, but add them to 'PROTOCOLS=...' line!!
#
# Num   Protocol
# 1:    Unix
# 2:    IPv4
# 3:    Amateur Radio AX.25
# 4:    IPX
# 5:    DDP / appletalk
# 6:    Amateur Radio NET/ROM
# 9:    X.25
# 10:   IPv6
# 11:   ROSE / Amateur Radio X.25 PLP
# 19:   Acorn Econet

# Most users want this:
PROTOCOLS="1 2"

#For IPv6 support:
#PROTOCOLS="1 2 10"

# What display manager do you use ?  [ xdm | gdm | kdm | entrance ]
DISPLAYMANAGER="gdm"

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts is smart enouth to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enligtenment" can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#           is called.
#        2) even if a ~/.xsession exist, if XSESSION can be resolved, it will
#           be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps

#XSESSION="Gnome"
CLOCK=local
 


im not that guru on linux, but i can show u only this file atm of my...... so i wish u good luck to resolv the problem partner
_________________
Was ist der unterschied zwischen Batman und Bill Gates?

Batman konnte den Pinguin besiegen;)
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Tue Jan 25, 2005 12:52 pm    Post subject: Reply with quote

if you have installed the enlightenment-9999 ebuild, you now have enlightenment 0.16.8 CVS (which is horribly unstable! e17 (e-9999) works better than that...)

enlightenment-9999 --->
Quote:
tom@SiRiUS ~ $ epm -ql enlightenment | grep /usr/bin/
/usr/bin/e16

e-9999 --->
Quote:
tom@SiRiUS ~ $ epm -ql e | grep /usr/bin/
/usr/bin/enlightenment-0.17


so a startup-script for enlightenment-9999 should look like that:
Quote:
tom@SiRiUS ~ $ cat /etc/X11/Sessions/enlightenment
#!/bin/sh
/usr/bin/e16

well and if your startup-script is called "e17" it's no use to put "enlightenment" in rc.conf, because there is no "enlightenment" in your /etc/X11/Sessions it seems...

i have
Quote:
tom@SiRiUS ~ $ ls /etc/X11/Sessions/
e17 enlightenment

and i use e17 as my default so:
Quote:
tom@SiRiUS ~ $ cat /etc/rc.conf | egrep '(XSESSION=|DISPLAYMANAGER=)'
DISPLAYMANAGER="entrance"
XSESSION="e17"


hope this helps ;)


Last edited by gimpel on Tue Jan 25, 2005 1:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
Michael.Terence
n00b
n00b


Joined: 18 Jan 2005
Posts: 29

PostPosted: Tue Jan 25, 2005 1:14 pm    Post subject: Reply with quote

Thanks for the replies :)

I have the e-9999, not enlightenment-9999 (DR16) emerged so we are good there.

I guess my mistake is/was using e17 in there instead of enlightenment.

I have created a sym link: /usr/bin/enlightenment -> /usr/bin/enlightenment-0.17

If im right, all should work when i restart xdm


thanks again :)
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Tue Jan 25, 2005 1:20 pm    Post subject: Reply with quote

yes, this should work.
but if you ever get the idea to emerge =enlightenment-0.16.7.2, you'll get a binary called /usr/bin/enlightenment

so the best and cleanest solution would be to change your /etc/X11/Sessions/e17 to execute /usr/bin/enlightenment-0.17
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum