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.
Type: 'init 5' to switch to runlevel 5 without rebooting. Otherwise just reboot. The 'id:5:initdefault:' defines the default runlevel. Since you didn't change anything, it should have a '5' (for graphical logon). The other key combos are for switching virtual consoles. 'Ctrl'+'Alt'+'F(1-6)' switches to the text consoles tty1-tty6. 'Ctrl'+'Alt'+'F7' Switches back to the first X (graphical) screen.
There are many windowmanagers/desktop enviroments available in Linux. You have the XFree86 (or just X) program, which does the graphics stuff. You have a program that manages windows called a window manager (like fvwm or kwin). Without it you wouldn't have the bar that most windows have on them, and you wouldn't be able to move windows around. A window manager bundled with a bunch of other programs is called a desktop enviroment (like kde or gnome).
For your text-only problem, did you type 'init 5'? Also try 'startx', and post the errors if any.
In the Slackware Linux distrobution, the runlevel for graphical X logon is 4. In most others, such as Red Hat, it is 5.
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Until you get the hang of setting up the Xwindows environment like you want, just log in to the text environment (aka your shell) like normal.
I.E. when the computer boots and the text login comes up put in:
<your user name>
at the prompt. THen you will be logged into your shell and be at some prompt like:
or whatever. Then, like aaa said, just type in the command "startx". THis will start the Xwindows system for you. When you set the initialization file called inittab to runlevel 5, you are telling Linux to start the OS into the Xwindows system. Run level 3 is just starting up into the text shell. On my RedHat box, run level 4 doesnot really do anything, so dont ask me why they skipped run level 4, but it may have meaning on other Linux flavors. The folks above are all correct in trying to get you to set the run level to 5, but this can be hard for a newbie(like me) to do at first. What Thimanjer was trying to get you to do was open up a text file that controls start up called "inittab" located in the directory called "/etc" and edit the file directly. This will change the runlevel for good, until you open the inittab file again and change it back.