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 |
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
11-20-2003, 01:37 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2003
Posts: 21
Rep:
|
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
|
|
|
|
11-20-2003, 03:09 PM
|
#2
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
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.
|
|
|
|
11-20-2003, 04:37 PM
|
#3
|
|
LQ Newbie
Registered: Nov 2003
Posts: 21
Original Poster
Rep:
|
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
|
|
|
|
11-20-2003, 04:52 PM
|
#4
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
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.
|
|
|
|
11-20-2003, 04:56 PM
|
#5
|
|
LQ Newbie
Registered: Nov 2003
Posts: 21
Original Poster
Rep:
|
Next step?
Those commands seemed to open some kind of editor. Now what?
-Justin
|
|
|
|
11-20-2003, 05:02 PM
|
#6
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Edit the Section "Screen" to what you had before
|
|
|
|
11-20-2003, 05:05 PM
|
#7
|
|
LQ Newbie
Registered: Nov 2003
Posts: 21
Original Poster
Rep:
|
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
|
|
|
|
11-20-2003, 05:09 PM
|
#8
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
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.
|
|
|
|
11-20-2003, 05:17 PM
|
#10
|
|
LQ Newbie
Registered: Nov 2003
Posts: 21
Original Poster
Rep:
|
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
|
|
|
|
11-20-2003, 05:27 PM
|
#11
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
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.
|
|
|
|
11-20-2003, 05:37 PM
|
#12
|
|
LQ Newbie
Registered: Nov 2003
Posts: 21
Original Poster
Rep:
|
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
|
|
|
|
11-20-2003, 05:39 PM
|
#13
|
|
LQ Newbie
Registered: Nov 2003
Posts: 21
Original Poster
Rep:
|
Never mind I got it to reboot
.
|
|
|
|
11-20-2003, 05:42 PM
|
#14
|
|
LQ Newbie
Registered: Nov 2003
Posts: 21
Original Poster
Rep:
|
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
|
|
|
|
11-20-2003, 05:57 PM
|
#15
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:14 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
|
|