[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XWayland, /tmp/.X11-unix
From: |
Ludovic Courtès |
Subject: |
Re: XWayland, /tmp/.X11-unix |
Date: |
Mon, 26 Mar 2018 14:44:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello!
Marius Bakke <address@hidden> skribis:
> Thorsten Wilms <address@hidden> 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?
‘_xcb_open_unix’, called by ‘_xcb_open’ in libxcb, creates /tmp/.X11-unix.
Ideally Wayland’s client library would create it as well if it needs it?
> 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.
Sounds like a good idea.
Ludo’.
- XWayland, /tmp/.X11-unix, Thorsten Wilms, 2018/03/21
- Re: XWayland, /tmp/.X11-unix, Ricardo Wurmus, 2018/03/21
- Re: XWayland, /tmp/.X11-unix, Thorsten Wilms, 2018/03/22
- Re: XWayland, /tmp/.X11-unix, Thorsten Wilms, 2018/03/25
- Re: XWayland, /tmp/.X11-unix, Marius Bakke, 2018/03/26
- Re: XWayland, /tmp/.X11-unix, Thorsten Wilms, 2018/03/26
- Re: XWayland, /tmp/.X11-unix, Marius Bakke, 2018/03/26
- Re: XWayland, /tmp/.X11-unix,
Ludovic Courtès <=
- Re: XWayland, /tmp/.X11-unix, Thorsten Wilms, 2018/03/26
- Re: XWayland, /tmp/.X11-unix, Thorsten Wilms, 2018/03/29
- Re: XWayland, /tmp/.X11-unix, Marius Bakke, 2018/03/29
- Re: XWayland, /tmp/.X11-unix, Thorsten Wilms, 2018/03/29
- Re: XWayland, /tmp/.X11-unix, Chris Marusich, 2018/03/29
- Re: XWayland, /tmp/.X11-unix, Thorsten Wilms, 2018/03/29
- Re: XWayland, /tmp/.X11-unix, Chris Marusich, 2018/03/30
- Services, was: Re: XWayland, /tmp/.X11-unix, Thorsten Wilms, 2018/03/30