[ltp] Independent dual monitors

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Sat, 4 Jun 2005 13:04:24 -0600


Hi,

I have a T40 running debian sid (2.6.11) and want to set up a dual
monitor (laptop + external LCD) such that each has independent screens.
I have tried every variation on the XF86Config-4 configs that implement
the vnc approach (e.g. that posted by Karl Weidner). A key issue seems
to be that I am unable to set up display:0.1.

My questions are two:
	1) does anybody have an independent dual monitor setup working? 
	and given 1)
	2) is there something wrong in my XF86Gonfig-4 (below)

Any words of wisdom or (en)(dis)courgament are welcome


Michael Cole
mcole@scils.rutgers.edu

--- XF86Config-4
Section "ServerLayout"
 Identifier     "single"
 Screen         "LCD" 0 0
 InputDevice "Configured Mouse"
 InputDevice "Generic Mouse"
 InputDevice    "TP Keyboard"
 InputDevice    "usbmouse"
 InputDevice    "vncMouse" "ExtraPointer"
 InputDevice    "vncKeyboard" "ExtraKeyboard"
EndSection

Section "ServerLayout"
 Identifier     "indep"
 Screen      0  "LCD" 0 0
 Screen      1  "VGA" 0 0
 InputDevice    "TP Keyboard"
 InputDevice "Configured Mouse"
 InputDevice "Generic Mouse"
 InputDevice    "usbmouse"
 InputDevice    "vncMouse" "ExtraPointer"
 InputDevice    "vncKeyboard" "ExtraKeyboard"
 Option     "Xinerama" "false"
EndSection

Section "ServerLayout"
 Identifier     "indep800"
 Screen      0  "LCD" 0 0
 Screen      1  "VGA800" 0 0
 InputDevice    "TP Keyboard"
 InputDevice "Configured Mouse"
 InputDevice "Generic Mouse"
 InputDevice    "usbmouse"
 InputDevice    "vncMouse" "ExtraPointer"
 InputDevice    "vncKeyboard" "ExtraKeyboard"
 Option     "Xinerama" "false"
EndSection

Section "ServerLayout"
  Identifier     "xine"
 Screen  0 "LCD" 0 0
 Screen  1 "VGA" 0 0
 InputDevice    "TP Keyboard"InputDevice "Configured Mouse"
 InputDevice "Generic Mouse"
 InputDevice    "usbmouse"
 InputDevice    "vncMouse" "ExtraPointer"
 InputDevice    "vncKeyboard" "ExtraKeyboard"
 Option      "Xinerama" "true"
EndSection

Section "Files"
 ModulePath "/usr/X11R6/lib/modules-dri-trunk"
 ModulePath "/usr/X11R6/lib/modules"
#  RgbPath "/usr/X11R6/lib/X11/rgb"
  # Added by ttf-commercial
  # FontPath  "/usr/lib/X11/fonts/CID"
 FontPath     "/usr/lib/X11/fonts/misc"
 FontPath     "/usr/lib/X11/fonts/75dpi/:unscaled"
 FontPath     "/usr/lib/X11/fonts/100dpi/:unscaled"
 FontPath     "/usr/lib/X11/fonts/Type1"
 FontPath     "/usr/lib/X11/fonts/Speedo"
 FontPath     "/usr/lib/X11/fonts/75dpi"
 FontPath     "/usr/lib/X11/fonts/100dpi"
 FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
 FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
 FontPath     "/usr/lib/X11/fonts/cyrillic"
EndSection

Section "Module"
 Load "GLcore"
 Load "bitmap"
 Load "dbe"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "record"
 Load "speedo"
 Load "type1"
 Load "vbe"
 Load   "vnc"
EndSection

Section "InputDevice"
 Identifier  "TP Keyboard"
 Driver      "keyboard"
 Option     "CoreKeyboard"
 Option     "XkbRules" "xfree86"
 Option     "XkbModel" "pc105"
 Option     "XkbLayout" "us"
 Option     "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver  "mouse"
 Option  "CorePointer"
 Option  "Device"  "/dev/psaux"
 Option  "Protocol"  "PS/2"
 Option  "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
 Identifier "Generic Mouse"
 Driver  "mouse"
 Option  "SendCoreEvents" "true"
 Option  "Device"  "/dev/input/mice"
 Option  "Protocol"  "ImPS/2"
 Option  "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
 Identifier  "usbmouse"
 Driver      "mouse"
 Option     "SendCoreEvents" "true"
 Option     "Device" "/dev/input/mice"
 Option     "Protocol" "ImPS/2"
 Option     "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
 Identifier  "vncMouse"
 Driver      "rfbmouse"
EndSection

Section "InputDevice"
 Identifier  "vncKeyboard"
 Driver      "rfbkeyb"
EndSection

Section "Monitor"

 HorizSync 30-57
 VertRefresh 43-72
 Identifier   "TP LCD"
 Option     "DPMS"
EndSection

Section "Monitor"
 Identifier   "Samsung 710N"
 HorizSync 30-81
 VertRefresh 56-75
 Option     "DPMS"
EndSection

Section "Device"

 Option  "AGPMode" "1" 
 #Option  "AGPFastWrite" "true"
 Identifier  "Radeon0"
 Driver      "radeon"
 Option     "MonitorLayout" "LVDS, TMDS"
 #Option  "PanelOff" "true"
 Option     "CloneDisplay" "0"
 Option     "CloneMode" "1280x1024"
 #Option  "CloneHSync" "30-81"
 #Option  "CloneVRefresh" "56-75"
 #Option     "usevnc" "on"
 #Option     "useraccept" "off"
 BusID       "PCI:1:0:0"
 Screen 0
EndSection

Section "Device"
 #Option  "ForcePCIMode" "true" # works but crashes
 #Option  "SWcursor" "true" # paranoid mode
 Option  "AGPMode" "1"
 #Option    "AGPFastWrite" "true"
 #Option          "UseFBDev"              "true"
 #Option  "MonitorLayout" "NONE, TMDS"
 #Option  "PanelOff" "true"
 Identifier  "Radeon1"
 Driver      "radeon"
 BusID       "PCI:1:0:0"
 Screen      1
EndSection

Section "Screen"
 Identifier "LCD"
 Device     "Radeon0"
 Monitor    "TP LCD"
 DefaultDepth     24
 SubSection "Display"
  Depth     16
  Modes    "1400x1050" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth     24
  Modes    "1400x1050" "1024x768" "800x600" "640x480"
 EndSubSection
EndSection

Section "Screen"
 Identifier "VGA"
 Device     "Radeon1"
 Monitor    "Samsung 710N"
 DefaultDepth     24
 SubSection "Display"
  Depth     24
  Modes    "1280x1024" "1024x768" "800x600" "640x480"
 EndSubSection
EndSection

Section "Screen"
 Identifier "VGA800"
 Device     "Radeon1"
 Monitor    "Samsung 710N"
 DefaultDepth     24
 SubSection "Display"
  Depth     24
  Modes    "800x600" "640x480"
 EndSubSection
EndSection

Section "DRI"
 Mode         0666
EndSection
-------------------------