Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
changing runlevels
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Tue Mar 11, 2003 2:12 pm    Post subject: changing runlevels Reply with quote

how do i change the default runlevel to be 3 instead of 5 in gentoo
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Tue Mar 11, 2003 2:32 pm    Post subject: Reply with quote

Huh? There are no fixed runlevels in Gentoo. The init system is based on runscripts that you can add or delete via rc-update. What seems to be the problem?
Back to top
View user's profile Send private message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Tue Mar 11, 2003 2:35 pm    Post subject: Reply with quote

oh...it just that now it always starts with the GUI interface, and i would like to make the default to be multi-user instead.
how d i do that..
thx
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Tue Mar 11, 2003 2:46 pm    Post subject: Reply with quote

i changed inittab default to be 3 (this apparently only for redhat-compatible system), then telinit 3, and when booting up, it says INIT: entering runlevel: 3, but then gnome still loads up.
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
gwydion
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 151
Location: Michigan, USA

PostPosted: Tue Mar 11, 2003 2:57 pm    Post subject: Reply with quote

try this:
Code:
rc-update del xdm default


that should keep gnome from starting and leave you at a console login.

hth
_________________
Linux User #223670
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Tue Mar 11, 2003 2:58 pm    Post subject: Reply with quote

Hands off /etc/inittab! :roll: You really should read some documentation before you go poking around like that.
Code:
rc-update delete gdm default
will most likely take care of your problem. Post the output of
Code:
ls /etc/runlevels/default
if it doesn't.
Back to top
View user's profile Send private message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Tue Mar 11, 2003 3:30 pm    Post subject: Reply with quote

rc-update delete gdm default didnt work

but xdm is still is /etc/runlevels/default

should i go ahead and rc-update delete xdm default :?:


---EDIT----
oh okay...that was also one of the suggested
ill try it then
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Tue Mar 11, 2003 3:44 pm    Post subject: Reply with quote

ok thx guys
rc-update del xdm default works!

so where can i find more info on how to enter different modes? (ie single (runlevel 1), or runlevel 2, etc)
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
gwydion
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 151
Location: Michigan, USA

PostPosted: Tue Mar 11, 2003 6:24 pm    Post subject: Reply with quote

check this out first, it should have everything you need.

Gentoo rc-script guide

hth
_________________
Linux User #223670
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Mar 11, 2003 6:29 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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