Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

XDG_RUNTIME_DIR not set properly

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
MalleRIM
Guru
Guru
Posts: 563
Joined: Mon Jul 23, 2007 8:41 pm
Location: China

XDG_RUNTIME_DIR not set properly

  • Quote

Post by MalleRIM » Thu Dec 10, 2015 1:01 pm

Hi,

I've been having this problem for about a year now. I have to edit a script to manually set XDG_RUNTIME_DIR or KDE won't start. I currently have the line
XDG_RUNTIME_DIR=/var/run/user/$UID
in /usr/bin/startkde. It works and doesn't cause any other problems, but I have to re-do it every time I update Plasma. So I would like to fix the problem once and for all.
I am using systemd, Plasma 5 and sddm. I've gone through quite a few versions, so I don't think version information really matters here.
I know pam_systemd.so should the directory and set the variable and it has not always been doing this properly. But the fact that it seems to be working for some people makes me think their should be a solution. I've searched, but I couldn't find anything.

Regards,
Malte
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

Re: XDG_RUNTIME_DIR not set properly

  • Quote

Post by charles17 » Fri Dec 11, 2015 7:11 am

Did you check your ~/.config/user-dirs.dirs?
Top
MalleRIM
Guru
Guru
Posts: 563
Joined: Mon Jul 23, 2007 8:41 pm
Location: China

  • Quote

Post by MalleRIM » Mon Dec 14, 2015 6:32 am

Sorry, I was busy these days. I found the solution. XDG_RUNTIME_DIR was not set improperly, it was REset improperly. It was set to /tmp by a file in /etc/env.d. The worst thing is, it may have been me who put it there, for whatever reason. :oops: But thanks for your reply!
Top
Post Reply

3 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic