public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* XWin does not erase lock file when exiting
@ 2021-12-27 23:25 Rodrigo Medina
  2022-01-04 16:17 ` Jon Turney
  0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Medina @ 2021-12-27 23:25 UTC (permalink / raw)
  To: cygwin

Dear Sirs,
When XWin regularly exits, it removes the socket in /tmp/.X11-unix/ and closes
the XWin.?.log file, but it does not erase the file
/tmp/.X11-unix/X?.lock. This file is
owned by the  user and him alone can erase it. The same user can start
XWin again, but another user cannot start XWin. Very annoying
situation when different
users work on the same machine. This problem was not present in the
previous release I was using.
Rodrigo Medina

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

* Re: XWin does not erase lock file when exiting
  2021-12-27 23:25 XWin does not erase lock file when exiting Rodrigo Medina
@ 2022-01-04 16:17 ` Jon Turney
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Turney @ 2022-01-04 16:17 UTC (permalink / raw)
  To: Rodrigo Medina, The Cygwin Mailing List

On 27/12/2021 23:25, Rodrigo Medina wrote:
> When XWin regularly exits, it removes the socket in /tmp/.X11-unix/ and closes
> the XWin.?.log file, but it does not erase the file
> /tmp/.X11-unix/X?.lock. This file is
> owned by the  user and him alone can erase it. The same user can start
> XWin again, but another user cannot start XWin. Very annoying
> situation when different
> users work on the same machine. This problem was not present in the
> previous release I was using.

Thanks for reporting this issue.

This issue was introduced via a patch to xtrans in xserver 1.20.4-1. 
I've updated the patch from upstream, and uploaded xserver 21.1.2-2, 
which should fix this issue.

In this updated version, these lockfile are no longer used, so you can 
simply remove any stale ones which exist.

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

end of thread, other threads:[~2022-01-04 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-27 23:25 XWin does not erase lock file when exiting Rodrigo Medina
2022-01-04 16:17 ` Jon Turney

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).