Page MenuHomeFreeBSD

x11/xtrans: don't unlink existing UNIX sockets
ClosedPublic

Authored by jbeich on May 30 2021, 9:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 21, 1:56 PM
Unknown Object (File)
Sun, Oct 20, 10:21 PM
Unknown Object (File)
Wed, Oct 16, 11:17 PM
Unknown Object (File)
Tue, Oct 15, 1:45 PM
Unknown Object (File)
Mon, Oct 14, 8:21 PM
Unknown Object (File)
Mon, Oct 14, 5:11 AM
Unknown Object (File)
Fri, Oct 11, 6:16 PM
Unknown Object (File)
Wed, Oct 9, 1:54 AM

Details

Summary

Prevents multiple Xorg/Xwayland/Xephyr/etc instances from trampling each other X11 sockets (e.g., /tmp/.X11-unix/X0) that maybe still in use.

PR: 253277
Submitted by: Olivier Certner (based on)

Test Plan

Builds OK:

  • 11.4/12.2/13.0/14.0 aarch64/amd64/i386/armv6/armv7
  • All 19 consumers (via freshports list)

Runtime OK:

  • Xwayland (via sway)
  • Xorg (via startx)

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jbeich created this revision.
jbeich edited the summary of this revision. (Show Details)
  • Deduplicate PORTREVISION bumps

I would like upstream to at least comment on the MR before we merge it into the FreeBSD ports tree.

manu requested changes to this revision.Jul 22 2021, 4:26 PM
manu added a subscriber: manu.

Mark as request changes so it doesn't shows up in phab in "Must Review" category.

This revision now requires changes to proceed.Jul 22 2021, 4:26 PM

I have implemented all necessary stuff on the ConsoleKit and SDDM side to make switching users possible. This change is the last piece of puzzle.

I have implemented all necessary stuff on the ConsoleKit and SDDM side to make switching users possible. This change is the last piece of puzzle.

Go ahead.

This revision is now accepted and ready to land.Sep 1 2023, 8:56 AM
This revision was automatically updated to reflect the committed changes.