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.
Not only have i just started my descent into linux, I have (per recomendation) installed Gentoo on my Mitac 6133 laptop. I don't really know my way around the system to well yet, and I was wondering if anyone could direct me to a way to get my computer to boot to the command line instead of gnome.
I have not used Gentoo, but with every version of Linux I have used so far the inittab file controls that. While logged in as root you can uses your test editor to open the inittab file which is located in the /etc directory. Inside the inittabl file you should see a line like somthing this:
If there is a 5 on that line it means it will automatically boot up into an X-Windows interface such as Gnome or KDE. If there is a 3 instead of a 5 on that line it will automatically boot up into the command-line interface instead. All you need to do is change that number on that line. You can look at the lines above that to see if there are any comments explaning that.
In the above post I ment to say text editor not test editor. Anway, there is another alternative way to do that at least on some versions of Linux. You could probably also use the telinit or runlevel commands to do the same thing. I have never tried doing it that way though. The way I described above works, so I have stuck with that method of changing runlevels. If you do not want to log-in as root you could just type the su command and give it the root users password to temporarily get the necessary superuser priveleges necessary to change the inittab file.
unfortunatly i just checked my /etc/inittab and it is already set to 3.
I think i may of been in error with my original post. Come to think of it, my machine does reach the commandline login prompt, but then immediatly goes into GDM. Any idea what i'm talking about? and perhaps, any idea what else may be the problem?
gentoo does do this a little different, you probably know that the standard runlevels 1-5 don't really exist in the conventional sense. you'll have xdm set on the default runleve entry (/etc/runlevel/default) remove that entry:
rc-update del xdm default
and you'll be fine. i've mixed thoughts about doing it this way, it's not standard but it does make sense...
I apreciate ya'lls help. The rc-update did work, and I now boot to the command line. I may need to post this under and new thread, but I have some other issues now that I'd like some assistance working out.
at the command prompt, and from my normal user account, to get to gnome , I must type "gdm" (as startx gets me to x itself, rather then gnome). in doing so i get a messege
"only root wants to run gdm"
my question is this. How do i give my day to day account the ability to jump into gdm from the command line?
You are wanting to set a desktop environment/window manager?
You probably want to create a ./home/<user>/.xinitrc file with something like this:
# Duron 950 box "uilleann" user fancy .xinitrc file
# Start stuff I want to run when I startx
#Esetroot ~/backgrounds/linux.png &
#gkrellm -w &
The uncommented line causes Gnome to start when you command "startx"
You can also alias commands in the user .bashrc file:
# for launching window manager/desktop environments from console login
alias a='echo DESKTOP=AfterStep > ~/.desktop;startx'
alias ice='echo DESKTOP=icewm > ~/.desktop;startx'
alias kde='echo DESKTOP=KDE3 > ~/.desktop;startx'
alias wm='echo DESKTOP=WindowMaker > ~/.desktop;startx'
alias sf='echo DESKTOP=Sawfish > ~/.desktop;startx'
alias g='echo DESKTOP=Gnome > ~/.desktop;startx'
alias xf='echo DESKTOP=XFce > ~/.desktop;startx'
alias bb='echo DESKTOP=BlackBox > ~/.desktop;startx'
alias fb='echo DESKTOP=FluxBox > ~/.desktop;startx'
alias e='echo DESKTOP=Enlightenment > ~/.desktop;startx'
The command "g" now will start x with Gnome.
You have to log out (control-d) and back in for changes in the .bashrc or .xinitrc to take effect.
Last edited by fancypiper; 06-03-2003 at 05:22 PM.