From nobody Mon Sep 4 14:34:44 2023 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RfWPJ6wc1z4rs9l for ; Mon, 4 Sep 2023 14:34:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RfWPJ4YvTz3CQP for ; Mon, 4 Sep 2023 14:34:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693838084; a=rsa-sha256; cv=none; b=c0sdIUBVoKj50N1lN6NDPOAaAp3RzvVoMzl1IZOCl1sdy5UCnKP8GLZ1EbopvTHKKnVphu XLxljC2fJOZKg79eTpqcdKZ+M/qxnmTJ6I0Y+D8A/uJO8BCWlyXBFBPHefxMsu88CpVOkr dy3+CO7RCun4yJ+4gtXPd371pHu0yl4YX6wp8oZIQZ3rP4SSLj+qYMfJI16jY9umI2YzVj LSjD5sIiHfxXCiJ61SrW/bu8kSneeBjS2/hRGQQWJ+DrxuTxudnjF/HlXVtZSofpBid7NN qCg8RtRDYHFCPiChBU12bZGJH2966QhOC4ZTC0bwHkVY1AjB5fdsTVQtzidzng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693838084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KEpXXZG8B2Ebf+FtbfJH1kgkvUnpWJcJXtTTA1UJdik=; b=DU4jRTRoXskZzh+Ubxpj7JYgwoVMyY5v2+Haqgppha6mAHAdzAHiY40th4utjkHJZG/gul ssuoA6i1spesRAj94GeiX8njlI5A680rEBxUG8zxVpfQwvej44W7hfm3RFtR68WicF9ydU Nefi7pf4rm+IPW7y8fRKZmqnJbHwzmCcAcAy9HVnJL+bmKtQb6s0V++bqD01jAHHkcyW36 p18d0PoQalwDlYijzt26jPJ97lpBrHTiwkiNzxkt0YwZ/H9Yf/d6ZAFdlQSoyTlZY5IyY0 BY6gbT9+jEz0bq19FLNBHib3YAPqAFLeV7je6w/meIBp0kKbFYX9DTZMwK9AQw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RfWPJ3cL2z197G for ; Mon, 4 Sep 2023 14:34:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 384EYiYD056634 for ; Mon, 4 Sep 2023 14:34:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 384EYitc056633 for x11@FreeBSD.org; Mon, 4 Sep 2023 14:34:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 253277] x11/xtrans: Don't unlink existing UNIX sockets => allows multiple X sessions from sddm Date: Mon, 04 Sep 2023 14:34:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: olivier.freebsd@free.fr X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253277 --- Comment #14 from Olivier Certner --- For the record, on "stale" socket files: - Xorg has a signal handler to clean up sockets on abnormal termination. S= o, unless the process is killed with SIGKILL or something else is very wrong, abnormal termination doesn't leave stale sockets. - The automatic display selection ('-displayfd' and no explicit display ID passed) will automatically skip the stale socket and associated display ID = and assign another ID. - Reboot leads to socket cleanup, as Gleb pointed out. That's why I've never had the slightest problem with this patch and why you most probably won't either (unless you love to kill your Xorg and insist on explicitly reusing such a killed display without an intervening reboot). --=20 You are receiving this mail because: You are the assignee for the bug.=