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, Apr 22, 8:08 AM
Unknown Object (File)
Mon, Apr 22, 8:08 AM
Unknown Object (File)
Mon, Apr 22, 8:08 AM
Unknown Object (File)
Mon, Apr 22, 8:08 AM
Unknown Object (File)
Sun, Apr 21, 9:07 PM
Unknown Object (File)
Sat, Apr 20, 12:22 PM
Unknown Object (File)
Sun, Apr 14, 11:45 AM
Unknown Object (File)
Feb 19 2024, 8:20 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.