Yellow Dog Linux v6.x

TOPIC: Enabling Dual Monitors



Level : Expert

Required Hardware and OS Versions
  • Any YDL supported hardware with dual monitor outputs - PowerStation, G5, etc.
    Note: This procedure is not supported on the Sony PlayStation.
  • Two identical montiors
Before you begin

This procedure requires you to edit the xorg.conf file. The changes made to that file vary depending on a wide variety of factors: type of hardware, version of YDL, type of monitor. Because it is impossible to document every combination of these factors, this HowTo is provided as a guideline only and we will demonstrate the procedure for a PowerStation. This is an expert level configuration and is only recommended for advanced users.



Procedure
  1. Connect the two identical monitors to the system running YDL.
  2. Create a file named xrandr.sh and save it in /etc/X11/xinit/xinitrc.d/. The file should containing the following line:

    	xrandr --output DVI-1 --auto --right-of DVI-0
    	
  3. Edit the xorg.conf file in /etc/X11/. Change the settings as is required by the monitor you are using. For example, in SubSection "Display" within Section "Monitor", set "Depth" to the color depth of the monitor and "Virtual" to the resolution of both monitors combined. The following is provided only as an example. Note that every system is different and, therefore, requires different settings:

    	Section "ServerLayout"
    		Identifier     "X.org Configured"
    		Screen      0  "Screen0" 0 0
    		InputDevice    "Mouse0" "CorePointer"
    		InputDevice    "Keyboard0" "CoreKeyboard"
    	EndSection
    
    	Section "Files"
    		ModulePath   "/usr/lib/xorg/modules"
    		FontPath     "catalogue:/etc/X11/fontpath.d"
    		FontPath     "built-ins"
    	EndSection
    
    	Section "Module"
    		Load  "extmod"
    		Load  "dbe"
    		Load  "glx"
    	#	Load  "dri"
    	EndSection
    
    	Section "InputDevice"
    		Identifier  "Keyboard0"
    		Driver      "kbd"
    	EndSection
    
    	Section "InputDevice"
    		Identifier  "Mouse0"
    		Driver      "mouse"
    		Option	    "Protocol" "auto"
    		Option	    "Device" "/dev/input/mice"
    		Option	    "ZAxisMapping" "4 5 6 7"
    	EndSection
    
    	Section "Monitor"
    		Identifier   "Monitor0"
    		VendorName   "Monitor Vendor"
    		ModelName    "Monitor Model"
    	EndSection
    
    	Section "Device"
    		Identifier  "Card0"
    		Driver      "radeon"
    		VendorName  "ATI Technologies Inc"
    		BoardName   "RV535 [Radeon X1650 Series]"
    		BusID       "PCI:241:0:0"
    	EndSection
    
    	Section "Screen"
    		Identifier "Screen0"
    		Device     "Card0"
    		Monitor    "Monitor0"
    		DefaultDepth 16
    		SubSection "Display"
    			Viewport   0 0
    			Depth     16
    			Virtual 3840 1200
    		EndSubSection
    		SubSection "Display"
    			Viewport   0 0
    			Depth     24
    			Virtual 3840 1200
    		EndSubSection
    	EndSection
    	
  4. Reboot the system. When the system first boots up, the screen will be mirrored on the displays.
  5. Log in. The dual-head will be active after you log in.


This HOWTO was prepared by Aaron Johnson, Fixstars Solutions.



 
          Copyright ® 1999-2010. Fixstars Corporation. All rights reserved.
YDL.net Fixstars Corporation