PDA

View Full Version : [kubuntu] [SOLVED] kubuntu 8.10 dual monitor problems



anomalous_underdog
November 16th, 2008, 01:42 AM
my second monitor is set to run a separate x screen, but it doesn't load up anything at startup. is there no way to add commands so at least a window manager gets run on that second x screen? I've put commands in my .xinitrc but it doesn't get called at all.

my xorg.conf


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@yellow) Thu Jun 5 09:27:12 UTC 2008

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
# commented out by update-manager, HAL is now used
# InputDevice "stylus" "SendCoreEvents"
# commented out by update-manager, HAL is now used
# InputDevice "cursor" "SendCoreEvents"
# commented out by update-manager, HAL is now used
# InputDevice "eraser" "SendCoreEvents"
# commented out by update-manager, HAL is now used
# InputDevice "pad"
EndSection

Section "Module"
Load "glx"
Load "v4l"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "stylus"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "stylus"
## Option "ForceDevice" "ISDV4" # Tablet PC ONLY
# Option "USB" "on"
#EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "eraser"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "eraser"
## Option "ForceDevice" "ISDV4" # Tablet PC ONLY
# Option "USB" "on"
#EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "cursor"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "cursor"
## Option "ForceDevice" "ISDV4" # Tablet PC ONLY
# Option "USB" "on"
#EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "pad"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "pad"
# Option "USB" "on"
#EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
#EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
#EndSection

Section "Monitor"
Identifier "Configured Monitor"
VendorName "AOC"
ModelName "AOC SPECTRUM 7Glr & 7GlrA"
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 130.0
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 "640x480@85" 36.0 640 696 752 832 480 481 484 509 -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@85" 56.3 800 832 896 1048 600 601 604 631 +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@85" 94.5 1024 1072 1168 1376 768 769 772 808 +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 "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync interlace
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 "1400x1050@75" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
ModeLine "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
ModeLine "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
ModeLine "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
EndSection

Section "Monitor"
#
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Envision AOC A785"
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 130.0
Gamma 1
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "AcerView"
HorizSync 31.5 - 53.7
VertRefresh 60.0 - 85.0
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
BoardName "nvidia"
BusID "PCI:5:0:0"
Screen 0
EndSection

Section "Device"
#
Identifier "Device1"
Driver "nvidia"
BoardName "nvidia"
BusID "PCI:5:0:0"
Screen 1
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
BusID "PCI:5:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
BusID "PCI:5:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1152x864@75" "1280x1024@75" "1024x768@43" "1280x960@60" "1024x768@60" "1280x1024@60" "1024x768@70" "1280x960@75" "1024x768@75" "1400x1050@60" "1024x768@85" "1400x1050@75" "832x624@75" "1600x1200@65" "800x600@60" "1600x1200@60" "800x600@85" "1792x1344@60" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection

Section "Screen"
#
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-1"
Option "metamodes" "CRT-1: 1280x1024 +0+0"
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "CRT-0: 1024x768 +0+0; CRT-0: 832x624@75 +0+0; CRT-0: 800x600@60 +0+0; CRT-0: 800x600@85 +0+0; CRT-0: 800x600@75 +0+0; CRT-0: 800x600@72 +0+0; CRT-0: 640x480@85 +0+0; CRT-0: 640x480@75 +0+0; CRT-0: 640x480@72 +0+0; CRT-0: 640x480@60 +0+0"
EndSection




my .xinitrc


xsetwacom set pad Screen_No "-1"
xsetwacom set stylus Screen_No "0"
xsetwacom set eraser Screen_No "0"
xsetwacom set cursor Screen_No "-1"
xsetwacom set stylus BottomY "9425"
xsetwacom set stylus BottomX "2448"
xsetwacom set stylus TopY "-200"
xsetwacom set stylus TopX "439"
xsetwacom set stylus TPCButton "off"
xsetwacom set stylus mode "Absolute"
xsetwacom set stylus Button3 "Button 3"
xsetwacom set stylus Button2 "Button 2"
xsetwacom set stylus Button1 "Button 1"
xsetwacom set cursor Accel "1"
xsetwacom set cursor SpeedLevel "7"
xsetwacom set stylus Suppress "2"
xsetwacom set stylus RawSample "4"
xsetwacom set stylus ClickForce "5"
xsetwacom set stylus PressCurve "0 50 50 100"
xsetwacom set eraser Suppress "2"
xsetwacom set eraser RawSample "4"
xsetwacom set eraser ClickForce "5"
xsetwacom set eraser PressCurve "0 50 50 100"
# run the primary system script
. /etc/X11/xinit/xinitrc

gkrellm &

DISPLAY=:0.1 openbox
exec openbox-session

anomalous_underdog
November 22nd, 2008, 08:21 PM
I added "DISPLAY=:0.1 openbox &" to my openbox's autostart.sh. It did the trick.