LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   unable to change display resolution (https://www.linuxquestions.org/questions/linux-hardware-18/unable-to-change-display-resolution-630450/)

pru 03-25-2008 06:17 AM

unable to change display resolution
 
Hi all!
Could anyone please help me with the following thread:
In the "settings" menu of System->administration->Display panel I can choose only between 1024x768, 800x600 and 640x480 resolutions, though native resolution should be 1200x800. In the ""Hardware" menu I choose Monitor type - LCD Panel 1200x800, and the video card is Intel Corporation Mobile 915GM/GMS/910GML Express graphic controller, which is correct. The point is that at 1024x768 everything looks unfocused, and I just can't switch to 1200x800.

After I press ok I get the message:

Display settings changed

You need to log out and restart the X server for the changes to take effect.
Configuration was written to /etc/X11/xorg.conf, original configuration saved as /etc/X11/xorg.conf.backup.

One more thing - when I change Monitor type in the "Hardware" menu to LCD Panel 1024x768(for example), press ok and reenter this menu nothing changes - it is LCD Panel 1200x800 again. The only way I found to fix it is to change "ModelName" in xorg.conf manually:

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "LCD Panel 1280x800"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 90.0
VertRefresh 59.9 - 60.1
Option "dpms"
EndSection

And one more questions - how do I restart the X server?
When I logout I am immediatly dropped to the gui login menu, which doesn't have a command prompt line.

I use Scientific Linux 5.1 which is rhel5 based, I guess. And I use gnome desctop.

Any help greatly appreciated!

TITiAN 03-25-2008 06:31 AM

If you're using gnome, perhaps you login gui is gdm. If you restart gdm, X restarts as well. To do that, perhaps you can simply press crtl+alt+backspace or restart the box; with my distro, you can switch into a tty (ctrl+alt+F1), login as root and enter "/etc/init.d/gdm restart" and the screen will change as if you pressed ctrl+alt+F7 (F* for other configurations/distros), i.e back to the login gui. But I'm not sure if the command-line works for other distros, so restarting is the safest method.

pru 03-25-2008 06:59 AM

Quote:

Originally Posted by TITiAN (Post 3099676)
If you're using gnome, perhaps you login gui is gdm. If you restart gdm, X restarts as well. To do that, perhaps you can simply press crtl+alt+backspace or restart the box; with my distro, you can switch into a tty (ctrl+alt+F1), login as root and enter "/etc/init.d/gdm restart" and the screen will change as if you pressed ctrl+alt+F7 (F* for other configurations/distros), i.e back to the login gui. But I'm not sure if the command-line works for other distros, so restarting is the safest method.

I did ctrl+alt+bkspace, and I hope I restarted X server by that, but the resolution is still 1024x768.
When I try /etc/init.d/gdm restart I get - Aborting! GDM already running.
But, I guess, this is not the thing preventing me from changing desktop resolution.
Thanks for reply.

P.S. I discowered lynx! It's awesome!)

TITiAN 03-25-2008 07:29 AM

in my xorg.conf, I define the highest and lowest resolution (4:3 format) :
Quote:

[...]
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "XAANoOffscreenPixmaps" "true"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
Modes "1280x1024" "320x240"
EndSubSection
EndSection
[...]

pru 03-25-2008 07:39 AM

Thanks for your assistance, TITiAN!
I guess I found the answer here: http://www.geocities.com/stomljen/


All times are GMT -5. The time now is 01:10 AM.