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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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?
# 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-