Screen goes black when restarting X after changing resolution
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.
You don't *have* to reinstall. You can boot into your Red Hat disk 1. Type linux rescue at the prompt, choose continue, and then you have to chroot the partition. I haven't done that before but I've seen it work for others.
replace partition with the linux partition
Then you can edit the file.
I never did get this working, and I am completely baffled!
Even when I changed my monitor, then reinstalled RH9, it still goes black upon entering X-windows after I increase the resolution. Then, I can't decrease the resolution, because I can't get back into X!!!
I know your pain my friend... I also have a Radeon 7500. You are unable to go beyond 256 colors if you have 3D hardware enabled. ( I discovered this on a fluke after re-installing 3 times).
When you change your display settings, XFree86 saves a backup of the previous settings in a file called XF86Config.backup . You need to replace the current XF86Config file with this, and that will let you boot back up in 256 color mode (then uncheck the box for 3D hardware enabling and you can up your resolution).
You need to login as 'root' and enter this at the prompt:
if you type dir (and enter) you'll get a listing of the contents of that directory, and should see in there a both the XF86Config and the XF86Config.backup.
type: rm XF86Config
****careful with this 'rm' command!! ****it will completely delete (remove) the file, so make sure you type the filename correctly (it IS case sensitive)
last but not least type: cp XF86Config.backup XF86Config
that will make a copy of your backup file and rename it to XF86Config.
-- hope this helps... I spent all weekend beating my head against my black monitor until I thought of this. (luckily I wrote down the path when I made the last failed attempt at changing the color depth. (the problem only seems to lie in the color depth, not the resolution).
Oh.. to log in as the root, you need to select your linux OS from your boot loader and hit <e> before it loads. Chooose the option below 'root' , and at the end of that line type <space> linux single then hit <enter> and <b>
that should load you to a prompt requesting your root password (don't feed it your user password, it needs your root one).
if you make it to a '#' prompt then you're golden.