From: Marius Bakke <mbakke@fastmail.com>
To: t_w_@freenet.de, Guix-devel <guix-devel@gnu.org>
Subject: Re: XWayland, /tmp/.X11-unix
Date: Mon, 26 Mar 2018 13:18:26 +0200 [thread overview]
Message-ID: <87efk7jda5.fsf@fastmail.com> (raw)
In-Reply-To: <9e72a608-299f-217a-6447-b9b843774d22@freenet.de>
[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]
Thorsten Wilms <t_w_@freenet.de> 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
> 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?
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?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2018-03-26 11:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-21 19:57 XWayland, /tmp/.X11-unix Thorsten Wilms
2018-03-21 23:00 ` Ricardo Wurmus
2018-03-22 13:04 ` Thorsten Wilms
2018-03-25 14:34 ` Thorsten Wilms
2018-03-26 9:33 ` Marius Bakke
2018-03-26 10:45 ` Thorsten Wilms
2018-03-26 11:18 ` Marius Bakke [this message]
2018-03-26 12:44 ` Ludovic Courtès
2018-03-26 20:23 ` Thorsten Wilms
2018-03-29 15:18 ` Thorsten Wilms
2018-03-29 17:02 ` Marius Bakke
2018-03-29 19:57 ` Thorsten Wilms
2018-03-29 6:18 ` Chris Marusich
2018-03-29 14:37 ` Thorsten Wilms
2018-03-30 4:34 ` Chris Marusich
2018-03-30 16:25 ` Services, was: " Thorsten Wilms
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87efk7jda5.fsf@fastmail.com \
--to=mbakke@fastmail.com \
--cc=guix-devel@gnu.org \
--cc=t_w_@freenet.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.