Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Plasma from scratch - Impossible to change users settings

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

Plasma from scratch - Impossible to change users settings

  • Quote

Post by Fulgurance » Fri Jun 30, 2023 5:54 am

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: Select all

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/d ... hunks.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
Top
sam_
Developer
Developer
User avatar
Posts: 2816
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri Jun 30, 2023 10:22 am

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
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

Re: Plasma from scratch

  • Quote

Post by GDH-gentoo » Fri Jun 30, 2023 9:07 pm

Fulgurance wrote:

Code: Select all

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).
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Sat Jul 01, 2023 6:37 am

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
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Fri Jul 07, 2023 10:46 am

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

I have this error:

Code: Select all

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
Top
Hu
Administrator
Administrator
Posts: 24389
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Jul 07, 2023 2:35 pm

What are the current permissions on the setuid helper? If you correct them, does it work better?
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Fri Jul 07, 2023 3:05 pm

I think we talk about this file:

Code: Select all

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
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Wed Jul 12, 2023 5:14 pm

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
Top
CooSee
Veteran
Veteran
User avatar
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

  • Quote

Post by CooSee » Wed Jul 12, 2023 6:12 pm

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

ls -la /usr/libexec/dbus-daemon-launch-helper

Code: Select all

-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 "
Top
Hu
Administrator
Administrator
Posts: 24389
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Jul 12, 2023 6:29 pm

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.
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Wed Jul 19, 2023 4:46 pm

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
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Mon Sep 04, 2023 9:17 am

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
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Sun Nov 05, 2023 8:10 pm

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

Code: Select all

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: Select all

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
Top
Fulgurance
Veteran
Veteran
User avatar
Posts: 1287
Joined: Wed Feb 15, 2017 4:31 pm
Contact:
Contact Fulgurance
Website

  • Quote

Post by Fulgurance » Sun Nov 05, 2023 10:02 pm

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
Top
Post Reply

14 posts • Page 1 of 1

Return to “Unsupported Software”

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