LinuxQuestions.org
Help answer threads with 0 replies.
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 05-08-2004, 12:48 PM   #1
I-sable
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
How to use 2 monitors on Mandrake 9.1?


Hi everyone !!

I'm using an Asus v8420 graphics card running on Mandrake 9.1 and I wanted to know if anyone could tell me how do I go about using two monitors?

Thanks in advanced.
 
Old 05-08-2004, 01:35 PM   #2
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
I had asked the same question a while ago, when i used Mandrake 9.2.
Somebody posted me the following. You can find it in /etc/X11. The file is named XF86Config. Pay attention to the 2 "Monitor" sections, the 2 "Screen" sections and the 2 "Device" sections. Also see the "Layout" section, where you define, where you place the desktops (one on top of the other, one next to the other, etc). I hope this helps.
-->Unfortunately i couldn't make it work. (I wrote the file inaccurately and the system went in "only command line" mode when i rebooted.) Fortunately i had kept a backup XF86Config (although i think Linux does this on its own, when you save changes in a file), I changed its name from XF86ConfigBackup to XF86Config from the command line, I rebooted and everything went back to the beginning.

Here XF86Config:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
#Option "Xinerama"
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "dri" # direct rendering
EndSection

Section "DRI"
Mode 0666
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbCompat" ""
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "MouseManPlusPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor0"
VendorName "Plug'n Play"
ModelName "Dell M770"
HorizSync 30-69
VertRefresh 48-160

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Gateway EV700"
HorizSync 30-69
VertRefresh 48-160

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device0"
VendorName "Matrox Graphics, Inc."
BoardName "Matrox Millennium G400 DualHead"
Driver "mga"
VideoRam 32768
Option "DPMS"
Screen 0
EndSection

Section "Device"
Identifier "device1"
VendorName "Matrox Graphics, Inc."
BoardName "Matrox Millennium G400 DualHead"
Driver "mga"
VideoRam 32768
Option "DPMS"
Screen 1
EndSection

Section "Screen"
Identifier "screen0"
Device "device0"
Monitor "monitor0"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Option "Xinerama"
Screen "screen0" LeftOf "screen1"
EndSection
 
Old 05-10-2004, 06:43 PM   #3
I-sable
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Nocturna.

But I got cmd line too. I think because my XF86config file looked slightly different from the file you gave me. Also I don't know if this could cause a problem but I'm using a generic module that linux loaded on installation.
So i'm still trying. I'm looking through the file to see if I missed anything.
 
  


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
Dual Monitors in Mandrake 10.1+ vcore Linux - Hardware 7 05-25-2005 04:55 PM
dual monitors in mandrake 10 bcf2 Linux - Newbie 16 11-10-2004 07:13 PM
Mandrake 10.1 - Dual Monitors. How? Micro420 Mandriva 1 10-31-2004 01:00 PM
Dual Monitors on Mandrake 10 Phoenix11 Mandriva 11 06-10-2004 05:08 PM
How to setup two monitors on Mandrake 9.2? kpachopoulos Linux - Hardware 2 02-28-2004 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration