Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-24-2005, 05:02 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Question Boot w/Window Mgr Installed BUT w/o starting it...

My core question is: How do I boot with one or more window managers installed, BUT not start any of them automatically?

I've read discussions about /etc/inittab and setting the run level, but it's not clear to me what the Debian run levels below (documented in inittab) have to do with a window manager:
- 0 is halt
- 1 is single-user
- 2-5 are multi-user
- 6 is reboot

Something I read about Red Hat indicated there was a particular run level that was associated specifically with X11.

Anyway, mine (Debian Sarge) was 2 when I checked initially and I changed it to 1, but then it seemed like I could only login as root.

Bottom line is: I'd like to boot linux into a non-window manager environment, logging in as whoever I'd like to be, then start whichever window manager I want to use (because I have disk-space to spare at the moment... ).

Thanks ahead of time for any answers/suggestions.
Old 10-24-2005, 05:22 AM   #2
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243

Rep: Reputation: 30

runlevel 2 or 3 should be ok to start without x.

Do you get a graphical login (like gdm, kdm, xdm) ?
If so, you could just #aptitude purge kdm gdm xdm

I don't let x start either on my debian. But if I want x to start automaticly after typing my login then I put a line in .bash_profile (maybe there's a line in yours which starts it).

Then when I'm logged in I start x with "xinit" , and the wm I start is in the .xinitrc file. When I want to use another wm I just edit that file(only takes seconds).

Old 10-24-2005, 02:46 PM   #3
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 790

Rep: Reputation: 43
There is the utility SysV-Init Editor (KSysV) which allows you to remove Services from a run level.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where change window mgr (kde 3.3.2) hyllplan Linux - Software 1 05-23-2005 10:29 AM
One The Front Page ... Explanation of differences between O/S & X, plus Window Mgr. t3gah LQ Suggestions & Feedback 1 03-21-2005 09:36 AM
I can't boot after using KDE Login Mgr Beginux Fedora 5 10-31-2004 02:45 AM
starting x window rstmn957 Linux - General 6 08-19-2003 06:18 PM
Starting Window Manager at Boot Romulus Gray Linux - Newbie 8 08-02-2003 05:47 PM

All times are GMT -5. The time now is 05:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration