Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma from scratch - Impossible to change users settings
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1204

PostPosted: Fri Jun 30, 2023 5:54 am    Post subject: Plasma from scratch - Impossible to change users settings Reply with quote

Hi, sorry I am coming today to you, because I am building actually a Linux system fully from scratch. And I am facing a problem with my plasma installation.

When I go to the settings (graphically), no user are listed, and it's impossible to add user.

If I start systemsetting from the terminal, I have errors like that:

Code:
TypeError: Cannot read property 'realName' of null
org.kde.kcm_users: "The name org.freedesktop.Accounts was not provided by any .service files"


I follow the https://www.linuxfromscratch.org/blfs/downloads/11.0/BLFS-BOOK-11.0-nochunks.html book.
I use the 5.22.4 version of plasma-desktop.

I am using Openrc.

I suspect maybe a problem with polkit, but I am not an expert with polkit :(

Somebody is able to help me ?
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1685

PostPosted: Fri Jun 30, 2023 10:22 am    Post subject: Reply with quote

I suggest you consult KDE Plasma upstream, the BLFS people, or consult how we handle packaging. It's almost as if distros do certain things for a reason.. :o
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1548
Location: South America

PostPosted: Fri Jun 30, 2023 9:07 pm    Post subject: Re: Plasma from scratch Reply with quote

Fulgurance wrote:
Code:
org.kde.kcm_users: "The name org.freedesktop.Accounts was not provided by any .service files"

This one, at least, means that you don't have program accounts-daemon and its accompanying D-Bus .service file from package accountsservice (sys-apps/accountsservice on Gentoo).
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1204

PostPosted: Sat Jul 01, 2023 6:37 am    Post subject: Reply with quote

Oh thanks a lot !!! I don't know why they didn't mention that. This package is mandatory definitely.
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1204

PostPosted: Fri Jul 07, 2023 10:46 am    Post subject: Reply with quote

So I tried with the accountsservice package, but it doesn't fix the problem.

I have this error:

Code:
org.kde.kcm_users: The permission of the setuid helper is not correct

_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21703

PostPosted: Fri Jul 07, 2023 2:35 pm    Post subject: Reply with quote

What are the current permissions on the setuid helper? If you correct them, does it work better?
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1204

PostPosted: Fri Jul 07, 2023 3:05 pm    Post subject: Reply with quote

I think we talk about this file:
Code:

ls -la /usr/libexec/dbus-daemon-launch-helper
--w---xrwT 1 root messagebus 97400 Jun 30 07:45 /usr/libexec/dbus-daemon-launch-helper

_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1204

PostPosted: Wed Jul 12, 2023 5:14 pm    Post subject: Reply with quote

No idea ?
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1444
Location: Earth

PostPosted: Wed Jul 12, 2023 6:12 pm    Post subject: Reply with quote

is this your issue https://github.com/flatpak/flatpak/issues/4934

ls -la /usr/libexec/dbus-daemon-launch-helper
Code:
-rws--x--- 1 root messagebus 60736 Mai 16 00:49 /usr/libexec/dbus-daemon-launch-helper

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21703

PostPosted: Wed Jul 12, 2023 6:29 pm    Post subject: Reply with quote

Fulgurance wrote:
No idea ?
My idea was to correct the permissions and repeat the test. Your existing permissions look very wrong. Among other things, it is not even setuid, despite being described as a setuid helper.
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1204

PostPosted: Wed Jul 19, 2023 4:46 pm    Post subject: Reply with quote

Yeah, I saw I need to fix some permissions issues. Anyway, I will update the database soon, I will be careful with the permissions
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1204

PostPosted: Mon Sep 04, 2023 9:17 am    Post subject: Reply with quote

Hi, I come back after a while. I almost finished to implement the main functionalities of my package manager now, I focus now to stable it.

I was thinking to code a function to make sure the installed files have always permissions set properly.

So then my question is: do you know with the FHS if there is a normal standard for the rights and permissions for the default dirs ?

About setuid, even LFS book say to setuid, so it's not recommended ?
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1204

PostPosted: Sun Nov 05, 2023 8:10 pm    Post subject: Reply with quote

Hi, sorry I come back to this topic, because I tried to fix the problem by setting the permission properly like that:

Code:
sudo chmod u+s /usr/libexec/dbus-daemon-launch-helper


It was working in a previous VM I did. Then I updated my installation script process, and tried a new installation again to see if now it fix properly the problem. But now, even I fixed that, again users doesn't appear in the systemsetting.

And when I execute systemsettings in a terminal, it don't mention any specific problem.

Do you think maybe there is something missing ? What can I inspect then ?

Now I have this kind of errors:

Code:
file://usr/share/kpackage/kcms/kcm_users/contents/ui/UserDetailsPage.qml:296 TypeError : Cannot read property 'realName' of null

_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1204

PostPosted: Sun Nov 05, 2023 10:02 pm    Post subject: Reply with quote

The thing strange is, if I try to create new user by the interface, even the systemsettings doesn't show any user, it create a new one if I use the interface to create new one.
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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