KDE, Gnome, Windowmanager, X11, Grafiktreiber und alles was dazu notwendig ist. Schau auch in den "
Tipps und Tricks"-Bereich.
-
Rawbit
- Beiträge: 716
- Registriert: 24.12.2004 13:17:21
- Lizenz eigener Beiträge: GNU Free Documentation License
-
Kontaktdaten:
Beitrag
von Rawbit » 29.01.2024 11:42:41
Hallo Forum,
ich habe mal in Bookworm KDE installiert und wieder deinstalliert.
Seitdem verlangt XFCE4 - wenn ich den Laptopdeckel schließe, Rootrechte
Unter XFCE4 erscheint ein Fenster, wo ich das root Passwort eingeben soll.
... Legitimierung erforderlich....
Als root funktioniert
Code: Alles auswählen
root@laptop:~# dpkg -l | grep polkit
ii gir1.2-polkit-1.0 122-3 amd64 GObject introspection data for polkit
ii libpolkit-agent-1-0:amd64 122-3 amd64 polkit Authentication Agent API
ii libpolkit-gobject-1-0:amd64 122-3 amd64 polkit Authorization API
ii libpolkit-qt5-1-1:amd64 0.114.0-2 amd64 PolicyKit-qt5-1 library
ii pkexec 122-3 amd64 run commands as another user with polkit authorization
ii policykit-1 122-3 amd64 transitional package for polkitd and pkexec
ii polkitd 122-3 amd64 framework for managing administrative policies and privileges
ii polkitd-pkla 122-3 amd64 Legacy "local authority" (.pkla) backend for polkitd
Könnt Ihr mir helfen?
Danke
Rawbit
-
hikaru
- Moderator
- Beiträge: 13612
- Registriert: 09.04.2008 12:48:59
Beitrag
von hikaru » 29.01.2024 12:09:42
Ich kenne mich mit KDE wenig aus, aber ich vermute, dass
polkit-kde-agent-1 entfernt wurde, was bei dir auch von Xfce benutzt wurde.
Für gewöhnlich kommt unter Xfce
policykit-1-gnome zum Einsatz. Ist das bei dir installiert?
-
Rawbit
- Beiträge: 716
- Registriert: 24.12.2004 13:17:21
- Lizenz eigener Beiträge: GNU Free Documentation License
-
Kontaktdaten:
Beitrag
von Rawbit » 29.01.2024 12:17:39
Hallo,
ja, aber ich habe policykit-1-gnome danach manuell installiert.
Die KDE policykits waren nach der Deinstallation noch da.
Ich habe sie durch die Gnome Varianten ersetzt.
Code: Alles auswählen
dpkg -l | grep policykit-1-gnome
ii policykit-1-gnome 0.105-8 amd64 authentication agent for PolicyKit
Gruß
Rawbit
-
thunder11
- Beiträge: 1433
- Registriert: 19.04.2023 09:08:30
Beitrag
von thunder11 » 29.01.2024 12:53:46
Wird denn das auch gestartet ?
Code: Alles auswählen
ls /etc/xdg/autostart/|grep pol
polkit-gnome-authentication-agent-1.desktop
-
Rawbit
- Beiträge: 716
- Registriert: 24.12.2004 13:17:21
- Lizenz eigener Beiträge: GNU Free Documentation License
-
Kontaktdaten:
Beitrag
von Rawbit » 29.01.2024 13:00:40
Hallo,
hier der Output
Code: Alles auswählen
ls /etc/xdg/autostart/|grep pol
polkit-gnome-authentication-agent-1.desktop
Gruß
Rawbit
-
thunder11
- Beiträge: 1433
- Registriert: 19.04.2023 09:08:30
Beitrag
von thunder11 » 29.01.2024 13:04:31
Code: Alles auswählen
dpkg -l *pol*|grep ii
ii alsa-topology-conf 1.2.5.1-2 all ALSA topology configuration files
ii gir1.2-polkit-1.0 124-1 amd64 GObject introspection data for polkit
ii libatopology2:amd64 1.2.10-3 amd64 shared library for handling ALSA topology definitions
ii libplexus-interpolation-java 1.26-1 all Plexus Interpolation API
ii libpolkit-agent-1-0:amd64 124-1 amd64 polkit Authentication Agent API
ii libpolkit-gobject-1-0:amd64 124-1 amd64 polkit Authorization API
ii libpolkit-qt5-1-1:amd64 0.114.0-2 amd64 PolicyKit-qt5-1 library
ii libsepol-dev:amd64 3.5-2 amd64 SELinux binary policy manipulation library and development files
ii libsepol1:amd64 3.1-1 amd64 SELinux library for manipulating binary security policies
ii libsepol2:amd64 3.5-2 amd64 SELinux library for manipulating binary security policies
ii policykit-1 124-1 amd64 transitional package for polkitd and pkexec
ii policykit-1-gnome 0.105-8 amd64 authentication agent for PolicyKit
ii polkitd 124-1 amd64 framework for managing administrative policies and privileges
ii polkitd-pkla 124-1 amd64 Legacy "local authority" (.pkla) backend for polkitd
Edit:
sind die beiden Dateien vorhanden ?
/usr/share/polkit-1/actions/org.freedesktop.login1.policy
/usr/share/polkit-1/actions/org.xfce.session.policy
-
Rawbit
- Beiträge: 716
- Registriert: 24.12.2004 13:17:21
- Lizenz eigener Beiträge: GNU Free Documentation License
-
Kontaktdaten:
Beitrag
von Rawbit » 29.01.2024 13:18:53
Code: Alles auswählen
pkg -l *pol*|grep ii
ii alsa-topology-conf 1.2.5.1-2 all ALSA topology configuration files
ii gir1.2-polkit-1.0 122-3 amd64 GObject introspection data for polkit
ii libatopology2:amd64 1.2.8-1+b1 amd64 shared library for handling ALSA topology definitions
ii libplexus-interpolation-java 1.26-1 all Plexus Interpolation API
ii libpolkit-agent-1-0:amd64 122-3 amd64 polkit Authentication Agent API
ii libpolkit-gobject-1-0:amd64 122-3 amd64 polkit Authorization API
ii libpolkit-qt5-1-1:amd64 0.114.0-2 amd64 PolicyKit-qt5-1 library
ii libsepol-dev:amd64 3.4-2.1 amd64 SELinux binary policy manipulation library and development files
ii libsepol2:amd64 3.4-2.1 amd64 SELinux library for manipulating binary security policies
ii policykit-1 122-3 amd64 transitional package for polkitd and pkexec
ii policykit-1-gnome 0.105-8 amd64 authentication agent for PolicyKit
ii polkitd 122-3 amd64 framework for managing administrative policies and privileges
ii polkitd-pkla 122-3 amd64 Legacy "local authority" (.pkla) backend for polkitd
-
Rawbit
- Beiträge: 716
- Registriert: 24.12.2004 13:17:21
- Lizenz eigener Beiträge: GNU Free Documentation License
-
Kontaktdaten:
Beitrag
von Rawbit » 29.01.2024 13:22:02
Ja:
Code: Alles auswählen
ls /usr/share/polkit-1/actions/org.freedesktop.login1.policy
/usr/share/polkit-1/actions/org.freedesktop.login1.policy
Code: Alles auswählen
ls /usr/share/polkit-1/actions/org.xfce.session.policy
/usr/share/polkit-1/actions/org.xfce.session.policy
-
thunder11
- Beiträge: 1433
- Registriert: 19.04.2023 09:08:30
Beitrag
von thunder11 » 29.01.2024 13:42:59
Es gibt noch einen dritte Datei:
/usr/share/polkit-1/actions/org.xfce.power.policy
Keine Ahnung, ob die was mit dem Zuklappen zu tun hat (wäre möglich)
Hast du die "goodies" installiert ?
Inhalt:
Code: Alles auswählen
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>XFCE Power Manager</vendor>
<vendor_url>http://goodies.xfce.org/projects/applications/xfce4-power-manager</vendor_url>
<icon_name>battery</icon_name>
<action id="org.xfce.power.backlight-helper">
<description>Modify the laptop display brightness</description>
<message>Authentication is required to modify the laptop display brightness</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/xfpm-power-backlight-helper</annotate>
</action>
<action id="org.xfce.power.xfce4-pm-helper">
<description>Suspend or hibernate the system</description>
<message>Authentication is required to place the system in suspend or hibernate mode</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/xfce4-pm-helper</annotate>
</action>
</policyconfig>
-
thunder11
- Beiträge: 1433
- Registriert: 19.04.2023 09:08:30
Beitrag
von thunder11 » 29.01.2024 13:47:17
Du hast ja wahrscheinlich auch das Whisker-Menü in der Leiste.
Rechtsklick --->Eigenschaften --->Befehle
Wenn du die an hakst, erscheinen die Icons dafür unten oder oben neben dem Suchfeld.
Funktionieren die auch alle nicht ?
-
Rawbit
- Beiträge: 716
- Registriert: 24.12.2004 13:17:21
- Lizenz eigener Beiträge: GNU Free Documentation License
-
Kontaktdaten:
Beitrag
von Rawbit » 29.01.2024 15:49:13
Hi,
danke mit dem Whiskermenü wieder was gelernt....
Also wenn ich im Whiskermenü den Button "Ernergiesparen" klicke
- das sollte Suspend entsprechen ? - funktioniert alles wie gewünscht.
Das scheint das also mit dem Schließen des Laptopdeckels ein Problem zu geben.
ACPI ist bei mir deinstalliert, da konnte man ja was in /etc/acpi einstellen.
XFCE4 goodies sind installiert.
Gruß
Rawbit
-
thunder11
- Beiträge: 1433
- Registriert: 19.04.2023 09:08:30
Beitrag
von thunder11 » 29.01.2024 16:08:59
Hab mal etwas geforscht, habe leider z.Z. meinen Laptop eigemottet.
Es gibt die
laptop-mode-tools
die bringt eine Policy /usr/share/polkit-1/actions/org.linux.lmt.gui.policy mit.
Keine Ahnung, ob die das steuert.
Aber ein Versuch ist es vielleicht wert.