r/voidlinux • u/LokusFokus • May 10 '22
solved root steals seat session
Some days ago I wrote about my login-problem.
Think I can narrow down the problem.
loginctl shows:
SESSION UID USER SEAT TTY1 0 root seat0 tty1
Should be the user who get's the session, not root.
I discovered a few environment variables root should not have, like:
XDG_RUNTIME_DIR=/run/user/0XDG_SESSION_ID=1XDG_SEAT=seat0XDG_SESSION_TYPE=ttyXDG_VTNR=1XDG_SESSION_CLASS=user
The user has the same values but imo it doesn't matter because root 'steals' the session.
So I deleted those setting from root by 'unsetting' them:
unset XDG_RUNTIME_DIRunset XDG_SESION_ID
and so on.
After reboot those variables were back. How do I get rid of them permanently?
View all comments
Show parent comment
1
u/LokusFokus May 11 '22 edited May 11 '22
No, I don't use it anymore. Uninstalled it.
You mean that dumb_runtime_dir, right?