LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   start in runlevel 5 (https://www.linuxquestions.org/questions/linux-newbie-8/start-in-runlevel-5-a-377163/)

Jessii 10-26-2005 02:30 PM

start in runlevel 5
 
I would like to have the graphic login manager (gdm in my case) start instead of the prompt login.

I have edited the runlevel to 5 in innittab, but I still get the bash of runlevel 3.

gdm and gnome run fine after login - gdm does require to be started by root, however, so maybe that's the problem?

Help would be very appreciated

Tinkster 10-26-2005 02:58 PM

Would you mind if I shuffle this thread to the Gentoo-Forum? I
believe it has a better chance of being answered correctly
there ... :}


Cheers,
Tink

Jessii 10-26-2005 03:36 PM

you're here longer than me :)

Tinkster 10-26-2005 04:00 PM

Hmmm ... I must be blind... never mind.

nilleso 10-26-2005 04:17 PM

gentooers are in every forum :D

You are looking for /etc/rc.conf ... specifically with lines like the following:
Code:

# 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 are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enlightenment" 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 ~/.xsession exists, 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="kde-3.4"

cheers :)

Jessii 10-26-2005 04:51 PM

nope. Those were already set.

Jessii 10-27-2005 03:08 AM

I fixed this.
it took
Code:

rc-update add xdm default


All times are GMT -5. The time now is 04:30 AM.