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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-19-2010, 09:05 PM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 10
Rep:
|
Configuring Xorg.conf on RHEL5 to support Dual Monitors
My Dell Precision Workstation was shipped in 2003 with RH Linux installed (most likely RHEL 4) - though not sure.
At the time, the dual monitors worked by replacing the X86config file with one sent from Dell.
Since, my disk failed and I had to replace the disk and reinstall RH Linux with the shipped disks, RHEL 5.
Now, I can not find X86config; rather, I have been trying to update the Xorg.conf file with no to limited success.
Both monitors are driven off of one Nvidia Quadro FX 1300 videocard. My goal is to get the screen to span both.
Does anyone have a Xorg.conf file that would support this?
Thank you,
Michael
|
|
|
01-20-2010, 12:17 AM
|
#2
|
Member
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Linux MX 23 KDE "Libretto"
Posts: 231
Rep:
|
I have not had 2 monitors on 1 pc for a while, i guess that today's distro should take care of that with a "GUI System Tool" if you have installed your Nvidia driver.
But if you still need to modify your xorg.conf this is an exemple of a xorg.conf i once modified for 2 crt monitors (twinview), it might serve you as an exemple to modify your xorg.conf.
Do not copy and paste (that will not work) you need to modify for your specific hardware.
Look at the "Device" section for the options, specially the "MetaModes".
And the "Screen" section for the virtual display (i added up the width of both monitors) for use side by side.
You will need the nvidia driver installed.
Code:
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "IBM G74"
HorizSync 30-69
VertRefresh 50-120
# 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 "device1"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
Option "NvAGP" "1"
Option "NoLogo" "TRUE"
Option "HWCursor" "TRUE"
Option "CursorShadow" "TRUE"
Option "CursorShadowAlpha" "50"
Option "CursorShadowXOffset" "12"
Option "CursorShadowYOffset" "6"
Option "TwinView" "TRUE"
Option "TwinViewOrientation" "Rightof"
Option "SecondMonitorHorizSync" "30-70"
Option "SecondMonitorVertRefresh" "50-90"
Option "MetaModes" "1280x1024, 1024x768 @1024x1024; 1024x768, NULL"
Option "IgnoreDisplayDevices" "DFP,TV"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 2304 1024
EndSubsection
Subsection "Display"
Depth 15
Virtual 2304 1024
EndSubsection
Subsection "Display"
Depth 16
Virtual 2304 1024
EndSubsection
Subsection "Display"
Depth 24
Virtual 2304 1024
EndSubsection
EndSection
|
|
|
01-22-2010, 12:03 PM
|
#3
|
LQ Newbie
Registered: Jan 2010
Posts: 10
Original Poster
Rep:
|
Update from last - Dual Monitor Headache
1. I found the file from Dell, attached file XF86Config.org and also merged it with the file that I was working on to try and get the dual monitors running, xorg.conf.
2. The filing is the log file from xorg.conf.
any thoughts?
|
|
|
01-22-2010, 12:21 PM
|
#4
|
Member
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64
Rep:
|
First, install the appropriate proprietary nvidia drivers for your card, then install the nvidia utilities, then run nvidia-settings, and you can probably configure twinview from there. Otherwise, you'll need to modify your junk manually. Using Davno's code as an example, this is a minimum of what you would need (of course, fill in the correct values for your system):
Code:
Section "Device"
Identifier "device1"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
Option "TwinView" "TRUE"
Option "TwinViewOrientation" "Rightof"
Option "SecondMonitorHorizSync" "30-70"
Option "SecondMonitorVertRefresh" "50-90"
Option "MetaModes" "1280x1024, 1024x768 @1024x1024; 1024x768, NULL"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Virtual 2304 1024
EndSubsection
EndSection
EDIT: and, of course, all the other sections too, which will look like normal.
Last edited by slightlystoopid; 01-22-2010 at 12:23 PM.
Reason: Clarification
|
|
|
01-22-2010, 03:45 PM
|
#5
|
LQ Newbie
Registered: Jan 2010
Posts: 10
Original Poster
Rep:
|
NVIDIA - Drivers ...etc... on RHEL 5
Thank you for the response. Though, I had previously tried to install the nvidia driver by downloading their package and running their installer. I quickly found that their driver does not work with XEN which is running under RHEL5.
So, I have been using the default driver in RHEL5; e.g. "nv". the "nvidia" driver must be nvidia's and this is not supported on RHEL5 native.
Suggestions on how to proceed?
|
|
|
02-02-2010, 12:49 PM
|
#7
|
LQ Newbie
Registered: Jan 2010
Posts: 10
Original Poster
Rep:
|
Update on RHEL5 Dulal Monitor Xorg.conf Configuration
First, thank you to both of you - I'm closer but no cigar yet... At the moment, I was unable to get the nvidia driver installed - rather I have been working with the NV driver that is provided under the RHEL5 release.
Second, I adopted many of the changes suggested below and it creates under the Enterprise Edition a screen that would span both monitors - though only one of the monitors comes up - i.e. #1 - not sure how to get both up under the server edition - If I can than I have a solution for the server edition which would be ideal -
Now, since i have the workstation edition as well - I decided to load it - now - both monitors come up (great right...) - well the xorg.conf file that works (or at least less one monitor) does not work under the workstation version -
I attached my xorg.conf printout below for review. Suggestions for next steps?
Thank you
M
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
Option "Clone" "off"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Dell Corporation"
ModelName "Dell 2001FP (Analog)"
HorizSync 31.0-80.0
VertRefresh 56.0-76.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
VendorName "nVidia Corporation"
BoardName "nvidia Corporation NV38GL [Quadro FX 1300]"
Driver "nv"
Option "NvAGP" "1"
Option "NoLogo" "TRUE"
Option "TwinView" "TRUE"
Option "TwinViewOrientation" "Rightof"
Option "SecondMonitorHorizSync" "31.0-80.0"
Option "SecondMonitorVertRefresh" "56.0-76.0"
Option "IgnoreDisplayDevices" "DFP,TV"
Option "MetaModes" "1280x1024, 1024x768 @ 1024x1024; 1024x768, NULL"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 2304 1024
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
|
|
|
02-03-2010, 08:24 AM
|
#8
|
LQ Newbie
Registered: Jan 2010
Posts: 10
Original Poster
Rep:
|
Success with Xorg.Conf for Dual Monitors on RHEL5
Thank you for your suggestions. In the end, I had to upgrade my OS to the latest version of RHEL5 WS for 64 bit. The Kernel was not XEN and so I was ultimately able to download and run the NVIDIA Installer to upgrade the driver to NVIDIA 's proprietary driver and run the nvidia-config. This worked beautifully - Thank you for the help-
M
|
|
|
All times are GMT -5. The time now is 04:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|