change resoulution

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
canogiga
Compulsive poster
Compulsive poster
Posts: 60
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat May 01, 2010 12:52 pm

change resoulution

Post by canogiga »

well i would like to change the resoulution on my vds, to atleast higher than 800x600. my control panel in centos will only let me choose 2 800x600 and 640x800, i know you can change somethng in a conf file, it currently says it is useing cirrus logic Gd 5446.
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: change resoulution

Post by Edge100x »

Try the method discussed here: http://ubuntuforums.org/showthread.php?t=678582#2

In case that page gets taken down, it says to edit /etc/X11/xorg.conf directly, and replace it with this:

Code: Select all

Section "Monitor"
  Identifier  "Monitor0"
  HorizSync   20.0 - 50.0
  VertRefresh 40.0 - 80.0
End Section

Section "Device"
  Identifier "Device0"
  Driver     "vesa"
EndSection

Section "Screen"
  Identifier   "Screen0"
  Device       "Device0"
  Monitor      "Monitor0"
  DefaultDepth 16
  Subsection "Display"
    Depth 16
    Modes "1024x768"
  EndSubsection
EndSection
Replace "1024x768" with "800x600", if you'd prefer, or remove its "Subsection" to run at 1280x1024.
canogiga
Compulsive poster
Compulsive poster
Posts: 60
Joined: Sat May 01, 2010 12:52 pm

Re: change resoulution

Post by canogiga »

so i tryed that and know it windows x it give me a look like the video is corupt. you wouldnt have a default xorg.conf that the vps get loaded with would u. I edited that one by mistake, so know i cant put it back to working order.
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: change resoulution

Post by Edge100x »

I can pull one out for you. What OS are you using?
canogiga
Compulsive poster
Compulsive poster
Posts: 60
Joined: Sat May 01, 2010 12:52 pm

Re: change resoulution

Post by canogiga »

centos 5.4
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: change resoulution

Post by Edge100x »

This is the default one:

Code: Select all

# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "evdev"
        Option      "Device" "/dev/input/event2"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "cirrus"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
It looks like the guidance on that site leaves out important mouse customizations. required by Xen. Try replacing the "Device" and "Screen" sections and adding the "Monitor" section, giving a final file like this:

Code: Select all

# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "evdev"
        Option      "Device" "/dev/input/event2"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "Monitor"
  Identifier  "Monitor0"
  HorizSync   20.0 - 50.0
  VertRefresh 40.0 - 80.0
End Section

Section "Device"
  Identifier "Device0"
  Driver     "vesa"
EndSection

Section "Screen"
  Identifier   "Screen0"
  Device       "Device0"
  Monitor      "Monitor0"
  DefaultDepth 16
  Subsection "Display"
    Depth 16
    Modes "1024x768"
  EndSubsection
EndSection
Post Reply