Summary: | x11/gnome-shell: Unable to start session: Oh no something has gone wrong | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Wesley Moore <wes> |
Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Some People | CC: | ashish, tcberner, wes |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(gnome) |
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Wesley Moore
2018-04-06 23:54:51 UTC
Forget to mention I'm running FreeBSD 11.1-RELEASE-p8 with packages installed from pkg+http://pkg0.nyi.FreeBSD.org/${ABI}/latest Running startx with only gnome-session in ~/.xinitrc yields this log: xauth: file /home/wmoore/.serverauth.16892 does not exist X.Org X Server 1.18.4 Release Date: 2016-07-19 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 11.1-RELEASE-p6 amd64 Current Operating System: FreeBSD wes-freebsd-box.localdomain 11.1-RELEASE-p8 FreeBSD 11.1-RELEASE-p8 #0: Tue Mar 13 17:07:05 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Build Date: 14 December 2017 09:28:16AM Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 7 10:02:46 2018 (==) Using config file: "/etc/X11/xorg.conf" gnome-session-binary[16909]: WARNING: Could not connect to ConsoleKit: Unable to lookup session information for process '16909' gnome-session-binary[16909]: WARNING: Could not connect to ConsoleKit: Unable to lookup session information for process '16909' gnome-session-binary[16909]: WARNING: Could not parse desktop file xscreensaver.desktop or it references a not found TryExec binary ** (gnome-settings-daemon:16922): WARNING **: Ignoring unknown module 'org.gnome.settings-daemon.plugins.orientation' GNOME_KEYRING_CONTROL=/home/wmoore/.cache/keyring-LNCTGZ GNOME_KEYRING_CONTROL=/home/wmoore/.cache/keyring-LNCTGZ SSH_AUTH_SOCK=/home/wmoore/.cache/keyring-LNCTGZ/ssh (gnome-settings-daemon:16922): media-keys-plugin-WARNING **: Unable to inhibit keypresses: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.login1 was not provided by any .service files ** (gnome-settings-daemon:16922): WARNING **: Unable to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files GNOME_KEYRING_CONTROL=/home/wmoore/.cache/keyring-LNCTGZ SSH_AUTH_SOCK=/home/wmoore/.cache/keyring-LNCTGZ/ssh W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support. (gnome-settings-daemon:16922): color-plugin-WARNING **: failed to obtain org.freedesktop.color-manager.create-profile auth gnome-session-binary[16909]: WARNING: Application 'gnome-settings-daemon.desktop' failed to register before timeout gnome-session-binary[16909]: WARNING: Could not connect to ConsoleKit: Unable to lookup session information for process '16909' (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? Gjs-Message: JS LOG: Failed to register AuthenticationAgent Gjs-Message: JS LOG: No permission to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered current session already has an ibus-daemon. Failed to play sound: File or data not found (gnome-settings-daemon:16922): power-plugin-WARNING **: Unable to inhibit suspend: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.login1 was not provided by any .service files (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (tracker-miner-user-guides:16970): Tracker-WARNING **: Monitor backend:'GKqueueFileMonitor' is unknown, we have no limits in place because we don't know what we are dealing with! (gnome-settings-daemon:16922): color-plugin-WARNING **: failed to create device: failed to obtain org.freedesktop.color-manager.create-device auth (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (gnome-session-failed:16949): Gtk-WARNING **: Allocating size to GtkBox 0x80cd1d190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (tracker-miner-apps:16978): Tracker-WARNING **: Monitor backend:'GKqueueFileMonitor' is unknown, we have no limits in place because we don't know what we are dealing with! (tracker-miner-fs:16980): Tracker-WARNING **: Monitor backend:'GKqueueFileMonitor' is unknown, we have no limits in place because we don't know what we are dealing with! (uint32 2,) GNOME Shell started at Sat Apr 07 2018 10:04:20 GMT+1000 (AEST) (tracker-miner-fs:16980): Tracker-WARNING **: The maximum number of monitors to set (100) has been reached, not adding any new ones gnome-session-binary[16909]: WARNING: Could not connect to ConsoleKit: Unable to lookup session information for process '16909' xinit: connection to X server lost waiting for X server to shut down (ibus-daemon:16953): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.vfs.HalVolumeMonitor disconnected from the bus; removing drives/volumes/mounts (ibus-daemon:16953): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.vfs.GPhoto2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts (II) Server terminated successfully (0). Closing log file. Further investigation shows that it appears to be some sort of race condition. I edited /usr/local/libexec/gnome-settings-daemon-localeexec and changed the exec line to use truss in order to try to trace where it was getting stuck: truss -o /home/wmoore/Documents/gnome-settings-daemon-truss.out exec /usr/local/libexec/gnome-settings-daemon However after that change the hang stopped, even with --failsafe removed from .xinitrc[1]. Suspecting the slight delay introduced by truss I then changed gnome-settings-daemon-localeexec to include a one second sleep and that seems to have the same effect: Code: sleep 1 exec /usr/local/libexec/gnome-settings-daemon [1]: My .xinitrc looks like this: exec gnome-session --debug > .xsession-errors 2>&1 Moin moin Please re-open if this is still an issue. mfg Tobias A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a8e235a50e1bf6f73fe5c64f03ac0f7745b032e commit 8a8e235a50e1bf6f73fe5c64f03ac0f7745b032e Author: Ashish SHUKLA <ashish@FreeBSD.org> AuthorDate: 2021-08-21 14:56:27 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2021-08-21 14:58:14 +0000 www/element-web: Update to 1.8.1 PR: 227334 Approved by: Alexander Sieg <ports@xanderio.de> (maintainer) www/element-web/Makefile | 2 +- www/element-web/distinfo | 6 +- www/element-web/pkg-plist | 150 +++++++++++++++++++++++----------------------- 3 files changed, 79 insertions(+), 79 deletions(-) (In reply to commit-hook from comment #4) Sorry, right PR is bug #257957. :( |