Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore x86_64 => Topic started by: jls on August 09, 2019, 05:46:07 AM

Title: $XDG_RUNTIME_DIR not set
Post by: jls on August 09, 2019, 05:46:07 AM
I had an error message when enlightenment starts, I was told that the problem is that $XDG_RUNTIME_DIR is not set apart from another problem.
If I understand well this variable should be set by the system.
Title: Re: $XDG_RUNTIME_DIR not set
Post by: GNUser on August 09, 2019, 06:43:31 AM
Hi, jls. In other OSes that variable is set at login by bloatware such as systemd or pamd. Maybe in lean-and-mean TC you need to manually export that variable somewhere at login? Try putting this in your ~/.profile (or ~/.xsession or the like), backing up your files, and rebooting:
Code: [Select]
export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
In the referenced thread below in Arch Linux forum, the problem was that a service launched at boot--psd (profile-sync-daemon) in that specific case--was unsetting the variable. If the above idea doesn't work by itself, try also booting into a bare-minimum GUI environment (X server + enlightenment + any xdg* extensions you normally load) and checking to see whether the variable is set, to exclude the possibility that some rogue TC extension in unsetting the variable.

Hope that helps.