Skip to content

/tmp/.X11-unix is missing the sticky bit #1122

@Link1J

Description

@Link1J

Windows build number:

22621.2361

Your Distribution version:

Fedora 39/Ubuntu 22.04.2 LTS/Debain 11

Your WSL versions:

WSL version: 2.0.2.0
Kernel version: 5.15.123.1-1
WSLg version: 1.0.58
MSRDC version: 1.2.4485
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25880.1000-230602-1350.main
Windows version: 10.0.22621.2361

Steps to reproduce:

  1. Install GNOME Shell (sudo dnf install gnome-shell on Fedora, sudo apt install gnome-shell on Ubuntu/Debain)
  2. Run env GNOME_SHELL_SLOWDOWN_FACTOR=2 MUTTER_DEBUG_DUMMY_MODE_SPECS=1024x768 dbus-run-session -- gnome-shell --nested --wayland

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

GNOME launchs
Note: GNOME still fails to launch on Ubuntu 20.04.2 LTS and Debian 11.

Actual behavior:

GNOME does not launch and reports one of the follow errors
[Fedora 39]

(gnome-shell:316247): libmutter-ERROR **: 10:42:44.263: Failed to start X Wayland: Directory "/tmp/.X11-unix" is missing the sticky bit
== Stack trace for context 0x55bfd11ea3e0 ==
A connection to the bus can't be made

[Debain 11]

(gnome-shell:28220): mutter-WARNING **: 10:57:15.911: Failed to ensure X11 socket directory: Directory "/tmp/.X11-unix" is missing the sticky bit

(gnome-shell:28220): mutter-ERROR **: 10:57:15.911: Failed to start X Wayland

[Ubuntu 20.04.2 LTS]

(gnome-shell:18273): libmutter-ERROR **: 11:00:01.801: Failed to start X Wayland: Directory "/tmp/.X11-unix" is missing the sticky bit
GNOME Shell crashed with signal 5
== Stack trace for context 0x5627590d1190 ==

This is caused by a missing sticky bit on /tmp/.X11-Unix, which cause XWayland to not launch.
This also happens with KDE Plasma, but the errors are a lot less clear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions