How to set resolution and refresh rate for user shared workstation
OS version:
Red Hat Enterprise Linux Server release 5.3 (Tikanga) User Request: "We need to set the resolution to 1280 X 1024 and the refresh rate to 60 Hz. There are two monitors" Note: each user can change the settings, but settings are lost when they logout (they are not root). User states resolution and refresh rate can be set but it's not the default (settings lost after logoff). Question: How can I set a default resolution (1280x1024) and refresh rate (60 Hz) remotely so all users don't have to set every time they login. This box is dedicated to 1 function and i have root access remotely but not the desktop gui. Info: /sbin/lspci | grep -i vga 02:00.0 VGA compatible controller: nVidia Corporation G80 [Quadro FX 5600] (rev a2) cat /proc/driver/nvidia/version NVRM version: NVIDIA UNIX x86_64 Kernel Module 256.53 Fri Aug 27 20:27:48 PDT 2010 GCC version: gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) cat /proc/driver/nvidia/cards/0 Model: Quadro FX 5600 IRQ: 177 Video BIOS: 60.80.13.00.01 Card Type: PCI-E DMA Size: 40 bits DMA Mask: 0xffffffffff Bus Location: 0000:02.00.0 /etc/X11/xorg.conf: # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 256.53 (buildmeister@builder97.nvidia.com) Fri Aug 27 20:55:22 PDT 2010 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "pad" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "unix/:7100" EndSection Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" EndSection Section "InputDevice" # generated from data in "/etc/sysconfig/mouse" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from data in "/etc/sysconfig/keyboard" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "us" Option "XkbModel" "pc105" EndSection Section "InputDevice" Identifier "stylus" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "stylus" Option "TVResolution" "UnkownDefaults" Option "ScreenNo" "0" Option "TwinView" "horizontal" Option "USB" "on" # Option "ForceDevice" "ISDV4" EndSection Section "InputDevice" Identifier "eraser" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "TVResolution" "UnkownDefaults" Option "ScreenNo" "0" Option "TwinView" "horizontal" Option "USB" "on" # Option "ForceDevice" "ISDV4" EndSection Section "InputDevice" Identifier "cursor" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "cursor" Option "TVResolution" "UnkownDefaults" Option "ScreenNo" "0" Option "TwinView" "horizontal" Option "USB" "on" # Option "ForceDevice" "ISDV4" EndSection Section "InputDevice" Identifier "pad" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "pad" Option "USB" "on" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 30.0 - 110.0 VertRefresh 50.0 - 150.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "BackingStore" "on" Option "TwinView" "True" Option "MetaModes" "nvidia-auto-select, nvidia-auto-select" SubSection "Display" Depth 24 Modes "1280x1024" <<- this is what i added EndSubSection EndSection Thank you for your responses in advance. Appreciated! |
Google RandR.
|
All times are GMT -5. The time now is 03:40 PM. |