How to Setup dual screens on Linux

Beta

Banned
Joined
Apr 23, 2006
Messages
348
Reaction score
0
How to Setup dual screens on Linux for Nvidia Graphics Cards

This is for all you Ubuntu guys, pretty much same for Red Hat or Ubuntu chaps though.
Here is the dual monitor setup in brief, I do it all the time with my dual 19 wides. It does not matter if it's one DVI one VGA, or two DVI etc etc.

Install OS on one monitor like usual.
Install nvidia drivers( newly available in the administration subsection in the top menu) via synaptic package manager or apt-get, whichever is comfortable.
Restart PC

For Ubuntu: "sudo nvidia-settings" in a terminal window
For other: "su" to root and then "nvidia-settings" in a terminal window.
This command launches the nvidia-settings program.
The key is doing this as root, so that the settings stay changed when we restart, performing this as a normal user would not make the settings stick after a restart, which sucks.

Under "X-Server Display-Configuration" menu, click on your unused monitor in the small monitors graphic showing which monitors are detected, then click Configure, then click the TwinView bullet-select OK.

Then select "right-of" or "left-of" or "above" for positioning of new screen and leave the rest of the options on "auto", select apply and then save configuration and it might look to be out of position slightly but TRUST ME, after restarting your X-Server(ctrl alt backspace) or fully restarting your pc("sudo init 6") you will have a spare monitor to the right or left-of completely at your disposal, you can drag videos, folders, web pages across to.

Now it's time for those dual wallpapers!
Time taken to achieve: 4-5 mins
 
Last edited:
Be aware that the dual screen ability is a function of the display driver, hence the procedure will be different if you have a different display adapter.

At work I have a Radeon 7000 with two 19" panels (1280x1024 each). On this card there are two options - Xinerama and FBmerge (both done within xorg.conf). Xinerama has the downside of breaking hardware 3D acceleration on the radeon driver (not the fglrx driver for the newer radeons). FBmerge still honours the Xinerama extentions, doesn't lose 3D, but not all software treats it as two separate screens, for example if I make a VMware session full screen, it will take over both screens and put the display in the middel of the two, so it's split over both screens.
 
Top
Sign up to the MyBroadband newsletter
X