You are not logged in.
Did you also run rmlint?
The problem is not so much that something sets DBUS_SESSION_BUS_ADDRESS (dbus-lauch does, because gnome doesn't find DBUS_SESSION_BUS_ADDRESS being set) but why the variable isn't set by logind itfp.
Offline
I ran rmlint but I didn't actually delete anything with it.
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.
Offline
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?
Offline
the loginctl. Didn't get a chance to reboot my other (working) machine to compare: https://pastebin.com/KAC2pvag
I'm using bash. My bashrc is nothing to write home about.
Offline
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.
Last edited by seth (2021-10-24 07:11:49)
Offline
Those lines are for:
https://aur.archlinux.org/packages/pyenv-virtualenv/
https://aur.archlinux.org/packages/z-git/
Been there since time immemorial. Never an issue.
Offline
More interesting than the loginctl is actually whether the fresh user has the bogus $DBUS_SESSION_BUS_ADDRESS as well.
Offline
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
Offline
Yep. On a new user, no dotfiles:
unix:abstract=/tmp/dbus-GLI57tSYLC,guid=871a9863a0558e6a9ebcc816617b0015
Offline
did you solve it ? if yes, how ?
Offline
Even though there was no activity here anymore I'll try to push this. The problem sounds very similar to mine.
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!
Offline
I would like to push this as well, as I am experiencing the same issues.
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
Offline
Please use code and not quote tags for outputs
Offline
Quick survey: does anyone affected NOT use
a) GDM
b) GNOME
?
Offline