Configuring Xorg.conf on RHEL5 to support Dual Monitors
Linux - NewbieThis 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.
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.
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.
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.
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):
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.
There's an article/howto on patching the nvidia driver here, though I'm not sure if the linked to patch is the most recent, hence the previous link: http://en.opensuse.org/Use_Nvidia_driver_with_Xen
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
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-
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.