gdm leaves orphaned /tmp/.X11-unix

  • Open
  • quality assurance status badge
Details
One participant
  • Jack Hill
Owner
unassigned
Submitted by
Jack Hill
Severity
normal
J
J
Jack Hill wrote on 20 Dec 2021 05:51
sway unable to start Xwayland
(address . bug-guix@gnu.org)
alpine.DEB.2.21.2112192346010.9433@marsh.hcoop.net
Hi Guix,

With Guix 11334d15d590073c631c574436d2110aa1ea2142, sway is not able to
start Xwayland. I believe that is was working correctly for me at commit
d627fbad8f4e157103251b07d7543dd2f5647cea.

Running sway manually from a VT, I was able to capture the following
messages:

```
00:00:00.002 [wlr] [libseat] [libseat/backend/seatd.c:78] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.085 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.085 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.085 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.085 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.085 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.085 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.085 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.085 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root or us
00:00:00.085 [wlr] [xwayland/sockets.c:216] No display available in the first 33
```

Best,
Jack
J
J
Jack Hill wrote on 20 Dec 2021 06:04
(address . 52678@debbugs.gnu.org)
alpine.DEB.2.21.2112192359220.9433@marsh.hcoop.net
On Sun, 19 Dec 2021, Jack Hill wrote:

Toggle quote (15 lines)
> Hi Guix,
>
> With Guix 11334d15d590073c631c574436d2110aa1ea2142, sway is not able to start
> Xwayland. I believe that is was working correctly for me at commit
> d627fbad8f4e157103251b07d7543dd2f5647cea.
>
> Running sway manually from a VT, I was able to capture the following
> messages:
>
> ```
> 00:00:00.002 [wlr] [libseat] [libseat/backend/seatd.c:78] Could not connect
> to socket /run/seatd.sock: No such file or directory
> 00:00:00.084 [wlr] [xwayland/sockets.c:99] /tmp/.X11-unix not owned by root
> ```

And, had I thought about the above messages more, I would have looked at
the ownership of /tmp/.X11-unix initially. I've now done so and found out
that it was owned by gdm. The weird bit is though that I had previously
run `herd stop xorg-server` and there were not gdm processes running, and
loginctl reported no gdm sessions.

Anyways, I don't think the commits above are particularly relevant. I'll
go ahead and re-title the issue.

Best,
Jack
J
J
Jack Hill wrote on 20 Dec 2021 06:05
problem in gdm, not sway
(address . control@debbugs.gnu.org)
alpine.DEB.2.21.2112200004330.9433@marsh.hcoop.net
retitle 52678 gdm leaves orphaned /tmp/.X11-inux
J
J
Jack Hill wrote on 20 Dec 2021 06:10
problem in gdm, not sway, typo fix
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
alpine.DEB.2.21.2112200009380.9433@marsh.hcoop.net
retitle 52678 gdm leaves orphaned /tmp/.X11-unix
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 52678@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 52678
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch