Artix Linux Forum

Artix Linux => System => Topic started by: kuipumu on 14 May 2018, 04:41:50

Title: XDG_RUNTIME_DIR not set
Post by: kuipumu on 14 May 2018, 04:41:50
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?.
Title: XDG_RUNTIME_DIR is not set
Post by: ryukinix on 29 March 2019, 17:00:50
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-lerax'

How I can fix that? This works when I launch some Qt application.
Title: Re: XDG_RUNTIME_DIR is not set
Post by: phoenix_king_rus on 29 March 2019, 18:16:46
Maybe starting window manager with "dbus-launch" could help
Title: Re: XDG_RUNTIME_DIR not set
Post by: kiblaster on 09 August 2023, 20:18:00
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.
Title: Re: XDG_RUNTIME_DIR is not set
Post by: kiblaster on 09 August 2023, 20:23:02
See https://forum.artixlinux.org/index.php/topic,545.new.html#new.

Edit this was supposed to be elsewhere can someone delete it?
Title: Re: XDG_RUNTIME_DIR not set
Post by: artoo on 10 August 2023, 10:29:57
Is logind service started? I guess no.
Title: Re: XDG_RUNTIME_DIR not set
Post by: kiblaster on 10 August 2023, 21:55:11
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.