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!
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.
runlevels are controlled by the first process that gets run: init. init is responsible for creating new processes, and cleaning up children. init has different "runlevels" to distinguish the types of services it should run. The following is a list of typical runlevels.
# 0 = halt
# 1 = single user mode (simple shell)
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (usually many virtual terminals)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot
The /etc/inittab file controls what init should do when entering those runlevels. They are usually scripts that help you initialize your system. As well as properly shutting down the system. Most users do their stuff in runlevels 3 and 4. To switch your runlevel: telinit n, where n is the new runlevel.
through /etc/inittab you can change from graphical and texto login..... it's easy to see... it shows you a list of run levels and change to the one set as Graphical Login.... (usually 4 but may be 5 too)
So how do I upgrade XFree86 without screwing up my gnome desktop?
Right now when I switch to run level 5, it loads the X Window screen, and hangs displaying only the xconsole, no window manager, and no login. The only way for me to get into GNOME is to boot into run level 3, run xdm, log in again with the XFree86 login screen, close the TWM window manager, and load GNOME using the xterms.