u/Icy-Clothes-2556

▲ 2 r/Gentoo

Gentoo with OpenRC and elogind: DBUS_SESSION_BUS_ADDRESS never set after login

So, im new to gentoo and im havind some issues with dbus and pam

all services start correctly.XDG_RUNTIME_DIR is set properly to /run/user/1000 by pam_elogind.so, but DBUS_SESSION_BUS_ADDRESS is never set after I log in.

here's some info ( i can provide more just need to know what)

/etc/pam.d/system-login
session optional pam_loginuid.so

session required pam_env.so envfile=/etc/profile.env

-session optional pam_elogind.so

-session optional pam_dbus.so

-session optional pam_openrc.so

session include system-auth

session optional pam_motd.so motd=/etc/motd

session optional pam_lastlog.so never showfailed

session optional pam_mail.so

- elogind is running, XDG_RUNTIME_DIR=/run/user/1000 is created correctly

- pam_elogind.so exists at /usr/lib64/security/ and /lib64/security/

- No bus socket appears in /run/user/1000/ after login

also here are my use flags
USE=" -bluetooth -bluez -dvd -dvdr -cdr -cdda -cddb -optical -floppy -pcmcia -gps

\-systemd -seatd -webcam -gnome -kde -plasma -nvidia -amd -cups

X wayland vulkan opengl alsa pipewire gtk gtk3

dbus elogind policykit dhcpcd nvme

git curl wget text

png jpg jpeg webp tiff svg

man bash-completion

pipewire wireplumber alsa pulseaudio

gnu postproc harfbuzz"
reddit.com
u/Icy-Clothes-2556 — 16 hours ago