Registered Member
|
Hi,
I'm trying to test out kde-workspaces-5, but I'm running into some trouble. Starting KDE seems to change the permissions of /tmp and then complain about insufficient permissions on /tmp. I'm currently using razorqt and that's also where I'm copying the error messages from, but I think it shouldn't make much of a difference.
Here a before an after of the permisions:
when I start kdeinit5 as a normal user, it crashes with this message
but when I start it as root, the same change in permissions happens. I'm using Qt-5.3.0, kde-frameworks-4.99.0 and kde-workspaces-4.96.0 on Gentoo. |
Administrator
|
Can you please check the permissions on kdeinit5? It seems to be setuid - which it shouldn't be.
As for the path, it looks like there may be a bug... have you set any variables such as KDEHOME? It should be /tmp/kde-socket/kdeinit5__0 rather than /kdeinit5__0.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thank you for your quick answer!
kdeinit5 looks normal:
As for KDEHOME, all I could find is that it defaults to ~/.kde? it's not set in my environment, but passing KDEHOME=/tmp/kde-socket/kdeinit5__0 to startkde doesn't change anything. edit: I can only find kdesu and kwrited having setuid permissions. |
Administrator
|
Okay, that should all be fine then. You shouldn't need to set KDEHOME at all.
In ~/.kde do you have socket-$hostname, tmp-$hostname and cache-$hostname directories? If so, do they point to the appropriate folders in /tmp or /var/tmp/?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Sorry, I don't think I've made myself clear. That's what I found out about KDEHOME on the internet. I tried setting it, but even if I set it to .kde, that directory isn't created, if I create it, it stays empty. Am I doing it wrong? I just typed KDEHOME=~/.kde startkde on the command line.
|
Registered Member
|
ok, the binary in question was /usr/lib64/libexec/kf5/start_kdeinit. Now running startkde does not change permissions on /tmp anymore. It still doesn't work, but the console output looks different:
|
Registered Member
|
|
Registered Member
|
Thanks. I worked around this problem by adding export XDG_RUNTIME_DIR=/var/run/user/1000 to /usr/bin/startkde. At least it let's me start kde-workspaces-5, although a whole bunch of stuff isn't working yet.
edit: A major issue is that I can't add any widgets:
Is this issue caused by my workaround? or is that a whole new problem? edit: I just deleted my plasma configuration. It's all working now. edi2: no, it's not. It just gave me a default configuration with most of the widgets that I need. I still can't add widgets or change activities. Anyway, that's a different topic, I shall open a new thread. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], ourcraft