Bug 12081

Summary: Multiple X server startup woes.
Product: [Retired] Red Hat Linux Reporter: jlavi
Component: XFree86Assignee: Mike A. Harris <mharris>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-12 21:46:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description jlavi 2000-06-11 11:27:45 UTC
Dear Sir,

Could gdm's X server startup have delay mechanism when starting more than
one X server at the same time?

I had difficulties startubg two X servers by gdm. I am using gdm 2,0beta2 
(release 26 on RedHat 6.2).

It seems the problem was two almost simultaneously starting X servers
fighjting with each other. Only one server started, couldn't use keyboard
nor mouse properly and text virtual consoles didn't switch to text mode.
My adapter is S3 968.

On the other hand, I was ablt start two X server from command line or
by first editing gdm and then sending HUP signal gdm.

I kind of solved the problem by delaying the startup by shell wrapper:

In gdm.conf:

  [servers]
  0=/etc/X11/gdm/slowstart.sh /usr/bin/X11/X -bpp 16
  1=/etc/X11/gdm/slowstart.sh /usr/bin/X11/X -bpp 16

In slowstart.sh:

  #! /bin/sh
  if /bin/ps ax | grep -v grep | grep -q 'X.*auth' ; then
    sleep 1
  fi
  exec $*

Comment 1 Havoc Pennington 2001-07-12 21:46:27 UTC
I believe it's an X bug if this doesn't work.