LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-25-2005, 11:50 AM   #1
David_g17
LQ Newbie
 
Registered: Nov 2003
Posts: 29

Rep: Reputation: 15
I got dual monitors working in linux


HP monitor, KDS monitor, Nvidia card, and an ATI card.

in case anyone happens to come across this site via google, here's my xorg.conf file:

Code:
# Xorg configuration created by system-config-display
 
# this was generated by red hat's buggy auto
# dual head thing.  i may have changed some 
# values; i don't remember :P
Section "ServerLayout"
 
        Identifier     "Multihead layout"
        Screen      1  "Screen0" RightOf "Screen1"
        Screen      1  "Screen1" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option      "Xinerama" "off"
        Option      "Clone" "on"
EndSection
 
Section "Files"
 
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection
 
Section "Module"
 
 
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection
 
Section "InputDevice"
 
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#       Option  "Xleds"         "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#       Option  "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#       Option  "XkbModel"      "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#       Option  "XkbModel"      "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#       Option  "XkbLayout"     "de"
# or:
#       Option  "XkbLayout"     "de"
#       Option  "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#       Option  "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#       Option  "XkbOptions"    "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection
 
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection
 
#
# two monitors: KDS and an HP
#
#
 
#KDS monitor
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "KDS XFlat XF-9b/XF-9c/XF-9e/XF-9p"
        DisplaySize  360        260
        HorizSync    30.0 - 98.0
        VertRefresh  50.0 - 160.0
        Option      "dpms"
EndSection
 
#HP monitor
Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "HP D5258A Pavilion M50 Monitor"
        DisplaySize  360        260
        HorizSync    31.5 - 54.0
        VertRefresh  56.0 - 85.0
        Option      "dpms"
EndSection
 
#
#  Each video card is a device
#
#
Section "Device"
        Identifier  "Videocard1"
        Driver      "r128"
        VendorName  "Videocard vendor"
        BoardName   "ATI Rage 128"
        #lspci gives this value below, convert hex to dec
        BusID       "PCI:02:00:0"
        Screen      0
EndSection
 
Section "Device"
        Identifier  "Videocard0"
        Driver      "nv"
        VendorName  "Videocard Vendor"
        BoardName   "NVIDIA GeForce FX (generic)"
        #lspci gives this value below, convert hex to dec
        BusID       "PCI:1:0:0"
EndSection
 
#
#Screens tie video cards to monitors
# (i think)
#
Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "640x480"
        EndSubSection
EndSection
 
Section "Screen"
        Identifier "Screen1"
        Device     "Videocard1"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "800x600"
        EndSubSection
EndSection
Edited to add: distro was Fedora Core 2

Last edited by David_g17; 01-25-2005 at 11:52 AM.
 
Old 01-25-2005, 12:23 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Thank you for posting this up. I'm sure someone (maybe me later on) will find this useful! Thanks again!

-twantrd
 
Old 01-25-2005, 01:21 PM   #3
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
perhaps you should submit this to the Tutorials section of the site
 
Old 01-25-2005, 02:12 PM   #4
cadkins
Member
 
Registered: Mar 2004
Location: <----- there
Distribution: Mandrake 9.0 - 9.2, Slackware 9.1 - 10
Posts: 98

Rep: Reputation: 15
oh man!!! I just got a new video card with dual monitor support. was wondering about my linux partition when i was installing it and was concerned..........i am bookmarking this and giving it a go when i get home!

thanks!!!!
 
Old 01-25-2005, 03:38 PM   #5
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 30
You could also try posting in linux success forum. it seems like a success to me.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Dual Monitors on GeForce 6600GT dual DVI card. monkiidansu Linux - Hardware 1 09-29-2005 02:21 PM
trying to get dual-head monitors working. poiuytrewq Linux - Hardware 4 03-29-2005 05:03 PM
X not working with dual monitors Mahudude Linux - Newbie 2 03-05-2005 01:52 PM
Dual monitors not working, need some help! Duffy Slackware 10 02-06-2005 01:27 PM
Linux Newbie w/ question on Dual monitors DakotaMan2002 Linux - Newbie 2 01-31-2003 02:47 PM


All times are GMT -5. The time now is 02:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration