Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just installed Debian 4.0r5. I was successful, and it looks beautiful. After reading many of the posts here and elsewhere, I think it would be a good idea for the OS to boot up to a simple terminal screen, which would allow me to start a GUI if I deem it necessary to do so. I know this is possible, as I have seen it done before. I have looked through the various menus and searched in as many ways as I can think of through the documentation.
QUESTION: How do I alter my Debian 4.0r5 to come up in the command line terminal mode from which I can start X Windows if I choose?
From a command line, run that tool using sudo or root access. Then uncheck the box next to gdm/kdm/xdm for runlevel 2 (the default runlevel in Debian). Then when you boot up, you get a terminal. If you want X, you can startx or startkde or gnome-session depending on what desktop you run. I believe startx will start whatever is in ~/.xinitrc.
Should be a line like id:5:initdefault: just change the 5 to 3 to default to init run level 3 instead of 5. I dunno debian but a quick google search on "start debian in telinit 3" seems to indicate this, not sure about going up to init run level 5 in debian. Usually the command is telinit I believe but it might require a path to be configured as it's not always set-up for none root accounts on some distros.
Bah =P, beaten to it. oh well.
Last edited by r3sistance; 11-21-2008 at 11:54 AM.
Should be a line like id:5:initdefault: just change the 5 to 3 to default to init run level 3 instead of 5. I dunno debian but a quick google search on "start debian in telinit 3" seems to indicate this, not sure about going up to init run level 5 in debian. Usually the command is telinit I believe but it might require a path to be configured as it's not always set-up for none root accounts on some distros.
Bah =P, beaten to it. oh well.
Debian does not use the runlevel 3 and 5 like the other Distros.. the previous post that stated Runlevel 2 is where the change needs to be made (using the suggested tool) is correct. Just fyi.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.