[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dual head, xorg and -sharevts



Hello,

I would like to have 2 independent X on which I can have a normal
desktop on the fisrt one (called D) and on the second one with Mythtv
(called M). I would like to be able to restart my server D without
interfering with my server M and I would like that both display
something different at the same time.
So I tried to setup xorg 6.9 to run those 2 instances with the new arg
-sharevts but I failed.

Attached my xorg.conf and logs.
Here is how I launched the both X :
Server D with gdm :
[....]
# Definition of the standard X server.
[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X1 -dpi 96 -audit 0 :0 vt7 -sharevts
flexible=true

and server M is launched via a small script from a tty :
#!/bin/sh
export DISPLAY=:1.0
X0 :1 -dpi 96 -nolisten tcp -novtswitch -sharevts -layout mythtv vt7 &
sleep 4
xclock &
ratpoison &
sleep 10
kill `ps aux | grep 'X0 :1' | head -1 | cut -d' ' -f6`

When server D is launched, everything is fine. When I launched server
M while D is running, the server D's display freeze until server M
exits.

X0 and X1 are links to /usr/X11R6/bin/X
My keyboard is a ps/2 one and my mouse is USB.
Mythtv does not require a keyboard nor a mouse, juste a remote control.
Kernel 2.6.15.2, libc6 2.3.5-12.1, xorg 6.9.0.dfsg.1-4
my sources.list : deb ftp://ftp.uk.debian.org/debian unstable main

I hope I post in the correct list. excuse me if I'm wrong.

Best regards
Guillaume
# xorg.conf (Xorg X Window System server configuration file)
#

Section "Files"
	#FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
#	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"v4l"
	Load	"vbe"
EndSection

Section "ServerFlags"
  Option "AllowMouseOpenFail" "yes"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard2"
	Option		"Device"	"/dev/input/event1"
        Driver          "evdev"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "microsoft"
        Option          "XkbLayout"     "fr"
	Option    	"AutoRepeat" 	"500 30"
EndSection

Section "InputDevice"
	Identifier 	"Fake Keyboard"
	Driver     	"void"
	Option		"CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier	"Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"	"/dev/input/mice"
	Option		"ZAxisMapping"	"4 5"
EndSection

Section "InputDevice"
	Identifier	"Fake Mouse"
	Driver		"void"
	Option		"CorePointer"
EndSection

Section "Device"
	Identifier	"Ati 9600 Pro"
	#Driver		"fglrx"
  Driver   "ati"
	BusID		"PCI:1:0:0"
  Option    "sw_cursor"
EndSection

Section "Device"
	Identifier	"Ati Mach 64"
  Driver   "ati"
	BusID		"PCI:0:14:0"
  Option    "sw_cursor"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	Option		"DPMS"
	HorizSync	30-70
	VertRefresh	50-160
	#HorizSync	30-95
	#VertRefresh	50-160
  Modeline "768x576" 53.18 768 800 1000 1032 576 586 594 605
  # VGA @ 100Hz
  Modeline "640x480" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
  # SVGA @ 100Hz
  Modeline "800x600" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
  # XVGA @ 100Hz
  Modeline "1024x768" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
EndSection

Section "Monitor"
	Identifier	"TV"
	HorizSync	30-95
	VertRefresh	50-160
  Modeline "768x576" 53.18 768 800 1000 1032 576 586 594 605
  # VGA @ 100Hz
  Modeline "640x480" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
  # SVGA @ 100Hz
  Modeline "800x600" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
  # XVGA @ 100Hz
  Modeline "1024x768" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Ati 9600 Pro"
	Monitor		"Monitor0"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"TV"
	Device		"Ati Mach 64"
	Monitor		"TV"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard2"
	InputDevice	"Mouse"
EndSection

Section "ServerLayout"
	Identifier	"mythtv"
	Screen		"TV"
	InputDevice	"Fake Keyboard"
	InputDevice	"Fake Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection




Attachment: Xorg.1.log
Description: Binary data

Attachment: Xorg.0.log
Description: Binary data


Reply to: