Description of problem: start agnome wayland session Version-Release number of selected component: gnome-shell-3.15.4-1.fc22 Additional info: reporter: libreport-2.3.0 backtrace_rating: 4 cmdline: /usr/bin/gnome-shell --wayland --display-server crash_function: meta_wayland_init executable: /usr/bin/gnome-shell kernel: 3.19.0-0.rc7.git2.1.fc22.x86_64 runlevel: N 5 type: CCpp uid: 0 Truncated backtrace: Thread no. 1 (2 frames) #2 meta_wayland_init at wayland/meta-wayland.c:304 #3 meta_init at core/main.c:363 Potential duplicate: bug 1023676
Created attachment 989355 [details] File: backtrace
Created attachment 989356 [details] File: cgroup
Created attachment 989357 [details] File: core_backtrace
Created attachment 989358 [details] File: dso_list
Created attachment 989359 [details] File: environ
Created attachment 989360 [details] File: limits
Created attachment 989361 [details] File: maps
Created attachment 989362 [details] File: open_fds
Created attachment 989363 [details] File: proc_pid_status
Created attachment 989364 [details] File: var_log_messages
Hi, XDG_RUNTIME_DIR variable is not set in the environment, therefore wayland fails creating the socket. It looks like you're using sudo, right? sudo unsets most of environment variables (XDG_RUNTIME_DIR too), so this is the problem. I need more info about how you start gnome-shell (or gdm).
Here are some references: https://bugzilla.redhat.com/show_bug.cgi?id=753882 http://cgit.freedesktop.org/systemd/systemd/commit/?id=baae0358f349870544884e405e82e4be7d8add9f XDG_RUNTIME_DIR specification (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) says: "If $XDG_RUNTIME_DIR is not set applications should fall back to a replacement directory with similar capabilities and print a warning message." So we should probably change mutter's behavior and instead of aborting just fall back to some other directory. It would solve this bug no matter what environment sudo/su sets.
I used [gnome-session --session=gnome-wayland] command line from a tty. I used it with and without sudo. Anyway, you seem to have identified the issue. Thanks,
Created attachment 989695 [details] Use replacement for XDG_RUNTIME_DIR if it is not set
https://bugzilla.gnome.org/show_bug.cgi?id=744374 Status UNCONFIRMED ---> RESOLVED Resolution ---> INVALID
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
This comment was flagged a spam, view the edit history to see the original text if required.
This bug was marked as INVALID by upstream, it stem probably from bad usage. Closing as WONTFIX