I don't use server flags at all. I have this as my Server Layout.

Section "ServerLayout"
  Identifier    "Default Layout"
  Screen "Default Screen"
  Screen "Default Screen2" RightOf "Default Screen"
  Option     "Xinerama"
EndSection

In your case I think it would be:

Section "ServerLayout"
  Identifier    "Default Layout"
  Screen "aticonfig-Screen[0]-0"
  Screen "aticonfig-Screen[0]-1"
  Option     "Xinerama"
EndSection

Hope that helps.

Thanks!
Jordan Wilberding

On Wed, Jul 8, 2009 at 10:44 PM, Eugene Tarasov <_Genia@post.ustu.ru> wrote:
Hello,

I have some trouble with xmonad multihead configuration. It displays one workspace in two monitors, mod+w,e,r don't work. How to get multihead configuration with two different workspaces on two monitors described in all tutorials?

I've tried it with gdm and xdm.

My xorg.conf is in attachment.


Thanks,
  Eugene Tarasov

Section "ServerLayout"
       Identifier     "aticonfig Layout"
       Screen      0  "aticonfig-Screen[0]-0" 1280 0
       Screen         "aticonfig-Screen[0]-1" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "ServerFlags"
       Option      "Xinerama" "on"
EndSection

Section "Monitor"
       Identifier   "aticonfig-Monitor[0]-0"
       Option      "VendorName" "ATI Proprietary Driver"
       Option      "ModelName" "Generic Autodetecting Monitor"
       Option      "DPMS" "true"
EndSection

Section "Monitor"
       Identifier   "aticonfig-Monitor[0]-1"
       Option      "VendorName" "ATI Proprietary Driver"
       Option      "ModelName" "Generic Autodetecting Monitor"
       Option      "DPMS" "true"
EndSection

Section "Device"
       Identifier  "aticonfig-Device[0]-0"
       Driver      "fglrx"
       BusID       "PCI:2:0:0"
EndSection

Section "Device"
       Identifier  "aticonfig-Device[0]-1"
       Driver      "fglrx"
       BusID       "PCI:2:0:0"
       Screen      1
EndSection

Section "Screen"
       Identifier "aticonfig-Screen[0]-0"
       Device     "aticonfig-Device[0]-0"
       Monitor    "aticonfig-Monitor[0]-0"
       DefaultDepth     24
       SubSection "Display"
               Viewport   0 0
               Depth     24
       EndSubSection
EndSection

Section "Screen"
       Identifier "aticonfig-Screen[0]-1"
       Device     "aticonfig-Device[0]-1"
       Monitor    "aticonfig-Monitor[0]-1"
       DefaultDepth     24
       SubSection "Display"
               Viewport   0 0
               Depth     24
       EndSubSection
EndSection


_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad