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.
I successfully installed Mandrake Linux 9.1 last night. After spending 4 hours messing with it, trying to get it to connect to my 2 computer crossover LAN, and trying to get it to utilize my modem, I gave up. I am totally new to Linux, having first used it last night. I've learned a few things. But man, it's like starting all over again. Everything I knew about computers and Windows is out the window.
I restarted my computer twice last night after installation. I got to the GUI each time. But today, after I got off work, I went to boot up and mess around (I am using dual boot with XP Pro, and 9.1) but both Linux options took me to a command prompt login screen this time. I didn't see this at all last night. How do I get into the GUI???? I know zero Linux commands. Please help me!!!
the dual boot screen gives me these options:
Linux - (something)fb
well maybe if you were getting the gui before then maybe something went wrong, so you could post your /var/log/xfree86.0.log file, or even before you do that open up the file /etc/inittab and look for the line close to the top that says :
id:x:initdefault where x is the runlevel...
if it is 5 then you should boot to gui
if it is 3 then that is why you are booting to the console, so all you would have to do is change that 3 to the 5 and you will be in the gui....
the command didn't work. i'm not sure if i typed it in wrong, but i logged into my profile. i then typed /etc/inittab and that is when it said permission denied. How do i get into the root? I didn't see anything except permission denied. I also tried the other command.
no no d00d, you have to open the inittab file located in the etc folder with a text editor...
and then you will be in the file for editing
then you locate the line that says id:x:initdefault where x is a number, and you want it to be 5 in your case..
if i have to do it in linux......you have to get down to my lvl.....i understand zero of what you are saying about linux. Remember this is only my second day of even using it. How do i open the inittab folder??? It says permission denied. How do i access the root???
Login comes up type your username, then password which you would have setup the other night, don't worry about root at the moment, then at the prompt type startx this should take you into the gui, if this works let us know.
ok first, inittab is not a folder, it is a file located in the /etc folder
so to become root you type "su" at the prompt and then you will be asked for a password, so you will obviously type in your root password that you specified in your setup....then you will open the inittab file with a command such as:
vi and emacs are just text editors in case your wondering...
anyways once you open the file you will see a line that says
id:x:initdefault and i think i said what that x means enough already ehhe ;-)...anyways make sure that line reads:
id:5:initdefault, then save the file and when you get back to the prompt type "exit" and that will set you back to your normal user, cause you don't want to run the X Windows as root, and then you will type startx, and hopefully your problem will be solved....
anyways i am tired and going to bed, so if you get in anymore trouble hopefully someone else is around to give ya a hand,
since you are brand new to linux you may have trouble using any of vi or emacs so I thought i'd give you some help:
crash course vi editor:
vi works with two modes, one you give commands to vi the other you edit the file. When vi starts with the 'vi /etc/inittab' command you are in command mode, if you try to type you will not edit the file. So first you go to the line you want to edit then press 'i'. You are now in 'interactive mode'. You can now edit as usual.
To exit 'interactive mode' hit the Ecs key.
Saving: hit 'Esc' to exit 'interactive mode' then type
this writes your file to disk.
if you have some unsaved changes vi will complain. If you don't want to save your changes add a ! after the :q
Save and Exit: hit 'Esc' then
that is two capital 'z'
crash course emacs:
Emacs does not have different working modes. So emacs uses the Ctrl, Alt and Shift keys to recognise commands.
Open file: Ctrl-x Ctrl-f
Hold down Ctrl then hit 'x' then 'f'
look at bottom of screen you should se 'Find file: ' with a flashing cursor after.
Save file: Ctrl-x Ctrl-s
Exit Emacs: Ctrl-x Ctrl-c
Tutorial: Ctrl-h t
that is a single t at the end no ctrl