Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Hello again. I am trying to change my screen resolution but cant save the setting, so i have to do it manually after boot up. I get this error message: ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    30

    [SOLVED] Ubuntu/Xorg/resolution

    Hello again.

    I am trying to change my screen resolution but cant save the setting, so i have to do it manually after boot up. I get this error message:

    Failed to parse existing X config file '/etc/X11/xorg.conf

    Can any one please help me out?

    I have tried the sudo nvidia-xconfig command and it works for the purpose, but deletes some vital windows functions(shutdown with X maximize and minimize) and i cant enter my terminal. (leaving my terminal window blank)

    I also tryed edit the xconfig file manually do to a howto on ubuntu net. Still no luck

    The how to i used:
    Ubuntu Forums - View Single Post - HOWTO: Screen Resolution in Hoary 5.04

  2. #2
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575
    A dumb suggestion from a technology challenged old man who had screen resolution problems with my install of ubuntu 8.04 whick was corrected by replacing the xconf file.

    You can post the machine and monitor as well as the distro that you are using and request that someone post their working xconf file here so that you can copy and paste and save it into your file. Then you could cut your present file that is giving you problems.
    Linux registered user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    30

    Specifications

    Kubuntu/ubuntu 9.10
    Nvidia 96 driver
    monitor IQ V770
    Nvidia 128mb

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I am trying to change my screen resolution but cant save the setting, so i have to do it manually after boot up. I get this error message:
    What are you using to change it? Is this nvidia's GUI tool? Are you starting it as root?

    Please post the contents of /etc/X11/xorg.conf

  5. #5
    Just Joined!
    Join Date
    Feb 2010
    Posts
    30
    My xconfig file

    Section "Screen"
    Identifier "Default Screen"
    DefaultDepth 24
    Option "AddARGBGLXVisuals" "True"
    EndSection

    Section "Module"
    Load "glx"
    EndSection

    Section "Device"
    Identifier "Default Device"
    Driver "nvidia"
    Option "NoLogo" "True"
    EndSection


    And yes. i am using nvidias gui to change resolution. other issent supported.

    I am locked in as gksu nautolus when i found the xconfig.file. otherwise i dont know.

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Try starting the GUI config as so
    Code:
    gksudo nvidia-settings

  7. #7
    Just Joined!
    Join Date
    Feb 2010
    Posts
    30
    Still the same message.

  8. #8
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Also, here is a lot of info on configuring your nvidia card.
    NVIDIA - ArchWiki

    Pretty much everything from the Configuring section on is applicable to any distro.

  9. #9
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Quote Originally Posted by Neological View Post
    Still the same message.
    Oh, it's the nvidia-settings that gives that error?

    Backup your xorg.conf and let's start with a basic new one.
    Code:
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.sav
    Open up a text edit and create a new xorg.conf
    Code:
    gksudo gedit /etc/X11/xorg.conf
    Put this inside
    Code:
    Section "Device"
       Identifier     "Device0"
       Driver         "nvidia"
       VendorName     "NVIDIA Corporation"
    EndSection
    Run nvidia-xconfig.
    Code:
    sudo nvidia-xconfig --add-argb-glx-visuals --no-logo
    This would be what you had before. There are a whole lot of other options, too.
    nvidia-xconfig(1) - Linux man page

    Restart your X session
    Code:
    sudo /etc/init.d/gdm restart

  10. #10
    Just Joined!
    Join Date
    Feb 2010
    Posts
    30

    Question

    that worked out fine.

    Just the same problem as before. I know, that when i ad this to the xconfig. the windows features will return. because i deleted it in order to solved this resolution problem.

    Can i just paste in to the new file you helped me create?
    The line i need:
    Section "Screen"
    Identifier "Default Screen"
    DefaultDepth 24
    Option "AddARGBGLXVisuals" "True"
    EndSection

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...