From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: XWayland, /tmp/.X11-unix Date: Mon, 26 Mar 2018 13:18:26 +0200 Message-ID: <87efk7jda5.fsf@fastmail.com> References: <87po3xava2.fsf@elephly.net> <0040efaf-92d4-cd6c-e844-1c9161dc7ffa@freenet.de> <87k1tzji57.fsf@fastmail.com> <9e72a608-299f-217a-6447-b9b843774d22@freenet.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0Q92-0002fU-4f for guix-devel@gnu.org; Mon, 26 Mar 2018 07:18:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0Q8z-0005ph-1K for guix-devel@gnu.org; Mon, 26 Mar 2018 07:18:32 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:46963) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0Q8y-0005p4-PR for guix-devel@gnu.org; Mon, 26 Mar 2018 07:18:28 -0400 In-Reply-To: <9e72a608-299f-217a-6447-b9b843774d22@freenet.de> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: t_w_@freenet.de, Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thorsten Wilms writes: > On 26.03.2018 11:33, Marius Bakke wrote: >> It could be done with a "profile hook" in (guix profiles). Although for >> the common case I suppose this will be done by a display manager? > > But then all X11-supporting display managers would have to care about it. > > According to answers in > https://unix.stackexchange.com/questions/196677/what-is-tmp-x11-unix > /tmp/.X11-unix/ is the directory where any X11 server will create the=20 > unix domain socket X0. > > One answer implies that is not necessarily the only way an X11 server=20 > may communicate with clients on the same machine. > > `/gnu/store: grep -iRs X11-unix` only showed results caused by my own=20 > simple-service, matches in binary files and a comment in a=20 > slim-sigusr1.patch: > "The problem was that SLiM doesn't pay attention to SIGUSR1. So in=20 > practice, if X starts slowly, then SLiM gets ECONNREFUSED a couple of=20 > time on /tmp/.X11-unix/X0, then goes on trying to connect to=20 > localhost:6000, where nobody answers; eventually, it times out and tries= =20 > again on /tmp/.X11-unix/X0, and finally it shows up on the screen." > > I would think that something must already take care of /tmp/.X11-unix/=20 > for an operating-system configuration using plain X11? Interesting. I assumed SLiM created it, but could not find it with 'grep'. Maybe libx11? In any case it should be safe to add an activation script that creates /tmp/.X11-unix on GuixSD. I think it can be part of %desktop-services, or maybe even %base-services. Would you like to try it? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlq41wIACgkQoqBt8qM6 VPobiAgAgmh6ljJ/UYeRUmodXLMuHoki5Lvv69AeLePzm1l68IOrWKyhCRh2EKRr +DIVVrg+STMEFOKm2nJ5XhAv1VZH866zEqe5wxcBnSgxHLw1ChqxTB9R6PFqcn44 /4ZW5L/7g7kLeFvCNjuu9ZUPxUnkTlmyB4fg/cbqk/eAZXIdlFC0POD0OXXCNH1O Oa+acf27bFPhaCfCQO/KJnKOEL546D1WMO5r/5aHsJuERjZTUhFTkRnrFhAFwUQY /H4uovktStWur8m701JyZLkQFSdkSfv0anL1ccOEaSCQTfAmw9xQV3WaC+J3Uolj sKdQOBI52V8bxlJuJWXI7DDvJwoVgQ== =JRl4 -----END PGP SIGNATURE----- --=-=-=--