Announcement

Collapse
No announcement yet.

Extended desktop will only work when logging on as root

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

    Extended desktop will only work when logging on as root

    Ok I know it's a security issue but the only way I can make my extended desktop work is when logging on as root. Seems like there is something missing or something wrong with the rights of my normal user or something wrong with my xorg.conf.

    Any help is much appreciated. Here's my xorg.conf:

    Code:
    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
    # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #  sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "ServerLayout"
    	Identifier   "Default Layout"
    	Screen   0 "aticonfig-Screen[0]" 0 0
    	InputDevice  "Generic Keyboard"
    	InputDevice  "Configured Mouse"
    	InputDevice  "stylus" "SendCoreEvents"
    	InputDevice  "cursor" "SendCoreEvents"
    	InputDevice  "eraser" "SendCoreEvents"
    EndSection
    
    Section "Files"
    
     # path to defoma fonts
    	FontPath   "/usr/share/X11/fonts/misc"
    	FontPath   "/usr/share/X11/fonts/cyrillic"
    	FontPath   "/usr/share/X11/fonts/100dpi/:unscaled"
    	FontPath   "/usr/share/X11/fonts/75dpi/:unscaled"
    	FontPath   "/usr/share/X11/fonts/Type1"
    	FontPath   "/usr/share/X11/fonts/100dpi"
    	FontPath   "/usr/share/X11/fonts/75dpi"
    	FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
    	Load "i2c"
    	Load "bitmap"
    	Load "ddc"
    	Load "extmod"
    	Load "freetype"
    	Load "int10"
    	Load "type1"
    	Load "vbe"
    	Load "glx"
    	Load "GLcore"
    	Load "dri"
    	Load "v4l"
    EndSection
    
    Section "InputDevice"
    	Identifier "Generic Keyboard"
    	Driver   "kbd"
    	Option	  "CoreKeyboard"
    	Option	  "XkbRules" "xorg"
    	Option	  "XkbModel" "pc105"
    	Option	  "XkbLayout" "no"
    EndSection
    
    Section "InputDevice"
    	Identifier "Configured Mouse"
    	Driver   "mouse"
    	Option	  "CorePointer"
    	Option	  "Device" "/dev/input/mice"
    	Option	  "Protocol" "ExplorerPS/2"
    	Option	  "ZAxisMapping" "4 5"
    	Option	  "Emulate3Buttons" "true"
    EndSection
    
    Section "InputDevice"
    
     # /dev/input/event
     # for USB
    	Identifier "stylus"
    	Driver   "wacom"
    	Option	  "Device" "/dev/wacom"# Change to 
    	Option	  "Type" "stylus"
    	Option	  "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
    
     # /dev/input/event
     # for USB
    	Identifier "eraser"
    	Driver   "wacom"
    	Option	  "Device" "/dev/wacom"# Change to 
    	Option	  "Type" "eraser"
    	Option	  "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
    
     # /dev/input/event
     # for USB
    	Identifier "cursor"
    	Driver   "wacom"
    	Option	  "Device" "/dev/wacom"# Change to 
    	Option	  "Type" "cursor"
    	Option	  "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "Monitor"
    	Identifier  "DELL 1702FP"
    	VendorName  "Plug 'n' Play"
    	ModelName  "Plug 'n' Play"
    	Gamma    1
    	ModeLine   "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    	ModeLine   "640x480@72" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    	ModeLine   "640x480@75" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    	ModeLine   "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    	ModeLine   "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    	ModeLine   "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    	ModeLine   "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    	ModeLine   "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync
    	ModeLine   "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    	ModeLine   "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    	ModeLine   "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    	ModeLine   "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    	ModeLine   "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    	ModeLine   "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
    	ModeLine   "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    	ModeLine   "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    	ModeLine   "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    	ModeLine   "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    EndSection
    
    Section "Monitor"
    	Identifier  "monitor1"
    	VendorName  "Plug 'n' Play"
    	ModelName  "Plug 'n' Play"
    	Gamma    1
    	ModeLine   "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    	ModeLine   "640x480@72" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    	ModeLine   "640x480@75" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    	ModeLine   "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    	ModeLine   "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    	ModeLine   "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    	ModeLine   "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    	ModeLine   "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync
    	ModeLine   "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    	ModeLine   "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    	ModeLine   "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    	ModeLine   "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    	ModeLine   "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    	ModeLine   "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
    	ModeLine   "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    	ModeLine   "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    	ModeLine   "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    	ModeLine   "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    EndSection
    
    Section "Monitor"
    	Identifier  "aticonfig-Monitor[0]"
    	VendorName  "Plug 'n' Play"
    	ModelName  "Plug 'n' Play"
    	Gamma    1
    	ModeLine   "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    	ModeLine   "640x480@72" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    	ModeLine   "640x480@75" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    	ModeLine   "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    	ModeLine   "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    	ModeLine   "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    	ModeLine   "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    	ModeLine   "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync
    	ModeLine   "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    	ModeLine   "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    	ModeLine   "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    	ModeLine   "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    	ModeLine   "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    	ModeLine   "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
    	ModeLine   "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    	ModeLine   "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    	ModeLine   "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    	ModeLine   "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    EndSection
    
    Section "Monitor"
    	Identifier  "monitor2"
    	VendorName  "Plug 'n' Play"
    	ModelName  "Plug 'n' Play"
    	Gamma    1
    	ModeLine   "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    	ModeLine   "640x480@72" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    	ModeLine   "640x480@75" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    	ModeLine   "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    	ModeLine   "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    	ModeLine   "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    	ModeLine   "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    	ModeLine   "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync
    	ModeLine   "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    	ModeLine   "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    	ModeLine   "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    	ModeLine   "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    	ModeLine   "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    	ModeLine   "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
    	ModeLine   "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    	ModeLine   "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    	ModeLine   "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    	ModeLine   "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    EndSection
    
    Section "Device"
    	Identifier "ATI Technologies, Inc. Radeon R350 NH [Radeon 9800 Pro]"
    	Driver   "fglrx"
    	VendorName "ATI"
    	BoardName  "ATI Radeon (fglrx)"
    	Option	  "MergedFB" "off"
    	Option	  "VideoOverlay" "on"
    	Option	  "OpenGLOverlay" "off"
    	Option	  "DesktopSetup" "horizontal"
    	Option	  "OverlayOnCRTC2" "1"
    	BusID    "PCI:1:0:0"
    EndSection
    
    Section "Device"
    	Identifier "device1"
    	Driver   "fglrx"
    	BoardName  "ati"
    	BusID    "PCI:1:0:0"
    	Screen   1
    EndSection
    
    Section "Device"
    	Identifier "aticonfig-Device[0]"
    	Driver   "fglrx"
    	BoardName  "ati"
    	BusID    "PCI:1:0:0"
    EndSection
    
    Section "Device"
    	Identifier "device2"
    	Driver   "ati"
    	VendorName "ATI"
    	BoardName  "ATI Radeon"
    	Option	  "MergedFB" "off"
    	BusID    "PCI:1:0:1"
    EndSection
    
    Section "Screen"
    	Identifier "aticonfig-Screen[0]"
    	Device   "ATI Technologies, Inc. Radeon R350 NH [Radeon 9800 Pro]"
    	Monitor  "DELL 1702FP"
    	DefaultDepth   24
    	SubSection "Display"
    	Depth   24
    	Modes  "1280x1024" "1024x768"
    	EndSubSection
    EndSection
    
    Section "Screen"
    
     # 
    	Identifier "screen1"
    	Device   "device1"
    	Monitor  "monitor1"
    	DefaultDepth   24
    	SubSection "Display"
    		Depth   24
    		Modes  "1280x1024@60" "1280x960@75" "1280x960@60" "1400x1050@60" "1280x1024@75" "1600x1200@60" "1152x864@75" "1024x768@60" "1024x768@70" "1024x768@75" "832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"
    	EndSubSection
    EndSection
    
    Section "Screen"
    	Identifier "aticonfig-Screen[0]"
    	Device   "aticonfig-Device[0]"
    	Monitor  "aticonfig-Monitor[0]"
    	DefaultDepth   24
    	SubSection "Display"
    		Depth   24
    		Modes  "1280x1024@60" "1280x960@75" "1280x960@60" "1400x1050@60" "1280x1024@75" "1600x1200@60" "1152x864@75" "1024x768@60" "1024x768@70" "1024x768@75" "832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"
    	EndSubSection
    EndSection
    
    Section "Screen"
    
     #  
    	Identifier "screen2"
    	Device   "device2"
    	Monitor  "monitor2"
    	DefaultDepth   24
    	SubSection "Display"
    		Depth   24
    		Modes  "640x480@60" "640x480@72" "640x480@75" "800x600@56" "800x600@72" "800x600@75" "800x600@60" "832x624@75" "1024x768@75" "1024x768@70" "1024x768@60" "1152x864@75" "1280x1024@75" "1280x960@60" "1280x1024@60" "1280x960@75" "1400x1050@60" "1600x1200@60"
    	EndSubSection
    EndSection
    
    Section "DRI"
    	Mode     0666
    EndSection

    #2
    Re: Extended desktop will only work when logging on as root

    I don't see anything in your xorg.conf file that strikes me as unusual, although I'm not too sure about the screen layout. Moreover, when you can do something as root that you can't do as an ordinary user, it generally indicates a permission problem somewhere. For example, xorg.conf should be "-rw-r--r-- root root"

    Comment

    Working...
    X