Output for gnome-keyring-daemon
$ /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
Couldn't connect to session bus: Impossibile eseguire lo spawn di un bus di messaggi quando AT_SECURE è impostato
For loginctl I get the following:
7 - nicola (1000)
Since: Thu 2022-09-01 08:54:59 CEST; 2h 3min ago
Leader: 2259 (gdm-session-wor)
Seat: seat0; vc2
TTY: tty2
Service: gdm-password; type x11; class user
State: active
Unit: session-7.scope
├─ 2259 "gdm-session-worker [pam/gdm-password]"
├─ 2298 /usr/lib/gdm-x-session --run-script /usr/bin/gnome-session
├─ 2301 /usr/lib/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3
├─ 2349 dbus-daemon --print-address 4 --session
├─ 2353 /usr/lib/gnome-session-binary
├─ 2393 /usr/lib/at-spi-bus-launcher
├─ 2398 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1000/at-spi/bus_0
├─ 2412 gnome-shell --sm-client-id 102283cb10cda215e1166198715769856400000071780000
├─ 2421 /usr/lib/gvfsd
├─ 2426 /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f
├─ 2444 /usr/lib/xdg-permission-store
├─ 2449 /usr/lib/gnome-shell-calendar-server
├─ 2456 /usr/lib/evolution-source-registry
├─ 2464 /usr/lib/goa-daemon
├─ 2466 /usr/lib/dconf-service
├─ 2472 /usr/lib/gvfsd-metadata
├─ 2485 /usr/lib/goa-identity-service
├─ 2494 /usr/lib/gvfs-udisks2-volume-monitor
├─ 2510 /usr/lib/evolution-calendar-factory
├─ 2536 /usr/lib/evolution-addressbook-factory
├─ 2609 /usr/lib/gvfs-mtp-volume-monitor
├─ 2614 /usr/lib/gvfs-gphoto2-volume-monitor
├─ 2619 /usr/lib/gvfs-goa-volume-monitor
├─ 2624 /usr/lib/gvfs-afc-volume-monitor
├─ 2637 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notifications
├─ 2639 /usr/lib/at-spi2-registryd --use-gnome-session
├─ 2658 /usr/lib/gsd-usb-protection
├─ 2660 /usr/lib/gsd-media-keys
├─ 2662 /usr/lib/gsd-rfkill
├─ 2668 /usr/lib/gsd-a11y-settings
├─ 2669 /usr/lib/gsd-wacom
├─ 2673 /usr/lib/gsd-wwan
├─ 2675 /usr/lib/gsd-power
├─ 2678 /usr/lib/gsd-screensaver-proxy
├─ 2684 /usr/lib/gsd-color
├─ 2685 /usr/lib/gsd-xsettings
├─ 2687 /usr/lib/gsd-print-notifications
├─ 2688 /usr/lib/gsd-sharing
├─ 2690 /usr/lib/gsd-datetime
├─ 2695 /usr/lib/gsd-smartcard
├─ 2697 /usr/lib/gsd-housekeeping
├─ 2699 /usr/lib/gsd-sound
├─ 2704 /usr/lib/gsd-keyboard
├─ 2738 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver
├─ 2767 /usr/lib/gsd-printer
├─ 2825 zeitgeist-datahub
├─ 2828 /usr/bin/gnome-software --gapplication-service
├─ 2829 /usr/lib/tracker-miner-fs-3
├─ 2834 /usr/lib/gsd-disk-utility-notify
├─ 2837 /usr/lib/evolution-data-server/evolution-alarm-notify
├─ 2838 /usr/lib/firefox/firefox --sm-client-id 106afb1e0c27d31742166198753334700300000012140062
├─ 2865 /usr/bin/zeitgeist-daemon
├─ 2875 /usr/lib/zeitgeist/zeitgeist-fts
├─ 2912 /usr/lib/xdg-desktop-portal
├─ 2921 /usr/lib/xdg-document-portal
├─ 2930 fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_unmount,subtype=portal -- /run/user/1000/doc
├─ 2946 /usr/lib/xdg-desktop-portal-gnome
├─ 3021 /usr/lib/xdg-desktop-portal-gtk
├─ 3067 telegram-desktop --
├─ 3137 /usr/bin/seahorse --gapplication-service
├─ 3141 /usr/bin/gnome-calendar --gapplication-service
├─ 3176 /usr/lib/gvfsd-trash --spawner :1.8 /org/gtk/gvfs/exec_spaw/0
├─ 3346 /usr/lib/firefox/firefox -contentproc -parentBuildID 20220830165116 -prefsLen 26776 -prefMapSize 226796 -appDir /usr/lib/firefox/browser 2838 true socket
├─ 3378 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 26852 -prefMapSize 226796 -jsInitLen 247228 -parentBuildID 20220830165116 -appDir /usr/lib/firefox/browser 2838 true tab
├─ 3560 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 31507 -prefMapSize 226796 -jsInitLen 247228 -parentBuildID 20220830165116 -appDir /usr/lib/firefox/browser 2838 true tab
├─ 3593 /usr/lib/gvfsd-burn --spawner :1.8 /org/gtk/gvfs/exec_spaw/1
├─ 3657 /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 32321 -prefMapSize 226796 -jsInitLen 247228 -parentBuildID 20220830165116 -appDir /usr/lib/firefox/browser 2838 true tab
├─ 3788 /usr/lib/gvfsd-http --spawner :1.8 /org/gtk/gvfs/exec_spaw/2
├─ 4006 kitty
├─ 4021 kitty
├─ 4032 /usr/bin/zsh --login
├─ 4102 ssh-agent
├─ 4647 /usr/lib/firefox/firefox -contentproc -parentBuildID 20220830165116 -prefsLen 32396 -prefMapSize 226796 -appDir /usr/lib/firefox/browser 2838 true rdd
├─ 4684 /usr/lib/firefox/firefox -contentproc -parentBuildID 20220830165116 -sandboxingKind 1 -prefsLen 32396 -prefMapSize 226796 -appDir /usr/lib/firefox/browser 2838 true utility
├─ 9501 /usr/lib/firefox/firefox -contentproc -childID 49 -isForBrowser -prefsLen 32539 -prefMapSize 226796 -jsInitLen 247228 -parentBuildID 20220830165116 -appDir /usr/lib/firefox/browser 2838 true tab
├─11751 /usr/lib/speech-dispatcher/speech-dispatcher-modules/sd_dummy /etc/speech-dispatcher/modules/dummy.conf
├─11755 /usr/bin/speech-dispatcher --spawn --communication-method unix_socket --socket-path /run/user/1000/speech-dispatcher/speechd.sock
├─12182 /usr/lib/firefox/firefox -contentproc -childID 59 -isForBrowser -prefsLen 32542 -prefMapSize 226796 -jsInitLen 247228 -parentBuildID 20220830165116 -appDir /usr/lib/firefox/browser 2838 true tab
├─12546 /usr/lib/firefox/firefox -contentproc -childID 63 -isForBrowser -prefsLen 32542 -prefMapSize 226796 -jsInitLen 247228 -parentBuildID 20220830165116 -appDir /usr/lib/firefox/browser 2838 true tab
├─12581 /usr/lib/firefox/firefox -contentproc -childID 64 -isForBrowser -prefsLen 32542 -prefMapSize 226796 -jsInitLen 247228 -parentBuildID 20220830165116 -appDir /usr/lib/firefox/browser 2838 true tab
├─12812 /usr/lib/firefox/firefox -contentproc -childID 65 -isForBrowser -prefsLen 32542 -prefMapSize 226796 -jsInitLen 247228 -parentBuildID 20220830165116 -appDir /usr/lib/firefox/browser 2838 true tab
├─13430 xclip -sel c -i
├─13546 loginctl session-status
└─13547 xclip -sel c -iSep 01 10:56:33 rocinante kitty.desktop[4006]: [244 10:56:33.359826] [PARSE ERROR] Unknown OSC code: 1337
Sep 01 10:56:33 rocinante kitty.desktop[4006]: [244 10:56:33.359861] [PARSE ERROR] Unknown OSC code: 1337
Sep 01 10:56:37 rocinante kitty.desktop[4006]: [244 10:56:37.607619] [PARSE ERROR] Unknown OSC code: 1337
Sep 01 10:56:37 rocinante kitty.desktop[4006]: [244 10:56:37.607650] [PARSE ERROR] Unknown OSC code: 1337
Sep 01 10:57:53 rocinante kitty.desktop[4006]: [244 10:57:53.521338] [PARSE ERROR] Unknown OSC code: 1337
Sep 01 10:57:53 rocinante kitty.desktop[4006]: [244 10:57:53.521498] [PARSE ERROR] Unknown OSC code: 1337
Sep 01 10:58:42 rocinante kitty.desktop[4006]: [244 10:58:42.356622] [PARSE ERROR] Unknown OSC code: 1337
Sep 01 10:58:42 rocinante kitty.desktop[4006]: [244 10:58:42.356665] [PARSE ERROR] Unknown OSC code: 1337
Sep 01 10:58:45 rocinante kitty.desktop[4006]: [244 10:58:45.611121] [PARSE ERROR] Unknown OSC code: 1337
Sep 01 10:58:45 rocinante kitty.desktop[4006]: [244 10:58:45.611151] [PARSE ERROR] Unknown OSC code: 1337
Starting with a broken gnome-keyring a few month ago I finally found this ticket at gnome. It addresses security hardening resulting with the following message on some systems:
(gnome-keyring-daemon:4719): WARNING **: 16:57:02.868: Couldn't connect to session bus: Ein Nachrichtenbus kann nicht mit setuid erzeugt werden
Studying dbus I discovered that it's pointing to /tmp/ as in this thread.
Similarly to @NGeorgescu I couldn't find any use of dbus-launch
grep -r "dbus-launch" ~
Nothing in /etc/skel/
/usr/lib/pam.d/systemd-user:# This file is part of systemd.
/usr/lib/pam.d/systemd-user:# Used by systemd --user instances.
/usr/lib/pam.d/systemd-user:-account sufficient pam_systemd_home.so
/usr/lib/pam.d/systemd-user:-session optional pam_systemd_home.so
/usr/lib/pam.d/systemd-user:session optional pam_systemd.so
I use the bash shell. With
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
in my .bashrc I could fix the address but the keyring issue persists.
For login I use gdm. I'm not aware of any misconfiguration from the initial install but I've been running the system for more than 7 years.
A new user has the same problem of course with the dbus address at /tmp
16 - test (1001)
Since: Tue 2022-02-08 17:10:38 CET; 25s ago
Leader: 5349 (gdm-session-wor)
Seat: seat0; vc3
TTY: tty3
Service: gdm-password; type wayland; class user
State: active
Unit: session-16.scope
├─5349 "gdm-session-worker [pam/gdm-password]"
├─5368 /usr/bin/gnome-keyring-daemon --daemonize --login
├─5372 /usr/lib/gdm-wayland-session /usr/bin/gnome-session
├─5374 dbus-daemon --print-address 3 --session
├─5378 /usr/lib/gnome-session-binary
├─5410 /usr/bin/gnome-shell
├─5425 /usr/lib/gvfsd
├─5430 /usr/lib/gvfsd-fuse /run/user/1001/gvfs -f
├─5438 /usr/lib/at-spi-bus-launcher
├─5444 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
├─5450 /usr/bin/Xwayland :1 -rootless -noreset -accessx -core -auth /run/user/1001/.mutter-Xwaylandauth.WHHEH1 -listenfd 4 -listenfd 5 -displayfd 6 -initfd 7
├─5457 /usr/lib/gnome-shell-calendar-server
├─5464 /usr/lib/evolution-source-registry
├─5469 /usr/lib/dconf-service
├─5474 /usr/lib/goa-daemon
├─5480 /usr/lib/evolution-calendar-factory
├─5489 /usr/lib/goa-identity-service
├─5494 /usr/lib/telepathy/mission-control-5
├─5497 /usr/lib/gvfs-udisks2-volume-monitor
├─5513 /usr/lib/evolution-addressbook-factory
├─5517 /usr/lib/gvfs-mtp-volume-monitor
├─5519 /usr/lib/gvfsd-metadata
├─5535 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notifications
├─5537 /usr/lib/at-spi2-registryd --use-gnome-session
├─5550 /usr/lib/gsd-usb-protection
├─5552 /usr/lib/gsd-media-keys
├─5555 /usr/lib/gsd-rfkill
├─5556 /usr/lib/gsd-a11y-settings
├─5563 /usr/lib/gsd-wacom
├─5567 /usr/lib/gsd-power
├─5568 /usr/lib/gsd-screensaver-proxy
├─5576 /usr/lib/gsd-color
├─5582 /usr/lib/gsd-xsettings
├─5586 /usr/lib/gsd-print-notifications
├─5587 /usr/lib/gsd-sharing
├─5590 /usr/lib/gsd-datetime
├─5594 /usr/lib/gsd-wwan
├─5602 /usr/lib/gsd-smartcard
├─5604 /usr/lib/gsd-housekeeping
├─5608 /usr/lib/gsd-sound
├─5615 /usr/lib/gsd-keyboard
├─5632 /usr/lib/gsd-printer
├─5645 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver
├─5721 /usr/lib/evolution-data-server/evolution-alarm-notify
├─5722 /usr/lib/gsd-disk-utility-notify
├─5726 /usr/lib/tracker-miner-fs-3
├─5729 /usr/bin/python3 /usr/bin/guake
├─5821 /bin/bash
├─5865 /usr/lib/gnome-control-center-search-provider
├─5868 /usr/bin/seahorse --gapplication-service
├─5873 /usr/lib/epiphany-search-provider
├─5874 /usr/lib/gnome-calculator-search-provider
├─5875 /usr/lib/gnome-terminal-server
├─5878 /usr/lib/gvfsd-trash --spawner :1.5 /org/gtk/gvfs/exec_spaw/0
├─5907 /usr/lib/webkit2gtk-4.1/WebKitNetworkProcess 1 8
├─6001 bash
├─6015 /usr/lib/tracker-extract-3
└─6025 loginctl session-statusFeb 08 17:10:46 arch seahorse[5868]: DNS-SD initialization failed: Daemon not running
Feb 08 17:10:46 arch nautilus[5869]: Connecting to org.freedesktop.Tracker3.Miner.Files
Feb 08 17:10:46 arch /usr/lib/gdm-wayland-session[5374]: dbus-daemon[5374]: [session uid=1001 pid=5374] Activating service name='org.freedesktop.secrets' requested by ':1.61' (uid=1001 pid=5868 comm="/usr/bin/seahorse --gapplication-service ")
Feb 08 17:10:46 arch gnome-keyring-daemon[5368]: couldn't connect to dbus session bus: Ein Nachrichtenbus kann nicht mit setuid erzeugt werden
Feb 08 17:10:46 arch /usr/lib/gdm-wayland-session[5952]: SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
Feb 08 17:10:46 arch gnome-keyring-daemon[5952]: Couldn't connect to session bus: Ein Nachrichtenbus kann nicht mit setuid erzeugt werden
Feb 08 17:10:46 arch gnome-keyring-d[5952]: Couldn't connect to session bus: Ein Nachrichtenbus kann nicht mit setuid erzeugt werden
Feb 08 17:10:46 arch /usr/lib/gdm-wayland-session[5374]: dbus-daemon[5374]: [session uid=1001 pid=5374] Successfully activated service 'org.gnome.Epiphany.SearchProvider'
Feb 08 17:10:57 arch /usr/lib/gdm-wayland-session[5374]: dbus-daemon[5374]: [session uid=1001 pid=5374] Activating service name='org.freedesktop.Tracker3.Miner.Extract' requested by ':1.52' (uid=1001 pid=5726 comm="/usr/lib/tracker-miner-fs-3 ")
Feb 08 17:10:57 arch /usr/lib/gdm-wayland-session[5374]: dbus-daemon[5374]: [session uid=1001 pid=5374] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
I'm running out of ideas how to solve this and spend quite some time searching on the internet.
When I found the issue at gnome-keyring exactly matching my error profile I thought this will be solved soon. But nothing happens for months since it only appears for some users. Now having found the dbus address issue I went along this path but didn't find a solution.
Can you help me to fix this? Thanks!
]]>unix:abstract=/tmp/dbus-GLI57tSYLC,guid=871a9863a0558e6a9ebcc816617b0015
For @p-scvtvlatvs it seems to start empty (and only then dbus-launch "fixed" by gnome)
=> "loginctl session-status" (before running startx)
Also post your shell rc(s) - are you using zsh as well?
… and because: anyone here using OMZ?
Yes, I'm using Zsh and OMZ and Powerlevel10k theme.
.zprofile
https://termbin.com/0swx
.zlogin
https://termbin.com/1ryo
.zshenv
https://termbin.com/0xd0
.zshrc
https://termbin.com/vlsw
antigen.zsh
https://termbin.com/30yw
zaliases.zsh
https://termbin.com/k2dl
Been there since time immemorial. Never an issue.
]]>source /usr/bin/virtualenvwrapper.sh
[[ -r "/usr/share/z/z.sh" ]] && source /usr/share/z/z.sh
?
Edit: also check whether you've the same w/ a fresh user and check the relevant ~/.*profile files that are sourced by login shells.
]]>I'm using bash. My bashrc is nothing to write home about.
]]>DBUS_SESSION_BUS_ADDRESS is set to the random temp folder at the time of logging in before running startx.
For @p-scvtvlatvs it seems to start empty (and only then dbus-launch "fixed" by gnome)
=> "loginctl session-status" (before running startx)
Also post your shell rc(s) - are you using zsh as well?
… and because: anyone here using OMZ?
I have a second user account. Same story with DBUS_SESSION_BUS_ADDRESS. I login from the shell and then startx, DBUS_SESSION_BUS_ADDRESS is set to the random temp folder at the time of logging in before running startx.
]]>- Sept 20th installed linux-headers (for vbox), did an -Syu, and
yay -Rnscc go
- Sept 21st installed rdkit and installed and then uninstalled inchi
- Sept 27th installed Julia.
- Oct 2nd,
yay -Syu
- Oct 3rd installed rmlint.
- October 4th I installed stockfish and chessx.
- On October 6th I did a
yay -Rnscc gnome-builder
It was on Friday October 8th, after I rebooted my system, that I discovered that this was happening. My last reboot before that was Sept 20th when I installed the stuff for vbox.
The inclusion of xinitrc.d has no effect that I can determine.
Edit:
Also: I looked in / excluding /home /proc and /sys for anything that sets dbus session address with grep -rnwI and got:
/usr/share/gtk-doc/html/gio/running-gio-apps.html:120:<p><b><code class="envar">DBUS_SESSION_BUS_ADDRESS</code>. </b>
/usr/share/gtk-doc/html/gio/GTestDBus.html:376:<p>Start a dbus-daemon instance and set DBUS_SESSION_BUS_ADDRESS. After this
/usr/share/gtk-doc/html/gio/GTestDBus.html:454:<p>Unset DISPLAY and DBUS_SESSION_BUS_ADDRESS env variables to ensure the test
/usr/share/doc/systemd/NEWS:3662: * $DBUS_SESSION_BUS_ADDRESS environment variable is set by pam_systemd
/usr/share/doc/systemd/NEWS:4212: * $DBUS_SESSION_BUS_ADDRESS environment variable is not set by
/usr/share/gvfs/mounts/admin.mount:4:Exec=/bin/sh -c 'pkexec /usr/lib/gvfsd-admin "$@" --address $DBUS_SESSION_BUS_ADDRESS --dir $XDG_RUNTIME_DIR' gvfsd-admin
/usr/lib/systemd/user/dbus.socket:6:ExecStartPost=-/usr/bin/systemctl --user set-environment DBUS_SESSION_BUS_ADDRESS=unix:path=%t/bus
/usr/lib/tracker-3.0/trackertestutils/__main__.py:132: os.environ['DBUS_SESSION_BUS_ADDRESS'] = dbus_session_bus_address
/usr/lib/tracker-3.0/trackertestutils/__main__.py:136: os.environ['DBUS_SESSION_BUS_ADDRESS'] = sandbox.get_session_bus_address()
/usr/lib/tracker-3.0/trackertestutils/dconf.py:45: self.env['DBUS_SESSION_BUS_ADDRESS'] = sandbox.get_session_bus_address()
As well as a bunch of lines with ruby-dbus, which was installed a long time ago back in september. I removed ruby-dbus, it didn't do anything.
Nothing else I can see obviously does anything with the dbus address. "echo $XDG_RUNTIME_DIR" yields "/run/user/1000".
]]>