LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-20-2003, 01:37 PM   #1
thalerz
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Rep: Reputation: 15
changed display settings now can't see - HELP!!


I just installed RedHat 9, and everything was working reat, so I tried bumping the display colors fron 16 thousand something to 16 million something. When I rebooted, after X begins to load everything go black, and now I am blind.

What can I do to correct this, change this, get to a command line, anything? I set auto start X, and so I am lost, and do not want to do another install. There has got to be a way to break the boot process and get to a command line, and change the fricking display settings. I just spend three hours trying to figure it out, and looking online. I need help!

-JUstin
 
Old 11-20-2003, 03:09 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
1. Boot either linux 3 or linux single and repair
2. Put install CD1 or a boot floppy in and boot linux rescue and repair.
3. Edit /etc/inittab and change from run level 5 to run level 3. startx isn't that hard to type, IMHO and with bash history, up arrow usually types it out for me..

Red Hat Linux - Basic System Recovery

Last edited by fancypiper; 11-20-2003 at 03:17 PM.
 
Old 11-20-2003, 04:37 PM   #3
thalerz
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Ok I booted in Rescue mode(single user)

Ok I booted in Rescue mode(single user) mode. Now what do I do? I have a prompt that looks like this:

sh-2.05b#

I tried the "edit" command and it didn't reconize that as a valid command. What's next, I still need to get X up in low res, and low colors so I can reset the display settings.

-Justin
 
Old 11-20-2003, 04:52 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Booting into Rescue Mode

Is pine installed? If so, try this, if not joe should be launched.

cd /mnt/sysimage/etc/X11
pico -w XF86Config-4

Last edited by fancypiper; 11-20-2003 at 04:56 PM.
 
Old 11-20-2003, 04:56 PM   #5
thalerz
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Next step?

Those commands seemed to open some kind of editor. Now what?

-Justin
 
Old 11-20-2003, 05:02 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Edit the Section "Screen" to what you had before
 
Old 11-20-2003, 05:05 PM   #7
thalerz
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Editor

I don' t think you understand. I see absolutely nothing in this except a flashing curser on a black screen. I can use control G to view the help screen, but there are no "lines" to edit. My curser is flashing on line 1, and that's it there is nothing below line 1.

Is there another way to get my display settings to work?

-Justin
 
Old 11-20-2003, 05:09 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You need to open the file /mnt/sysimage/etc/X11/XF86Config-4 in the editor. I don't use joe, so I can't tell you how to use it.
 
Old 11-20-2003, 05:11 PM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Would you happen to have Midnight Commander installed? Command mc and see if it comes up.

Never mind, you would have to chroot to use it, probably beyond your skill just now.

# Configuring X
Linux Hardware Compatibility HOWTO - video cards
The Linux XFree86 HOWTO
Configuring XFree86 for a Non-Specific Linux Distribution
Common X configuring tools:
Debian - dpkg-reconfigure xserver-xfree86
Mandrake - XFdrake
Red Hat Linux 9: Red Hat Linux Reference Guide Chapter 7. The X Window System
Redhat 7.3 down - the setup utility leads to several config tools
Redhat 7.3 up - redhat-config-xfree86
You may have these tools:
XF86Setup
XFree86 -configure
Xconfigurator
xf86cfg
xf86config
xconf
ATI Linux drivers
If you need the nVidia driver, you want the Linux IA32 driver unless you just bought the new AMD 64 bit CPU

Last edited by fancypiper; 11-20-2003 at 05:16 PM.
 
Old 11-20-2003, 05:17 PM   #10
thalerz
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Editor

Ok, I opened a file called "XF86Config" not "XF86Config-4" and I got a lot of lines to configure. One of the lines is the "Screen" section you were talking about? Is this the right file to edit?

Also, the "Screen" section looks like this:

Section Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

______________________

What do I edit?

-Justin
 
Old 11-20-2003, 05:27 PM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Possibly, the last Red Hat I used was 7.3 so they may have changed things between that and 9.0

Try chang ing the line DefaultDepth 24 line to DefaultDepth 16 or DefaultDepth 8, save and reboot.

I also suggest changing the boot to runlevel 3 and using the command startx to go to the gui. That's in the /etc/inittab file.

XFree86 Server Configuration Files

Last edited by fancypiper; 11-20-2003 at 05:29 PM.
 
Old 11-20-2003, 05:37 PM   #12
thalerz
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Reboot

Ok I think I made all the correct changes. What command can I issue to reboot the machine? I tried shutdown -r -t "now" and it didn't work.

-Justin
 
Old 11-20-2003, 05:39 PM   #13
thalerz
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Never mind I got it to reboot

.
 
Old 11-20-2003, 05:42 PM   #14
thalerz
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Well none of that worked

I am sick of this anyway, I am re-installing now. Thanks for your help anyways, I learned a lot!

-Justin
 
Old 11-20-2003, 05:57 PM   #15
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Make sure you install Midnight Commander and DONT BOOT INTO THE GUI as it makes configs much harder when everything is hidden.

An Introduction to the Midnight Commander
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken X after changed monitor settings? badbunny Linux - Newbie 2 10-27-2005 11:14 AM
route settings get changed after reboot brynjarh Linux - Newbie 1 07-08-2004 01:03 PM
Login Manager settings changed Mattyz Linux - General 0 10-27-2003 05:27 AM
BIOS settings changed by MDK 9.1 hwaage Mandriva 4 09-12-2003 03:24 PM
Konsole terminal settings have changed adcripps Linux - General 0 03-16-2002 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration