openSUSE 12.2: Dual monitor config not staying after logout/reboot

I recently added a second monitor to my setup. I currently run two 24" LG monitors using the two ports on my nVidia GeForce GTX 550Ti. I simply want my screen to extend over both monitors, like most dual monitor setups. I am able to achieve the correct settings by following the wiki article. However when I log out, the settings aren’t saved, and it resorts to the default “cloned” screens (i.e. my desktop is replicated on both monitors). I have used su to run nvidia-settings, so I don’t think it’s a permissions issue. BTW I am using xfce.

Here is a screenshot of the nvidia-settings panel after I configured it correctly. If I click on the second monitor, the settings are the same except under position it says “right of” and the primary display box is unchecked.

http://s16.postimg.org/pgzt38r7p/nvidia_settings.png

Here is my xorg.conf file as found under /etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.64  (buildmeister@swio-display-x86-rhel47-12)  Tue Oct 30 12:04:46 PDT 2012

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.64  (buildmeister@swio-display-x86-rhel47-12)  Tue Oct 30 12:04:34 PDT 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics E2442"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 550 Ti"
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT-0: 1920x1080 +0+0, CRT-1: 1920x1080 +1920+0; CRT-0: 1920x1080 +0+0, CRT-1: nvidia-auto-select +1920+0; CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1920+0; CRT-0: 1920x1080 +0+0, CRT-1: nvidia-auto-select +1920+0; CRT-0: 1920x1080_60 +0+0, CRT-1: nvidia-auto-select +1920+0; CRT-0: 1680x1050 +0+0, CRT-1: nvidia-auto-select +1680+0; CRT-0: 1680x1050_60 +0+0, CRT-1: nvidia-auto-select +1680+0; CRT-0: 1600x900 +0+0, CRT-1: nvidia-auto-select +1600+0; CRT-0: 1600x900_60 +0+0, CRT-1: nvidia-auto-select +1600+0; CRT-0: 1440x900 +0+0, CRT-1: nvidia-auto-select +1440+0; CRT-0: 1440x900_60 +0+0, CRT-1: nvidia-auto-select +1440+0; CRT-0: 1400x1050 +0+0, CRT-1: nvidia-auto-select +1400+0; CRT-0: 1400x1050_60 +0+0, CRT-1: nvidia-auto-select +1400+0; CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1280+0; CRT-0: 1280x1024_75 +0+0, CRT-1: nvidia-auto-select +1280+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "Stereo" "0"
    Option         "metamodes" "CRT-0: 1920x1080 +0+0, CRT-1: 1920x1080 +1920+0; CRT-0: 1920x1080 +0+0; CRT-0: nvidia-auto-select +0+0; CRT-0: 1920x1080 +0+0; CRT-0: 1920x1080_60 +0+0; CRT-0: 1680x1050 +0+0; CRT-0: 1680x1050_60 +0+0; CRT-0: 1600x900 +0+0; CRT-0: 1600x900_60 +0+0; CRT-0: 1440x900 +0+0; CRT-0: 1440x900_60 +0+0; CRT-0: 1400x1050 +0+0; CRT-0: 1400x1050_60 +0+0; CRT-0: 1280x1024 +0+0; CRT-0: 1280x1024_75 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Any help would be appreciated. I’ve looked around for help with doing it manually through xrandr, but I haven’t been able to find anything concrete.

UPDATE: I have discovered that when logging into xfce using the root account, the settings are fine (i.e. it does what I want them to do). It’s when I log into my regular account that the settings are constantly reset. Does anyone have any experience with this?

Other then never log into a GUI as root, not really.

try a different user there may be some setting in your home that are messedup

I logged in as root because I had to test a GUI based problem. Logging in and out is hardly going to do any harm.

Anyways I fixed it, the solution seemed to be placing a copy of xorg.conf into my /usr/share/X11 folder.