Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XDG_RUNTIME_DIR foolishness with startkde
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs

PostPosted: Mon Jun 12, 2017 12:53 am    Post subject: XDG_RUNTIME_DIR foolishness with startkde Reply with quote

I had stayed back with good ole kdm for as long as I could but eventually had to look at alternatives. In every alternative (sddm, lightdm, lxdm) that I tried, I would get an immediate cycle back to the dm when trying to start a plasma session. It would appear that this is what is biting me:

https://forum.kde.org/viewtopic.php?f=289&t=129815

The comment from the KDE developer is particular annoying since it seems that they assume that pam_systemd is taking care of this. Since I doubt I will ever let that thing get near my system is there something a little more openrc appropriate that can be done in the pam stack so that I don't have to keep hacking /usr/bin/startkde everytime it gets re-emerged?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Mon Jun 12, 2017 3:25 am    Post subject: Reply with quote

Well, since systemd sets it in conjunction with pam, I suspect consolekit should set it for non-systemd boxes.

1. Is your consolekit working and you getting a consolekit session.
2. Is your /etc/pam.d up to date with etc-update or dispatch-conf ?

If you're not using consolekit either... uh... okay... time to hack your displaymanager to workaround ... ?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13498

PostPosted: Mon Jun 12, 2017 3:36 am    Post subject: Reply with quote

If you have a workaround (even a relatively ugly one) based on modifying a startup script (such as startkde), you could use a Portage user patch to ensure that your workaround is applied automatically each time you rebuild that script. It's no cleaner than what you have now, but it is less manual effort long term.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Mon Jun 12, 2017 5:33 am    Post subject: Reply with quote

We have plenty of users with non-systemd setups starting Plasma-5 just fine. I don't think the linked thread is your problem. Although I haven't tried with_out any session tracking (we now have the choice of systemd, elogind or consolekit)...
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum