Linux - Newbie This 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! |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-26-2003, 10:26 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 14
Rep:
|
Getting the GUI
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
Linux - (something)fb
Failsafe
Windows
Floppy
|
|
|
06-26-2003, 10:29 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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....
|
|
|
06-26-2003, 10:47 PM
|
#3
|
LQ Newbie
Registered: Jun 2003
Posts: 14
Original Poster
Rep:
|
I'm going to print that out and try it. I hope it works!!!
|
|
|
06-26-2003, 10:49 PM
|
#4
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
well did you check your inittab?
|
|
|
06-26-2003, 11:31 PM
|
#5
|
LQ Newbie
Registered: Jun 2003
Posts: 14
Original Poster
Rep:
|
Ok I tried to type in the inittab line, and it said permission denied. Now what?
|
|
|
06-26-2003, 11:36 PM
|
#6
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
well you have to be root to edit it, thats why permission was denied...
btw, what was the number 3 or 5?
|
|
|
06-26-2003, 11:49 PM
|
#7
|
LQ Newbie
Registered: Jun 2003
Posts: 14
Original Poster
Rep:
|
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.
|
|
|
06-26-2003, 11:51 PM
|
#8
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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..
|
|
|
06-27-2003, 12:05 AM
|
#9
|
LQ Newbie
Registered: Jun 2003
Posts: 14
Original Poster
Rep:
|
oh, so i can just open up the file in windows and then edit it? or am i just an idiot who has just started linux? (for the 2nd day now)
|
|
|
06-27-2003, 12:07 AM
|
#10
|
LQ Newbie
Registered: Jun 2003
Posts: 14
Original Poster
Rep:
|
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???
|
|
|
06-27-2003, 09:09 AM
|
#11
|
Member
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404
Rep:
|
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.
|
|
|
06-27-2003, 09:20 AM
|
#12
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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 /etc/inittab
or:
emacs /etc/inittab
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,
goodluck!
|
|
|
06-27-2003, 10:16 AM
|
#13
|
Member
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78
Rep:
|
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.
Exit:
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'
more help?
type 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
|
|
|
All times are GMT -5. The time now is 12:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|