LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-04-2005, 03:38 AM   #1
abrb220
Member
 
Registered: Jul 2003
Location: Roodepoort South Africa
Distribution: Redhat / Suse
Posts: 39

Rep: Reputation: 15
dual head , multi monitor setup on redhat 4


'ello.
I am running redhat advanced server 4 on my Toshiba Satellite laptop.
I am trying to setup desktop spanning, but cannot for the life of me get it to work.

Is the anyone out there with a sample xorg.conf file that I can use?

I have tried to use the system-config-display script supplied by redhat but still no luck.

Cheers
 
Old 05-04-2005, 04:21 AM   #2
clearer
LQ Newbie
 
Registered: Feb 2005
Location: Denmark
Distribution: Fedora 27
Posts: 17

Rep: Reputation: 0
Under Serverlayout you need
Code:
Xinerama "On"
Clone "off"
 
Old 05-04-2005, 05:01 AM   #3
abrb220
Member
 
Registered: Jul 2003
Location: Roodepoort South Africa
Distribution: Redhat / Suse
Posts: 39

Original Poster
Rep: Reputation: 15
Check.

Here is my "ServerLayout" section :
Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
option "Clone" "off"
EndSection

Second monitor still a no-show...
 
Old 05-04-2005, 10:54 AM   #4
clearer
LQ Newbie
 
Registered: Feb 2005
Location: Denmark
Distribution: Fedora 27
Posts: 17

Rep: Reputation: 0
Looks fine to me.

you have a laptop right? I'm guessing you only use Xinerama when you have a secondary monitor hooked.
Does your gpu support multi-head? I.e. can you get a clone working?

Do you have two monitors AND two graphics cards configured in xorg.conf?
better yet, can you post a copy of xorg.conf?
 
Old 05-05-2005, 02:22 AM   #5
abrb220
Member
 
Registered: Jul 2003
Location: Roodepoort South Africa
Distribution: Redhat / Suse
Posts: 39

Original Poster
Rep: Reputation: 15
I cannot get the desktop to clone either.
I have a laptop yes, with and external crt monitor hooked up to screen port. So now I am trying to clone or span the desktop between the laptop lcd and the external crt monitor. Make sense?If I use the function key "fn" and F5 I can swop between the crt monitor and my lcd laptop display. I can span the desktops when I boot into my windows partition, but I want to trash that partition...
My xorg.conf was written by the system-config-display script.
Here is my xorg.conf :
##########################################################
# Xorg configuration created by system-config-display

Section "ServerLayout"

# Screen 0 "Screen0" LeftOf "Screen1"
# Screen 1 "Screen1" 0 0
#InputDevice "Synaptics" "AlwaysCore"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "on"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1024x768"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor 1024x768"
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel 852"
EndSection

Section "Device"

# Screen 1
Identifier "Videocard1"
Driver "i810"
VendorName "Videocard Vendor"
BoardName "Intel 852"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
##########################################################

Maybe back up your file and try mine if you can?
 
Old 05-05-2005, 02:42 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I have an nvidia chip, so some of the options may be different. However, parts of my XF86Config may be of use to you.

Code:
Section "Monitor"
  Option       "CalcAlgorithm" "CheckDesktopGeometry"
  DisplaySize  320 240
  HorizSync    28-82
  Identifier   "Monitor[1]"
  ModelName    "1280X1024@60HZ"
  Option       "DPMS"
  VendorName   "--> LCD"
  VertRefresh  40-60
  UseModes     "Modes[1]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1280x1024" 157.50 1280 1344 1504 1728 1024 1025 1028 1072
EndSection

Section "Modes"
  Identifier   "Modes[1]"
  Modeline 	"1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066
  Modeline 	"1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
  Modeline 	"640x480" 23.06 640 656 720 800 480 481 484 497
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "640x480" 
  EndSubSection
  Device       "Device[1]"
  Identifier   "Screen[1]"
  Monitor      "Monitor[1]"
EndSection


Section "Device"
  BoardName    "GeForce FX 5700"
  BusID        "1:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Option       "IgnoreEDID"
  Screen       0
  VendorName   "NVidia"
EndSection

Section "Device"
  BoardName    "GeForce FX 5700"
  BusID        "1:0:0"
  Driver       "nvidia"
  Identifier   "Device[1]"
  Option       "IgnoreEDID"
  Screen       1
  VendorName   "NVidia"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
  Screen       "Screen[1]" LeftOf "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection
This is for my Desktop, however, I am using an LCD display. I used the gtf command to generate the modelines. On my laptop, I had to use it to generate a modeline for 1024x800 resolution. I don't use spanning. Both displays are independent. On some laptops, the second screen can be either the CRT output or the S-Video video output.

As an interesting side note, and perhaps some help, previously on my laptop, if I would start the X server, the virtual terminal outputs would be scrambled after that, even after logging out of KDE. (This is with the laptop) I found out by accident that the S-Video video output would display fine. So I was able to make changes when my Regular screen wasn't set right, by editing the config using the S-Video input on my television.
 
Old 05-05-2005, 07:32 AM   #7
clearer
LQ Newbie
 
Registered: Feb 2005
Location: Denmark
Distribution: Fedora 27
Posts: 17

Rep: Reputation: 0
I have two or three things I find odd - both related to the same section.

In your second Device you have the screen marked as a note - try unmarking it. Also your BusID is set to PCI:0:2:0 - try changing that to PCI:1:0:0

sum of it would be:
Code:
##########################################################
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier	"Multihead layout"
	Screen 0	"Screen0" 		LeftOf "Screen1"
	Screen 1	"Screen1"		0 0
	InputDevice	"Mouse0"		"CorePointer"
	InputDevice	"Keyboard0"		"CoreKeyboard"
	Option		"Xinerama"		"off"
	Option		"Clone"			"on"
EndSection

Section "Files"
	RgbPath		"/usr/X11R6/lib/X11/rgb"
	FontPath	"unix/:7100"
EndSection

Section "Module"
	Load		"dbe"
	Load		"extmod"
	Load		"fbdevhw"
	Load		"glx"
	Load		"record"
	Load		"freetype"
	Load		"type1"
	Load		"dri"
EndSection

Section "InputDevice"
	Identifier	"Keyboard0"
	Driver		"kbd"
	Option		"XkbModel"		"pc105"
	Option		"XkbLayout"		"gb"
EndSection

Section "InputDevice"
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"Protocol"		"IMPS/2"
	Option		"Device"		"/dev/input/mice"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"yes"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	VendorName	"Monitor Vendor"
	ModelName	"LCD Panel 1024x768"
	HorizSync	31.5 - 48.5
	VertRefresh	40.0 - 70.0
	Option		"dpms"
EndSection

Section "Monitor"
	Identifier	"Monitor1"
	VendorName	"Monitor Vendor"
	ModelName	"Monitor 1024x768"
	HorizSync	31.5 - 57.0
	VertRefresh	50.0 - 70.0
	Option		"dpms"
EndSection

Section "Device"
	Identifier	"Videocard0"
	Driver		"i810"
	VendorName	"Videocard vendor"
	BoardName	"Intel 852"
EndSection

Section "Device"
	Screen		1
	Identifier	"Videocard1"
	Driver		"i810"
	VendorName	"Videocard Vendor"
	BoardName	"Intel 852"
	BusID		"PCI:1:0:0"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"Videocard0"
	Monitor		"Monitor0"
	DefaultDepth	24

	SubSection "Display"
		Viewport	0 0
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection

	SubSection "Display"
		Viewport	0 0
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier		"Screen1"
	Device			"Videocard1"
	Monitor			"Monitor1"
	DefaultDepth		24

	SubSection "Display"
		Viewport	0 0
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection

# This was added since I find it odd that you aren't using 24 bit colors on both displays. 
# If you aren't able to get things working with this config, try setting DefaultDepth for this Screen to 16
	SubSection "Display"
		Viewport	0 0
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection

EndSection

Section "DRI"
	Group	0
	Mode	0666
EndSection
##########################################################
Also, I added a 24 bit entry for your secondary monitor - It properbly doesn't do anything, but if this config doesn't work, try setting the default depth on both screens to 16.
 
Old 01-01-2007, 12:33 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
For me on a laptop with a single GPU. It apparently has multihead support. Although there's no DRI if you use it.

On the server layout.

Option "Xinerama" "on"
Option "Clone" "off"

Although I found that if I comment out all of the multiple head / monitor configurations, it'll do clone mode with a virtual desktop on the smaller screens by default.

What exactly are you trying to do? What distro, kernel, card, driver, blah blah blah.

I tend to grab my modes out of the /var/log/Xorg.0.log log file. Noting that the open radeon driver has more modes supported than the closed fglrx driver. And that neither offers DRI with a xinerama setup. But I've got a low end ATI card on my cheap < $400 laptop.

Also you can manually setup a virtual setting with Virtual 1280 800 in proximity of your Viewport 0 0 line for Section "Screen". Replacing the resolution specs accordingly.

In my experience most cards support most things in 16 bit colors. Although my experiece with this particular ATI card is that modes other than 24 bit colors don't even give a viewable screen. Although the radeon driver works in other color modes. But not with DRI for this chipset (r400). Also, going the xinerama route seems to expose all of the quirky bugs in the closed drivers. Getting the most current driver is probably a good idea if going that route.

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Head/Monitor Setup on Dell C610 dibblethewrecke Linux - Hardware 0 07-26-2005 04:45 PM
Multi-monitor Issues on RH9, Geforce 4 Ti Dual Head + TNT2 Single Head the letter b Linux - Newbie 3 12-04-2004 11:23 PM
Dual head (monitor) and multiple users setup in Fedora Core 2 the theorist Fedora 0 06-03-2004 11:32 AM
Dual Head/Monitor Setup MultiMike Linux - General 1 06-03-2004 07:47 AM
Dual head second monitor resolution problem ATI Radeon Mobility 7500 Redhat 9 kragemp3 Linux - Hardware 0 05-06-2004 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration