On Sunday, 26 October 2025 08:17:40 Greenwich Mean Time Dale wrote: > OK. My backups finished, sooner than I expected. I logged out, went to > boot runlevel, restarted elogind then checked the variable. I was on a > Console but it showed the RUNTIME one as set, /tmp or something.
The RUNTIME directory should be under /run/user/1000, when you're running as
your plain user, where 1000 would be the uid number your user has.
> So, I
> thought I had success. I then went back to default runlevel and logged
> into KDE. To be sure, I went to a Konsole, within KDE, and checked to
> see if it was still set. It is missing from the list. The others are
> set but not RUNTIME.
>
> Does this make any sense? It seems that before I login, it is set to
> something that looked right at least. As soon as I get logged into KDE,
> it is no longer set. Any idea what could be unsetting this when I
> login? I've checked everything I can find from the wiki and such. I
> have no idea what to check now.
>
>
> root@Gentoo-1 / # env | grep "XDG"
> XDG_CONFIG_DIRS=/home/dale/.config/kdedefaults:/etc/xdg
I find this puzzling. If you are logged in as root, your XDG_CONFIG_DIRS
should not be /home/dale/*. This is what I get here.
~ # env | grep "XDG"
XDG_CONFIG_DIRS=/etc/xdg
XDG_DATA_DIRS=/usr/local/share:/usr/share
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
> XDG_MENU_PREFIX=plasma-
> XDG_SEAT=seat0
> XDG_SESSION_TYPE=x11
> XDG_CURRENT_DESKTOP=KDE
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_SESSION_CLASS=user
> XDG_VTNR=7
> XDG_SESSION_ID=39
> XDG_DATA_DIRS=/usr/local/share:/usr/share
> root@Gentoo-1 / # grep -r XDG_RUNTIME /etc/
> /etc/speech-dispatcher/speechd.conf:#
> $XDG_RUNTIME_DIR/speech-dispatcher/speechd.sock where $XDG_RUNTIME_DIR
> /etc/init.d/user:# If it's rapidly failing, usually due to
> XDG_RUNTIME_DIR being unset,
> /etc/user/init.d/wireplumber:DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTI
> ME_DIR}/bus" /etc/user/init.d/dbus:dbus_socket="${XDG_RUNTIME_DIR}/bus"
> /etc/user/init.d/pipewire:export
> DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
> /etc/user/init.d/xdg-desktop-portal:DBUS_SESSION_BUS_ADDRESS="unix:path=${XD
> G_RUNTIME_DIR}/bus" /etc/user/init.d/pipewire-pulse:export
> DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
> /etc/user/init.d/ssh-agent:command_args="-D -a
> ${XDG_RUNTIME_DIR}/ssh-agent.sock"
> /etc/xdg/xfce4/xinitrc: XDG_RUNTIME_DIR \
> root@Gentoo-1 / #
>
>
> I see something for xfce4 but that doesn't look right. It's a backup
> GUI. I don't recall ever using it.
I don't use xfce4 on this PC, but the RUNTIME directory would normally be
under /run/user/XXXX
> Ideas?
>
> Dale
>
> :-) :-)
Is your elogind service starting as it should?
Run rc-status -a and check if any services have failed. You should have
elogind, dbus and user.dale running.
signature.asc
Description: This is a digitally signed message part.

