LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   [centos] screen resolution setting (https://www.linuxquestions.org/questions/linux-distributions-5/%5Bcentos%5D-screen-resolution-setting-549103/)

pcandpc 04-26-2007 03:11 AM

[centos] screen resolution setting
 
Hello?

In CentOS 5, how do I reset the screen resolution
in GUI manner?

Well, after changing the initial screen resolution
from 1024*768 to 800*600, I cannot go back to 1024*768.

This resolution (1024*768) is no longer available in
the drop down choice (system -> preferences -> screen resolution).

Thanks.

Lenard 04-26-2007 12:00 PM

So boot or switch to runlevel 3 and fix it, as root type something like;

cp /etc/X11/xorg.conf /etc/X11/backup.xorg.conf
system-config-display --reconfigue --set-resolution=1024x768 --set-depth=16

The first typed command makes a backup of the currect xorg.conf file just in case (always a good idea). The second resets or reconfigures the xorg.conf file.

xoundboy 03-09-2010 07:22 AM

Quote:

Originally Posted by Lenard (Post 2726412)
So boot or switch to runlevel 3 and fix it, as root type something like;

cp /etc/X11/xorg.conf /etc/X11/backup.xorg.conf
system-config-display --reconfigue --set-resolution=1024x768 --set-depth=16

The first typed command makes a backup of the currect xorg.conf file just in case (always a good idea). The second resets or reconfigures the xorg.conf file.

Just spotted a small typo in this. --reconfigue should be --reconfig like so:

cp /etc/X11/xorg.conf /etc/X11/backup.xorg.conf
system-config-display --reconfig --set-resolution=1024x768 --set-depth=16


All times are GMT -5. The time now is 09:00 PM.