LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-20-2021, 12:17 PM   #1
addr
LQ Newbie
 
Registered: Sep 2009
Posts: 21

Rep: Reputation: 0
Pekwm


I am trying to set up Pekwm on a new computer. The old one was very old (when GKSU was still available).I've got tint2 and conky and everything else working fine but I need help with polkit and how to launch things that need root privileges.
If this is possible I'd be grateful for any help.
 
Old 05-20-2021, 01:06 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,422
Blog Entries: 21

Rep: Reputation: 4895Reputation: 4895Reputation: 4895Reputation: 4895Reputation: 4895Reputation: 4895Reputation: 4895Reputation: 4895Reputation: 4895Reputation: 4895Reputation: 4895
The way polkit works AFAIR is that packages deposite text files in /lib/polkit2 or some such tree. One of these files will list all the actions that the package recognises, and another will set default polkit permissions for these actions: which ones are allowed to all users, which are allowed to active users only (those who control their own console), which need authentication with user password or administrative password, and so on. You can create override files in /etc/polkit2. There's also a file in this directory which specifies what counts as an administrative password (root obviously but it might be wider). I think most of these use the same syntax as desktop files.

There's a polkit daemon that is launched at boot and a polkit agent which collects passwords; if the desktop doesn't provide one, polkit uses its own (rather ugly) text-based one which comes up in an xterm

Last edited by hazel; 05-20-2021 at 01:09 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE scrollbar widgets in Pekwm minck Linux - General 0 02-03-2005 04:59 AM
2 Questions about PekWM.. e0r Linux - Newbie 6 08-24-2004 08:36 PM
Two questions about pekwm S_Warlock Linux - Software 1 07-11-2004 12:23 PM
adding pekwm to .xinitrc olscratch Slackware 7 06-08-2004 10:21 AM
Dependancies say they're already at the newest version, PekWM argues (Debian) Insecure Linux - Software 2 03-15-2004 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration