How To Setup Dual Monitors on Linux / Fedora Core
By Angsuman Chakraborty, Gaea News NetworkSunday, June 3, 2007
Linux comes with automatic setup for dual-monitors like windows. However I found the gnome applet rather buggy and unusable. If you have been lucky in using it (look in System->Administration->Display) then you do not need to read further. However most likely you would still want to glance over the super simple setup for dual monitors on Linux / Fedora Core.
The first item in your list should be to get a dual-monitor capable graphics card. There are cheap video cards available from nVidia which provides a VGA and DVI output. I used GeForce 6200 LE card from nVidia with 256 MB RAM which provides for dual monitors with a VGA and DVI output. I had to use a DVI to VGA converter to attach the second monitor. It uses PCI Express slot. The following discussion will assume that you are using some dual display capable nVidia card for your dual monitor display.
The computer will automatically use the external graphics when available, instead of the in-built graphics card. You may also be able to change it in your BIOS setting. I have the setting automatically configured properly in my Intel 965 RY mainboard.
Please ensure that you are using the i686 kernel instead of i586 kernel as is often mistakenly configured by Anaconda installer. Please follow the guide for how and why to install i686 kernel on Fedora Core / Linux in 7 simple steps.
Linux ships by default with nv grahics driver which works very poorly with nVidia card. You must replace it with nVidia driver. Please follow the excellent guide to install nVidia graphics driver on Linux / Fedora core in 5 simple steps.
Open /etc/X11/xorg.conf and add, if not already present, Option "TwinView" in Device section. That is all it takes to enable TwinView, a nVidia technology to transparently enable dual monitor display in Linux within a single X-Window. This is different from Xinerama in that with Xinerama you will have the two screens in two separate X-windows. TwinView is simpler, faster and the recommended option.
Note: Alternatively, and in a simpler way, you can setup TwinView from Applications->System Tools->NVIDIA Display Settings
Reboot or restart your X-Window and you are done. Your dual display should be recognized and everything displayed correctly. You can drag one of your panel to the other window.
BTW: You can also easily add a third monitor to your dual-monitor display by using any old laptop to create a cheap triple-monitor display.
Dual-monitor is must for software development and is strongly recommended for any developer. Proponents of dual monitor also includes Bill Gates. I think dual-monitor has at least boosted my productivity by 20% or more.
Tags: How, Why
March 18, 2010: 4:14 pm
thank goodness for Linux. Since the passing of Windows XP we have needed to buy external equipment to span displays. Since then in protest I have been dual booting Ubuntu with Windows 7. I still hold out hope that a decent software fix will present itself. I don’t mean Eyefinity from ATI either. |
Vicky |
January 27, 2010: 3:57 pm
Dual screen setup in linux, why are crt0 and crt1 reversed compared to Windows (2000,XP,Vista,7)? |
November 24, 2008: 12:20 pm
Thanks. > If you want I can link your article. |
November 24, 2008: 12:53 am
Thanks a lot for the tips! But as you stated in the beginning of the srticle, sometimes it doesn’t work at it should. For this reason, for my setup, I decided to use the “unused” runlevel 4, to act as an hardware profile. In this way using two xorg.conf file, I can switch, during the boot time, to the setup I need. This way it’s useful also in other situations, like you are, or not, docked with a laptop. If you like it, this is the link to the brief article I wrote: https://antenore.blogspot.com/2008/11/hardware-profiles-in-linux-dual-display.html If you want I can link your article. Good work!!! |
Вася |
June 27, 2007: 7:35 am
The integrated card shouldn’t be used when you have an external card. You just have to use an external card with dual heads. Use the 6200 PCIe card for dual display. |
Payatronico |
June 6, 2007: 8:47 am
Good work but, what happens if you have two cards of video?, I have a card nVidia 6100 integrated and a card 6200 in PCIe and I can’t make work both monitors |
June 4, 2007: 7:34 pm
> laptop as 3rd monitor : do you need to add another PCI card in order to be able to drive the monitor display ? No, it is driven by software. Check the link in the post for full details. You can also use the technique to inexpensively setup dual-monitor. > Do you provide dual monitors for other employees in your company as well ? I provide dual-monitors for key employees currently. Working on to include others too. |
June 3, 2007: 2:40 pm
hi Angsuman, useful post. laptop as 3rd monitor : do you need to add another PCI card in order to be able to drive the monitor display ? 20% improvment in productivity : 20% increase for an upfront investment of a few hundred dollars is not bad Do you provide dual monitors for other employees in your company as well ? Thank you, BR, |
Dual Monitor Fan