So yesterday i migrate from arch to artix with dinit, have some issue, but actually i can use my computer like it's was before on arch.
I have just some issue with /run/user, and $HOME in /etc/security/pam_env.conf.
For the first one, when i launch waybar, i have this
[2025-10-09 12:33:03.541] [info] Using configuration file /home/wateir/.config/waybar/config.jsonc
[2025-10-09 12:33:03.543] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
[2025-10-09 12:33:03.543] [info] Using CSS file /home/wateir/.config/waybar/style.css
[2025-10-09 12:33:03.551] [info] Hyprland IPC starting
[2025-10-09 12:33:03.553] [info] Loading persistent workspaces from Waybar config
[2025-10-09 12:33:03.553] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-10-09 12:33:09.814] [warning] Failed to parse IPC message: openwindow>>32dabe15f60,1,otter-launcher,otter-launcher, reason: Hyprland IPC: Couldn't open a socket (1)
[2025-10-09 12:33:13.408] [warning] Failed to parse IPC message: closewindow>>32dabe15f60, reason: Hyprland IPC: Couldn't open a socket (1)
But this is only the part i have when i do waybar > file.log
the most important is after, I'm spam with
Failed to create secure directory (/run/user/1000/pulse): Too many open files
socket: Too many open files
fork: Cannot allocate memory
shared memfd open) failed: Too many open files
when i have this ctr +c don't work and I'm have to kill the kitty terminal where i see that.
My second issue, and i don't know if it's related, but in pam_env.conf i have
XDG_CONFIG_HOME DEFAULT=${HOME}/.config
XDG_CACHE_HOME DEFAULT=${HOME}/.cache
XDG_DATA_HOME DEFAULT=${HOME}/.local/share
XDG_STATE_HOME DEFAULT=${HOME}/.local/state
XDG_DATA_DIRS DEFAULT=/usr/local/share:/usr/share
XDG_CONFIG_DIRS DEFAULT=/etc/xdg
GOPATH DEFAULT=${XDG_DATA_HOME}/go
But after the installation XDG_DATA_HOME go to /.local/share and not /home/wateir/.local/share like before the migration, who cause some issue.
I have fix the majority by just export again on my .zshrc but i definitely not the good way to do this.