public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Xorg server always starting up on DISPLAY 3.0
@ 2015-03-27 17:25 Jim Reisert AD1C
  2015-03-30 14:35 ` Jon TURNEY
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Reisert AD1C @ 2015-03-27 17:25 UTC (permalink / raw)
  To: cygwin

I'm running Cygwin/X server Version 1.17.1.  For the last couple of
weeks, it's always starting on DISPLAY 3.0:

    DISPLAY=:3.0

I can't figure out how to get it back to 0.0.  There must be some
piece of state somewhere that I can't find.

Thanks - Jim

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Xorg server always starting up on DISPLAY 3.0
  2015-03-27 17:25 Xorg server always starting up on DISPLAY 3.0 Jim Reisert AD1C
@ 2015-03-30 14:35 ` Jon TURNEY
  2015-04-04 20:23   ` Jim Reisert AD1C
  0 siblings, 1 reply; 3+ messages in thread
From: Jon TURNEY @ 2015-03-30 14:35 UTC (permalink / raw)
  To: Jim Reisert AD1C, cygwin

On 27/03/2015 15:48, Jim Reisert AD1C wrote:
> I'm running Cygwin/X server Version 1.17.1.  For the last couple of
> weeks, it's always starting on DISPLAY 3.0:
>
>      DISPLAY=:3.0
>
> I can't figure out how to get it back to 0.0.  There must be some
> piece of state somewhere that I can't find.

You have stale lock files /tmp/.X0-lock etc.

Unfortunately startx(|win) is not as smart as it should be about 
detecting that the process owning the lock file is no longer running.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Xorg server always starting up on DISPLAY 3.0
  2015-03-30 14:35 ` Jon TURNEY
@ 2015-04-04 20:23   ` Jim Reisert AD1C
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Reisert AD1C @ 2015-04-04 20:23 UTC (permalink / raw)
  To: cygwin

On Mon, Mar 30, 2015 at 8:17 AM, Jon TURNEY wrote:

> You have stale lock files /tmp/.X0-lock etc.
>
> Unfortunately startx(|win) is not as smart as it should be about detecting
> that the process owning the lock file is no longer running.

That was indeed the problem.  I didn't find them because my brain was
stuck looking for them in /var/log/...

Wouldn't it be nice if Cygwin cleaned up the /tmp directory each time
the computer is re-booted?  I don't know how that would work in real
life, however.

- Jim

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-04 20:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-27 17:25 Xorg server always starting up on DISPLAY 3.0 Jim Reisert AD1C
2015-03-30 14:35 ` Jon TURNEY
2015-04-04 20:23   ` Jim Reisert AD1C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).