Subject: Re: Query: 3100 graphics-console cursor patch and X11?
To: maximum entropy <entropy@zippy.bernstein.com>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-pmax
Date: 11/14/1997 13:09:47
	Just a wild stab in the dark, but is xfs being started before
	/tmp is cleared in rc?

		David/abs

   _.oXo._   Too complex to explain, too simplistic to admit.   _.oXo._


On Fri, 14 Nov 1997, maximum entropy wrote:

> >From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
> >[entropy said:]
> >>First an unrelated problem:  if I start xfs automatically (xfs=YES
> >>/etc/rc.conf), the system freezes when I start X.  If I start xfs
> >>manually (xfs &) right before starting X, it works just fine.
> >
> >Could you please send me some info from right after you boot
> >but before starting X:
> >
> >   * output of  ps -auxww | grep  xfs
> 
> root       215 12.0  0.8   112  112 D0  R+   12:37PM    0:00.22 grep xfs 
> root       185  0.0  6.4  1004  904 D0- I    12:31PM    0:05.14 xfs 
> 
> The only thing that looks vaguely suspicious to me is that xfs's
> controlling terminal was revoked.
> 
> >   * output of netstat -Aa (look for port 7100)
> 
> c047e200 tcp        0      0  *.7100             *.*                LISTEN
> c047ed00 stream      0      0 c0481080        0        0        0 /tmp/.font-unix/fs7100
> 
> >   * contents of /usr/X11R6/lib/X11/fs/fs-errors
> 
> [The file is empty.]
> 
> -rw-r--r--  1 root  wheel  0 Nov 14 12:31 /usr/X11R6/lib/X11/fs/fs-errors
> 
> Here is my startx (comments and blank lines elided to save space).
> remember, this works fine if I "xdm &" then "startx" manually:
> 
> userclientrc=$HOME/.xinitrc
> userserverrc=$HOME/.xserverrc
> sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc
> sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc
> clientargs=""
> serverargs=""
> if [ -f $userclientrc ]; then
>     clientargs=$userclientrc
> else if [ -f $sysclientrc ]; then
>     clientargs=$sysclientrc
> fi
> fi
> if [ -f $userserverrc ]; then
>     serverargs=$userserverrc
> else if [ -f $sysserverrc ]; then
>     serverargs=$sysserverrc
> fi
> fi
> whoseargs="client"
> while [ "x$1" != "x" ]; do
>     case "$1" in
> 	/''*|\.*)	if [ "$whoseargs" = "client" ]; then
> 		    clientargs="$1"
> 		else
> 		    serverargs="$1"
> 		fi ;;
> 	--)	whoseargs="server" ;;
> 	*)	if [ "$whoseargs" = "client" ]; then
> 		    clientargs="$clientargs $1"
> 		else
> 		    serverargs="$serverargs $1"
> 		fi ;;
>     esac
>     shift
> done
> xinit $clientargs -- $serverargs -fp tcp/localhost:7100
> 
> I also tried xfs=YES and xdm=YES in rc.conf, commented out console in
> ttys, rebooted.  Nothing interesting happens -- the disk grinds a bit
> and then it just sort of stops.
> 
> Cheers,
> entropy
> 
> --
> entropy -- it's not just a good idea, it's the second law.
>