Skip to main content
Topic: XDG_RUNTIME_DIR not set (Read 3744 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

XDG_RUNTIME_DIR not set

After the latest update i can't get to run i3 and the XDG_RUNTIME_DIR variable is not set, the folder /run/usr/1000 does not get created, ¿how can i fix this?.

XDG_RUNTIME_DIR is not set

Reply #1
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-lerax'

How I can fix that? This works when I launch some Qt application.
It's me. The only me.

 

Re: XDG_RUNTIME_DIR is not set

Reply #2
Maybe starting window manager with "dbus-launch" could help
ARMtix
If you need to contact me, use email

Re: XDG_RUNTIME_DIR not set

Reply #3
https://www.reddit.com/r/artixlinux/comments/114uhbq/how_to_set_xdg_runtime_dir_in_s6/

I set:
Code: [Select]
export XDG_RUNTIME_DIR=/tmp/xdg-runtime/$(id -u)
mkdir -m 700 -p "$XDG_RUNTIME_DIR"
In the wrapper that I use to launch the GUI and it works.

pam_rundir package adn elogind didn't work.

I had this problem on Armtix.


Re: XDG_RUNTIME_DIR not set

Reply #5
Is logind service started? I guess no.

Re: XDG_RUNTIME_DIR not set

Reply #6
It is started.
It doesn't work for wayland, fine on X11.
I had to export manually there too before.
Arch Arm turned into Armtix.

No problem on my desktop.