Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi, I'm quite new to Linux, got so annoyed at microsoft that I'm now exploring alternatives.
I want Debian to boot to the command line, but each time the machine is powered up, it goes straight to Debain's X login screen, and from there into KDE.
I've been working on this for days, I've read what I can find on google, I've changed the default runlevel in inittab to 3 (everywhere says change it from 5 to 3, my default was 2 , but each time the system is turned on, it loads into the GUI.
I've looked at the Xsession file (didn't understand much), but I don't know what processes run or where the programs to launch at startup are listed.
Is there such a thing as a "startup" script, which lists what to run and in what order at boot?
Debian is the oddball. It uses a different runlevel scheme from the other distributions. 2 was probably GUI and I would guess that 1 is command line in Debian. Anyway look in the comments in /etc/inittab to see if you can figure out what Debian does with runlevels.
"Is there such a thing as a "startup" script, which lists what to run and in what order at boot?"
There are several large sets of startup scripts located in /etc/init.d
The runlevel setting determines which set of startup scripts are run.
You can also edit and change the startup scripts any way that you want.
I dont use debian. Found this though. Not sure if is correct so be careful
Q: How can I make debian not boot into X?
A: First of all, the answer is *not* changing your default runlevel
like in RedHat, Debian uses a different approach and configures
runlevels differently, i.e. it makes by default no difference between
the multi-user runlevels 2 [default runlevel], 3, 4 and 5 and lets
the system administrator customize them. Read http://www.debian.org/doc/debian-pol...sys#s-sysvinit for more
informations. Your graphical login thing, called a 'display manager'
is started like any other service with a script in /etc/init.d/ and a
symlink pointing to that in /etc/rc?.d/. If you want to get rid of it,
you have two possibilities:
1) remove the offending package, most likely one from xdm, kdm, wdm,
gdm or login.app (note: you can have more than one installed, but only
one is used by default). If your system wants to remove the packages
x-window-system, kde or gnome, dont't worry, they are only useful for
installation and not needed afterwards.
2) remove the symlink from one or all of the runlevels. This can be
solved with Debian's update-rc.d command (e.g. update-rc.d -f xdm remove).
This will remove xdm from all multi-user runlevels. You can also
use rm to delele the symlink in your default runlevel, but not in the
others in order to be able to boot into a 'X runlevel' and a 'non-X
runlevel', like RedHat does it.