Announcement

Collapse
No announcement yet.

[SOLVED] failed to save xorg.conf. why ?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] failed to save xorg.conf. why ?

    I'm trying to set up dual monitors, using nvidia-settings. i can get the setup i want, but when i try to save the configurations i get a "failed to parse existing X config file /etc/X11/xorg.conf!".

    I ran nvidia-settings as sudo and in the terminal i get this error :

    VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
    Undefined Device "(null)" referenced by Screen "Default Screen".

    Any suggestions as to how to solve this ?

    thanks.
    I&#39;ll tell you all my secrets, but I&#39;ll lie about my past<br /><br />http://www.thebizneeds.com

    #2
    Re: failed to save xorg.conf. why ?

    Originally posted by Argos
    "failed to parse existing X config file /etc/X11/xorg.conf!".
    Sounds like there may be a syntax problem in xorg.conf

    VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
    Undefined Device "(null)" referenced by Screen "Default Screen".
    Have you examined that section of xorg.conf?

    BTW, it may be better to run nvidia-settings with kdesudo since using sudo to run GUI apps has the potential to cause problems.

    Originally posted by dibl
    First, it is bad practice to run "sudo" or root commands, including software installations, from your home directory -- if the .ICEauthority or .Xauthority hidden files are changed by root during your operation, you will be done logging in to KDE (until you figure out how to fix it).
    Welcome newbies!
    Verify the ISO
    Kubuntu's documentation

    Comment


      #3
      Re: failed to save xorg.conf. why ?

      kdesudo kate /etc/X11/xorg.conf

      paste it here we find your errors . maybe....if we can..
      Mark Your Solved Issues [SOLVED]
      (top of thread: thread tools)

      Comment


        #4
        Re: failed to save xorg.conf. why ?

        Originally posted by sithlord48
        kdesudo kate /etc/X11/xorg.conf

        paste it here we find your errors . maybe....if we can..
        Code:
        Section "Screen"
        	Identifier	"Default Screen"
        	DefaultDepth	24
        EndSection
        
        Section "Module"
        	Load	"glx"
        EndSection
        
        Section "Device"
        	Identifier	"Default Device"
        	Driver	"nvidia"
        	Option	"NoLogo"	"True"
        EndSection
        thanks
        I&#39;ll tell you all my secrets, but I&#39;ll lie about my past<br /><br />http://www.thebizneeds.com

        Comment


          #5
          Re: failed to save xorg.conf. why ?

          Alt-F2 "kdesudo nvidia-settings"

          Set your choices, then click "Save To X Configuration File" in the lower right, and "OK" to save the settings. It will write a new /etc/X11/xorg.conf file, and make a backup copy of the old one.

          Comment


            #6
            Re: failed to save xorg.conf. why ?

            i'm getting the same error : "failed to parse existing X config file /etc/X11/xorg.conf"
            I&#39;ll tell you all my secrets, but I&#39;ll lie about my past<br /><br />http://www.thebizneeds.com

            Comment


              #7
              Re: failed to save xorg.conf. why ?

              In Konsole, rename the file:
              Code:
              sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_23dec09
              Exit Konsole.

              Now Alt-F2 "kdesudo nvidia-settings" etc. etc.

              Comment


                #8
                Re: failed to save xorg.conf. why ?

                same thing happen. error cannot parser config file...
                I&#39;ll tell you all my secrets, but I&#39;ll lie about my past<br /><br />http://www.thebizneeds.com

                Comment


                  #9
                  Re: failed to save xorg.conf. why ?

                  Someting must be buggered there. I would re-install the Nvidia driver:

                  http://kubuntuforums.net/forums/inde...opic=3107406.0

                  at the point where it asks whether you want it to write a new xorg configuration file, the answer is "YES".

                  Comment


                    #10
                    Re: failed to save xorg.conf. why ?

                    Originally posted by dibl
                    In Konsole, rename the file:
                    Code:
                    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_23dec09
                    Sorry to second guess you, but should not that be mv to rename (instead of cp)?
                    Welcome newbies!
                    Verify the ISO
                    Kubuntu's documentation

                    Comment


                      #11
                      Re: failed to save xorg.conf. why ?

                      Originally posted by Telengard
                      Originally posted by dibl
                      In Konsole, rename the file:
                      Code:
                      sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_23dec09
                      Sorry to second guess you, but should not that be mv to rename (instead of cp)?
                      i thought so too. lets see if this helps...
                      I&#39;ll tell you all my secrets, but I&#39;ll lie about my past<br /><br />http://www.thebizneeds.com

                      Comment


                        #12
                        Re: [SOLVED] failed to save xorg.conf. why ?

                        Yap, that worked !! by renaming xorg.conf, and saving the new configuration through nvidia-settings.

                        thanks for all the help.

                        Happy holidays, Merry Christmas.
                        I&#39;ll tell you all my secrets, but I&#39;ll lie about my past<br /><br />http://www.thebizneeds.com

                        Comment


                          #13
                          Re: failed to save xorg.conf. why ?

                          Originally posted by Telengard

                          Sorry to second guess you, but should not that be mv to rename (instead of cp)?
                          Mehhhhhhhhhh! I was working on my own system while writing that -- I guess we can just call it senility!

                          Sorry Argos. Glad you got it working.

                          Comment


                            #14
                            Re: [SOLVED] failed to save xorg.conf. why ?

                            good to see you have it solved

                            geeze, i leave the shop for a few hours. come back to see if the Argos posted the xorg.conf and it all solved don't even get a chance to attempt to help more, kubuntu has the best support
                            Mark Your Solved Issues [SOLVED]
                            (top of thread: thread tools)

                            Comment


                              #15
                              Re: [SOLVED] failed to save xorg.conf. why ?

                              thanks everybody for your help. i do love this forum!! I never had a problem that i couldn't find an answer to here.
                              I&#39;ll tell you all my secrets, but I&#39;ll lie about my past<br /><br />http://www.thebizneeds.com

                              Comment

                              Working...
                              X