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.
Hi! Someone installed Fedora on my CPU (Pentium II) at an installfest a while back. It seemed to be working. The desktop came up. The desktop was enough like Windows that I could have figured out how to use the programs....BUT
When I got home and booted it, all I got was a login prompt that disappeared before I could type anything, and then the screen went completely BLANK/BLACK. (Sigh of relief--fortunately, the Windows partition still works.)
Does anyone have any idea of what is wrong or how I could fix it? (I was not a computer major in college.) I would really appreciate it.
Yes, I do get the screen asking me to choose between Windows & Linux.
If I choose Windows, everything works fine. If I choose Linux, it goes through
the process of booting up without any error messages until I get a login prompt.
That's when everything blacks out before I can type anything.
I'll say what I think is happening, and then I'll say how to fix it.
Linux first boots up in text mode (and you might see this bunch of cryptic boot-up messages as it initializes the hardware), and then it switches over to graphics mode. (I use Mandrake myself, but it, like Fedora, has its roots in RedHat.) You said that at the installfest, you saw this Windows-like graphics environment, so you are in graphics mode. When it goes to text mode, and then the screen goes blank by itself, it's a sign that its switching to graphics mode, except it was unsuccessful.
Here's what I suspect: you have switched monitors. At the installfest, Fedora told the computer to use a certain video mode, like one bazillion by one gajillion pixels, which worked on the uber-monitor that they lent you at the installfest. Then you brought it home, and your own monitor said, "Hey, I can't go that high in resolution --I'm going to burn out! I'll just sit this one out until you change the setting to a more tolerable resolution." (That's the good version. The bad version is that your home monitor actually tried to set itself to that resolution and burned out. Hope you don't need a new monitor!)
Here's how to fix it:
First, if you want to forgo the graphics, you can follow nexx_au's suggestion and use Ctrl-Alt-F1 to get to a text window. If this is the usual Linux setup (I don't know Fedora that well), Ctrl-Alt-F2/F3/F4/F5/F6 will also give other text windows. Ctrl-Alt-F7, or whatever the first one is that didn't get assigned a text window, will bring you back to the (still malfunctioning) graphics screen.
As for fixing the graphics screen itself, you can try Ctrl-Alt-Minus or Ctrl-Alt-Plus to cycle your way through the various video mode settings provided by the X11 system (also known as "XFree86" but will probably soon be switched to "X.org" --long story). Hopefully if you hit Ctrl-Alt-Minus enough times, it will get to a nice easy setting that your monitor can handle. You will find that what appears on your monitor is only part of what normally appears, and you have to drag your mouse cursor against the edge of the screen to move it, as if the monitor were looking into a display that is bigger than the monitor itself. That doesn't matter; at least you have your screen back.
The next step is to change the video settings so that next time you boot, you can get a working screen. Here, someone else will have to take over with instructions on Fedora video settings. Just in case someone is reading this who uses Mandrake, I'll give instructions for Mandrake. Go to "Configure Your Computer" (also known as Mandrake Control Centre); in Mandrake v10, this is: Main Menu > System > Configuration > Configure Your Computer. (You need to enter the root password.) Then go to Hardware > Graphical Server and make the changes. Then back to Hardware > Screen Resolution for more changes as necessary.
If it was installed using a different screen you might be running your monitor out of spec. Do a control-alt-F1 to get a login prompt, login as root, cd /etc/X11 and take a look at the file xorg.conf. If you're new to unix you can edit the file with the command nano xorg.conf.
Look for a line like this:
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
try removing modes higher than (to the left of) 1024x768.
control-alt-F7 to get back to X (or reboot)
once you get X running at a low resolution log on as root and use the command system-config-display to set it up correctly.
It would be more correct to change the monitor specs (which you can probably find on the vendor's web site)
Look for the lines like this:
HorizSync 30.0 - 86.0
VertRefresh 50.0 - 180.0
and change them to match your monitor's specs.
but it's probably easier just to use system-config-display
Just saw the post by KWTm. His answer's better than mine but you can try the above if you want...
Thank you everyone for all your help. I had no idea what was wrong, and I was really stuck.
Now I know the problem is the monitor.
I'm a little nervous about trying out your excellent advice, because I'm not at all familiar with Linux's
command language or text mode. Can anyone recommend a book for beginners who aren't
programmers that explains the basics? The books I have seen for beginners are just about the
desktop (and didn't mention anything about blank/black screens). The others seemed to be
written for professional programmers.
Hang in there,you can do it,when you get to the console su then your root password then nano -w ./etc/X11/xorg.conf and look around for the section about the monitor and graphics ,to exit ctrl x .I'm not sure for fedora but I would try xorgconfig or man xorg, again from the command line as root, there should be a configuration script you can follow,make sure you know the info about your monitor and graphics card,I'll check around and see what I can find,what kind of monitor and graphic card and mouse do you have?Most of us started just like you and learned from searching with google or asking on the forum,I for one am not a programmer!
Last edited by comprookie2000; 09-13-2004 at 03:58 PM.
Start with "Red Hat Enterprise Linux Introduction to System Administration"
The "Red Hat Enterprise Linux Reference Guide" has a chapter on setting up X.
Two things to watch out for.
- They've replaced XfFree86 with X.org. It's pretty much identical but the configuration file is now /etc/X11/xorg.conf rather than /etc/X11/XF86Config. Syntax is the same, I think
- The utilities that start with "redhat-config-" such as "redhat-config-network" have been renamed to "system-config-...
The one you want to get to is "system-config-display"