Setting up a second monitor

Daniel Carrera daniel.carrera at zmsl.com
Fri Apr 21 13:00:13 UTC 2006


Anders Karlsson wrote:
> If what you are after is to get Xinerama going across ONE graphics card,
> internal LCD and external CRT (VGA port), the simplest way is thus:

Ok...

> Define two "Device" parts, one containing the line 'Screen 0', the other
> device entry containing the line 'Screen 1'. Screen 0 will reference the
> internal TFT, screen 1 references the external VGA port.

Ok. This is what I did:

# Internal TFT
Section "Device"
	Screen		0
	Identifier	"Inter Corp 82815...."
	Driver		"i810"
	BusID		"PCI:0:2:0"
EndSection

# External VGA
Section "Device"
	Screen		1
	Identifier	"Inter Corp 82815...."
	Driver		"i810"
	BusID		"PCI:0:2:0"
EndSection

> Define the "Monitor" sections that you will use for internal and
> external screens.

I'm confused by this part. How do I distinguish between the two Monitor 
sections? Do I just make up different identifiers? This is what I have now:

Section "Monitor"
	Identifier	"Genetic Monitor"
	Option		"DPMS"
	HorizSync	28-49
	VertRefresh	43-72
EndSection

What should I do with this one? How does this look:

Section "Monitor"
	Identifier	"Internal TFT"
	Option		"DPMS"
	HorizSync	28-49
	VertRefresh	43-72
EndSection
Section "Monitor"
	Identifier	"External Monitor"
	Option		"DPMS"
	HorizSync	28-49
	VertRefresh	43-72
EndSection

> Then define the appropriate "Screen" sections for the
> two device/monitor combinations.

How? This is what I have in mind:

* Make a copy of the current "Screen" section.
* In the first:
   * Change the Monitor to "Internal TFT".
   * Leave the Identifier unchanged, at "Default Screen".
* In the second:
   * Change the Monitor to "External Monitor".
   * Change the Identifier to "Secondary Screen".

Does that look right?

> You now have enough to define the "ServerLayout" section. Mine looks
> like this:
> 
> Section "ServerLayout"
>         Identifier      "default"
>         Screen          0       "screen_0"      0       0
>         Screen          1       "screen_1"      LeftOf  "screen_0"
>         Option          "Xinerama"      "On"
>         #Option         "Clone"         "On"
>         InputDevice     "Generic Keyboard"
>         InputDevice     "Configured Mouse"
> EndSection

Well, it looks like I did something wrong, because it didn't work:

(EE) Error parsing the config file
Fatal server error: no screens found


Help? Here is a sample screen section:

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corp..."
	Monitor		"Internal TFT"
	DefaultDepth	24
	SubSection "Display"
		Depth	1
		Modes	"1024x768" "800x600" "640x480"
	EndSubSection
	...
EndSection

Help?

Cheers,
Daniel.
-- 
      /\/`) http://opendocumentfellowship.org
     /\/_/
    /\/_/   A life? Sounds great!
    \/_/    Do you know where I could download one?
    /




More information about the ubuntu-users mailing list