Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 1996 15:39:27 +0000 ()
From:      Nessus <jandrese@vt.edu>
To:        "Sean J. Schluntz" <schluntz@gromit.pinpt.com>
Cc:        questions@freebsd.org
Subject:   Re: XF86 & fvwm Problem, Help?
Message-ID:  <Pine.BSF.3.91.960906153428.528B-100000@jandrese.async.vt.edu>
In-Reply-To: <2.2.32.19960906185858.00862674@wallace.pinpt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Sep 1996, Sean J. Schluntz wrote:

> Hello, I have XF86_S3 and fvwm running very well with one strange problem.
> Every time it starts and the login and xterm windows open, and every time I
> open another shell I get the follwing error:
> 
> Fatal server error:
> Server is already active for display 0
>         If this server is no longer runing, remove /tmp/.X0-lock
>         and start again.
> 
> Then after a delay (30-50 seconds) I get the normal prompt.
> 
> This happens even after the system has been restarted and no other
> X-Sessions have been started.  The file .X0-lock does not appear when X is
> not running and only appears after I login and start X.  What can I do?
> 
the .X0-lock file is a flag file that XWindows uses to keep from being 
started twice.  What you have probabally done is put startx in your shell 
initalization file (.cshrc for csh, .zshrc for zsh, etc...  Read the 
manpage for your shell).  When you start your Xterms, they execute that 
script and try to start X again.  What you need is to check to see if the 
.X0-lock file exists, and if it doesn't, then run startx; or run startx 
manually from the command line.  

:::::::::::::::::::::::::::. .   .   .   .   ..::::::::::::::::::::::::::::
::     Jason Andresen      :. . . . . . . . . :               Nessus     ::
::     jandrese@vt.edu     :.:.:.:.:.:.:.:.:.::        nessus@vt.edu     ::
 :.........................: Quote of the day :..........................:
If you keep an open mind people will throw a lot of garbage in it.
:::::::::::.:.:.:.:.:.:.:.........................:.:.:.:.:.:.:.:::::::::::




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960906153428.528B-100000>