I don't know anything about gnome internals, but with trying to strace, I see this:
getpeername(2, 0x7ffec62742e0, 0x7ffec62742dc) = -1 ENOTSOCK (Socket operation on non-socket) which is odd, since stderr is not a socket usually, indeed ... Other than that, the mentioned error message can be found here, after trying to "apt source" some gnome specific packages: mutter-3.24.1/src/backends/native/meta-launcher.c in function get_session_proxy() Though for sure, I have exactly zero knowledge about these :-/ -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1700465 Title: gnome-shell --replace does not work: Can't initialize KMS backend: Could not get session ID: No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1700465/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs