From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Wilms Subject: Re: XWayland, /tmp/.X11-unix Date: Mon, 26 Mar 2018 12:45:23 +0200 Message-ID: <9e72a608-299f-217a-6447-b9b843774d22@freenet.de> References: <87po3xava2.fsf@elephly.net> <0040efaf-92d4-cd6c-e844-1c9161dc7ffa@freenet.de> <87k1tzji57.fsf@fastmail.com> Reply-To: t_w_@freenet.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0PfL-00015q-FI for guix-devel@gnu.org; Mon, 26 Mar 2018 06:47:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0PfI-0000gy-Cr for guix-devel@gnu.org; Mon, 26 Mar 2018 06:47:51 -0400 Received: from mout0.freenet.de ([2001:748:100:40::2:2]:33738) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0PfI-0000gh-5d for guix-devel@gnu.org; Mon, 26 Mar 2018 06:47:48 -0400 Received: from [195.4.92.141] (helo=mjail1.freenet.de) by mout0.freenet.de with esmtpa (ID t_w_@freenet.de) (port 25) (Exim 4.90_1 #2) id 1f0PfF-0006oo-IQ for guix-devel@gnu.org; Mon, 26 Mar 2018 12:47:45 +0200 Received: from [::1] (port=51518 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1f0PfF-0002cP-CH for guix-devel@gnu.org; Mon, 26 Mar 2018 12:47:45 +0200 Received: from mx3.freenet.de ([195.4.92.13]:35384) by mjail1.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1f0Pcx-0000Ke-Oy for guix-devel@gnu.org; Mon, 26 Mar 2018 12:45:23 +0200 Received: from p200300e4f3c8550002e029fffe32e625.dip0.t-ipconnect.de ([2003:e4:f3c8:5500:2e0:29ff:fe32:e625]:54986) by mx3.freenet.de with esmtpsa (ID t_w_@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.90_1 #2) id 1f0Pcx-0005KW-Jz for guix-devel@gnu.org; Mon, 26 Mar 2018 12:45:23 +0200 In-Reply-To: <87k1tzji57.fsf@fastmail.com> Content-Language: en-GB 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: Guix-devel 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 unix domain socket X0. One answer implies that is not necessarily the only way an X11 server may communicate with clients on the same machine. `/gnu/store: grep -iRs X11-unix` only showed results caused by my own simple-service, matches in binary files and a comment in a slim-sigusr1.patch: "The problem was that SLiM doesn't pay attention to SIGUSR1. So in practice, if X starts slowly, then SLiM gets ECONNREFUSED a couple of time on /tmp/.X11-unix/X0, then goes on trying to connect to localhost:6000, where nobody answers; eventually, it times out and tries 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/ for an operating-system configuration using plain X11? -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/