PDA

View Full Version : Problem with screen



Jary
24th December 2006, 12:49 PM
Hey all,

I got fedora to work. I was updating programs and downloading aMSN, but suddenly my screen resolution changed. Then my screen showed up : "Resolution 1900 x 1200 is recommended", but it never gets out, I get a black screen with that.

Restarted, and same problem as soon as it should go on the interface graphic. After some while I get the console, I can loggin threw it, but I don't know how I could change my resolution back.


Thanks to anyone who could help me.

Brian1
24th December 2006, 03:44 PM
You need to login as root and edit the file /etc/X11/xorg.conf. In there is a section called Screen. If using 24bit depth make change the section on 24bit depth to list the first resolution that will work first.

Brian

Jary
24th December 2006, 05:22 PM
I'm sorry, I'm a little new. Can you give me a page to edit a file, and add a line. Can you please give me a page that gives help on commands. Thanks

Brian1
24th December 2006, 05:25 PM
No page in specfic. Here is the section from my /etc/X11/xorg.conf file.


Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Use the program nano to edit. I assume nano is installed. ' nano /etc/X11/xorg.conf '. It must be runned as root so login as root.

Brian

Jary
24th December 2006, 06:52 PM
Not sure I expressed well but, I can't get into linux, just to the login console and login for now, because when it is on the login interfece, it shows a black screen with the resolution message. If your solution is fine, how to get to the file, should I just type: /etc/X11/xorg.conf ?

I didn't install anything yet, just default installation. Would nano be on ?

Jimtheguern
24th December 2006, 07:16 PM
Hi Jary,

What graphics card are you using? I had a the same problem with my intel chipset not so long ago. I used the program 915resolution to fix it but it will only work with the intel chpsets. You can find it here:

http://www.geocities.com/stomljen/

Let us know hoe this works out.

- Jim

Brian1
24th December 2006, 07:19 PM
Ok, press the key combo Alt-Ctrl_F1 to open session 1 console. Login as root and use the cammand to edit the file.
nano /etc/X11/xorg.conf.

Brian

Jary
24th December 2006, 10:26 PM
Brian1:

When it asks login, I typed "root", then my password. It said:
"[root @ Jary]"

After that I typed:
"/etc/X11/xorg.conf" and it replied with "permission not accorded". What should I do please ?


Jimtheguern: I have an nVidia card sorry.

Brian1
24th December 2006, 11:16 PM
Type the command ' cat /etc/X11/xorg.conf '. This will display the contents. Add |more to display one page at a time.
cat /etc/X11/xorg.conf |more

Now to edit depends on the available ediotrs that can be used in a non X server enviroment. the app nano may be installed. If not then vi will do the trick.
nano /etc/X11/xorg.conf

Brian

Brian1
24th December 2006, 11:21 PM
Ok reread it all and the last post of yours might make since.
Once you post the info from xorg.conf it may help from what I have read in your post.
If you were updating and the kernel got updated and you were using the nvidia drivers from nvidia this may be the problem. If you upgraded the kernel and not the reinstalled the nvidia drivers with the new kernel then it will not use the one defined in the xorg.conf because it does not exist. It existed in the old kernel. This is a guess.

If the old kernel still exist boot up with that one and try it. Again a guess if upgrading and the kernel got updated during the update.

Brian

Jary
25th December 2006, 12:50 AM
I checked with cat, I get this:



Section "screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
Default Depth 24
Subsection "Display"
Viewport 00
Depth 24
Modes "1600 x 1200" " 1600 x 1024" " 1440 x 900" "1400 x 1050" "1280 x 1024" "1280 x 960" " 1280 x 800" " 1152 x 864 " 1024 x 768" " 800x600" " 640"480"
End Subsection
End section


I hope this help.

Jary
25th December 2006, 01:20 PM
I finally reformated the linux drive. Thanks for help :-)

Brian1
25th December 2006, 04:02 PM
Glad to see you have it. What is your new xorg.conf look like.
For future I would make backups or print out of the files in /etc fstab, mtab, resolv.conf, hosts, X11/xorg.conf, and /boot/grub/grub.conf

Brian

Jary
25th December 2006, 05:30 PM
Thanks.

When you mean backup, you recommend burning them or copying them please ?

Brian1
25th December 2006, 05:54 PM
Copy to a CD or to usb stick but I would not leave them on the stick. They are notorious to corruption if left alone for a period of time. Copy off to a another harddrive or a USB harddrive. Copy over the network or if you have storage space from your provider then that can work as well.

Brian