This comes from ensure_x11_unix_perms, which is determining that the /tmp/.X11-unix does not have at least permission bits 022:
---> static gboolean ensure_x11_unix_perms (GError **error) { /* Try to detect systems on which /tmp/.X11-unix is owned by neither root nor * ourselves because in that case the owner can take over the socket we create * (symlink races are fixed in linux 800179c9b8a1). This should not be * possible in the first place and systems should come with some way to ensure * that's the case (systemd-tmpfiles, polyinstantiation …). * * That check however only works if we see the root user namespace which might * not be the case when running in e.g. toolbx (root and other user are all * mapped to overflowuid). */ struct stat x11_tmp, tmp; if (lstat (X11_TMP_UNIX_DIR, &x11_tmp) != 0) { g_set_error (error, G_IO_ERROR, g_io_error_from_errno (errno), "Failed to check permissions on directory \"%s\": %s", X11_TMP_UNIX_DIR, g_strerror (errno)); return FALSE; } if (lstat (TMP_UNIX_DIR, &tmp) != 0) { g_set_error (error, G_IO_ERROR, g_io_error_from_errno (errno), "Failed to check permissions on directory \"%s\": %s", TMP_UNIX_DIR, g_strerror (errno)); return FALSE; } /* If the directory already exists, it should belong to the same * user as /tmp or belong to ourselves ... * (if /tmp is not owned by root or ourselves we're in deep trouble) */ if (x11_tmp.st_uid != tmp.st_uid && x11_tmp.st_uid != getuid ()) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, "Wrong ownership for directory \"%s\"", X11_TMP_UNIX_DIR); return FALSE; } /* ... be writable ... */ if ((x11_tmp.st_mode & 0022) != 0022) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, "Directory \"%s\" is not writable", X11_TMP_UNIX_DIR); return FALSE; } <--- So the bug is not in Mutter. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2069564 Title: gnome-shell crashed with SIGTRAP in meta_wayland_compositor_new() from meta_context_start() from main() ["Failed to start X Wayland: Directory \"/tmp/.X11-unix\" is not writable"] Status in gnome-shell package in Ubuntu: Confirmed Status in mutter package in Ubuntu: Confirmed Bug description: The Ubuntu Error Tracker has been receiving reports about a problem regarding gnome-shell. This problem was most recently seen with package version 46.0-0ubuntu5.1, the problem page at https://errors.ubuntu.com/problem/a7dbd55723a8ea326d1ccf32e31fe307151786c2 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2069564/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp