*BSD News Article 18078


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!wupost!newsfeed.rice.edu!rice!news.Rice.edu!rich
From: rich@Rice.edu (Richard Murphey)
Subject: Re: X dropping characters when usin xdm
In-Reply-To: root@wanderer.nsi.nasa.gov's message of Wed, 7 Jul 1993 12:17:17 GMT
Message-ID: <RICH.93Jul7210835@kappa.Rice.edu>
Lines: 33
Sender: news@rice.edu (News)
Reply-To: Rich-Murphey@Rice.edu
Organization: Department of Electrical and Computer Engineering, Rice
	University
References: <1993Jul3.222820.9549@news.weeg.uiowa.edu> <D>
	<1993Jul4.190704.9506@news.arc.nasa.gov>
	<21cn6h$aa3@hrd769.brooks.af.mil>
	<1993Jul7.121717.24764@news.arc.nasa.gov>
Date: Thu, 8 Jul 1993 03:08:35 GMT

>>>>> In article <1993Jul7.121717.24764@news.arc.nasa.gov>, root@wanderer.nsi.nasa.gov (Michael C. Newell) writes:

>  You do mean that it should be in the X FAQ, right? 

Michael> Why not the X section of the 386BSD FAQ?  It's asked an AWFUL
Michael> lot; the text could be

Michael>   x.x.x  When I run xdm from the console, it keeps losing keystrokes
Michael>          and the shift keys don't always work.  Why?

Michael>          You need to run xdm with the -nodaemon flag.  The reason is
Michael>          xdm normally detaches from the keyboard.  This allows other
Michael>          processes (like getty) to return to reading from the keyboard.
Michael>          A race condition results, where some keystrokes are sent to
Michael>          xdm and others are sent to other processes.  Using the
Michael>          -nodaemon flag causes xdm to stay attached to the keyboard
Michael>          so no other process can use it.

It's already in README.386BSD:

  ...
  Or you can run the X display manager (xdm).  Root can invokes `xdm
  -nodaemon' on the console to start the display manager.  If you would
  rather run xdm on bootup, and add code like the following to your
  /etc/rc.local script.  (If you are using the pccons driver, you must also
  disable logins on the console by removing `vga' from /etc/ttys.)
  
    if [ -x /usr/X386/bin/xdm ]; then
      echo -n ' xdm'; /usr/X386/bin/xdm
    fi
  
I think that covers it.  Let us know if there is something else we
need to cover in the readme... Rich