[NTLUG:Discuss] I screwed up

Preston maillist at inbox.lv
Tue Jun 17 12:32:52 CDT 2003


You might try while it is loading, or even after it has booted to the Xwindows 
system to hit CTRL+ALT+F2, that should switch you to a command line login 
prompt.  (typically somewhere between F4-F7 is the Xwindows screen).  Login 
as root.  Find your XF86Config (using locate or find, mine is in /etc/X11 
which is where I would expect it to be, but sometimes RH puts stuff in weird 
places.  Open the XF86Config file with jed, emacs, vi or some text editor.  
Scroll down through the file and look for a section called "Screen" Under 
screen you will see a default depth, subsections with names, depths and modes 
somewhat like this:

Section "Screen"
  DefaultDepth 16
  SubSection "Display"
    Depth      15
    Modes      "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768" "800x600" "640x480"
  EndSubSection

Look at all subsections and remove sections with depths your monitor cannot 
display and modes (resolutions) within subsections that your monitor cannot 
display.  Restart x, or just restart your computer.  Hope this helps.

Preston


>Hello,
>
>I installed RedHat 9.0 on my Gateway Solo 9550 laptop a few days ago. The 
>other night I was reconfiguring the display settings. I noticed that the 
>Install program hadn't recognized my LCD, so I told it what LCD I had, or at 
>least which one I 'thought' I had. I told it I had a flat panel LCD capable 
>of 1600x1200 and then I set the resolution to that. Apparently I was wrong 
>and now when it boots up it comes to a blank screen, typical if the display 
>settings are wrong. I don't know how to fix this particular problem in Linux. 
>Upon boot-up there doesn't appear to be a way to prevent going into XWindows 
>but rather go to a command prompt. Any help would be appriciated.
>
>Will



More information about the Discuss mailing list