Hi!
vorab:
https://forum.archlinux.de/?id=20;page=Postings;thread=13955 <- hab ich schon gelesen 🙂
Ich hab an meinem Laptop noch ein TFT angeschlossen und will auf jedem ein extra Desktop haben, also DualView.
Mein System bootet im runlevel3 und dannach starte ich per Skript den Xserver.
#!/bin/bash
DISPLAY=:0.0 "openbox"
DISPLAY=:1.0 "openbox"
startx /usr/bin/openbox-session -- :1 -layout dual
xorg.conf
Section "ServerLayout"
Identifier "single"
Screen 0 "TFT15" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
Identifier "dual"
Screen 0 "TFT15" 0 0
Screen 1 "TFT24" RightOf "TFT15"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "glx"
Load "dri"
Load "xtrap"
Load "extmod"
Load "dbe"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
################ TFT 24' ##################
Section "Monitor"
Identifier "TFT24Asus"
HorizSync 30.0-80.0
VertRefresh 55.0-75.0
VendorName "ASUS"
DisplaySize 1920 1080
EndSection
Section "Device"
Identifier "Card0-1"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
Screen 1
EndSection
Section "Screen"
Identifier "TFT24"
Device "Card0-1"
Monitor "TFT24Asus"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
################ TFT 15,4' ##################
Section "Monitor"
Identifier "TFT15Lenovo"
HorizSync 31.5-90.0
VertRefresh 60.0
VendorName "LENOVO"
DisplaySize 1280 800
EndSection
Section "Device"
Identifier "Card0-0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
Screen 0
EndSection
Section "Screen"
Identifier "TFT15"
Device "Card0-0"
Monitor "TFT15Lenovo"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Aber irgendwie funktioniert das nicht. Ich bekomm auf beiden Monitoren den gleichen Desktop zu sehen, nur auf dem Laptop eben ein Teil vom Desktop des großen.
>echo $DISPLAY
:1.0
.. das mit den 2 Servern erstellen klappt schon, aber der 2te überlagert offensichtlich den ersten.
jmd ne idee?
smil3 🙂