Re: [blfs-support] Polkit Actions

2013-12-12 Thread Dan McGhee
On 12/11/2013 06:06 PM, Dan McGhee wrote: On 12/11/2013 05:50 PM, Armin K. wrote: On 12/12/2013 12:47 AM, Dan McGhee wrote: On 12/11/2013 05:35 PM, Armin K. wrote: On 12/12/2013 12:19 AM, Dan McGhee wrote: You can always try running pkexec /usr/sbin/gparted from a terminal and check the

Re: [blfs-support] Polkit Actions

2013-12-12 Thread akhiezer
Date: Thu, 12 Dec 2013 12:37:39 -0600 From: Dan McGhee beesn...@grm.net To: BLFS Support List blfs-support@linuxfromscratch.org Subject: Re: [blfs-support] Polkit Actions . . I usually don't suggest things like this and I don't know if ConsoleKit can be used without PAM

Re: [blfs-support] Polkit Actions

2013-12-12 Thread Dan McGhee
On 12/12/2013 03:17 PM, akhiezer wrote: Date: Thu, 12 Dec 2013 12:37:39 -0600 From: Dan McGhee beesn...@grm.net To: BLFS Support List blfs-support@linuxfromscratch.org Subject: Re: [blfs-support] Polkit Actions . . I usually don't suggest things like this and I don't know

Re: [blfs-support] Polkit Actions

2013-12-12 Thread Armin K.
On 12/12/2013 11:14 PM, Dan McGhee wrote: On 12/12/2013 03:17 PM, akhiezer wrote: Date: Thu, 12 Dec 2013 12:37:39 -0600 From: Dan McGhee beesn...@grm.net To: BLFS Support List blfs-support@linuxfromscratch.org Subject: Re: [blfs-support] Polkit Actions . . I usually don't

Re: [blfs-support] Polkit Actions

2013-12-12 Thread Bruce Dubbs
Armin K. wrote: On 12/12/2013 11:14 PM, Dan McGhee wrote: On 12/12/2013 03:17 PM, akhiezer wrote: Date: Thu, 12 Dec 2013 12:37:39 -0600 From: Dan McGhee beesn...@grm.net To: BLFS Support List blfs-support@linuxfromscratch.org Subject: Re: [blfs-support] Polkit Actions . . I

[blfs-support] Polkit Actions

2013-12-11 Thread Dan McGhee
Now that I've learned (?) how to deal with polkit--as documented in another thread--I'd like to get a few more things under my belt. In particular, I'd like to call gparted from the menus in my desktop system. The way it works in Ubuntu is that a message pops up and asks for my password

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/11/2013 06:45 PM, Dan McGhee wrote: Now that I've learned (?) how to deal with polkit--as documented in another thread--I'd like to get a few more things under my belt. In particular, I'd like to call gparted from the menus in my desktop system. The way it works in Ubuntu is that a

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Dan McGhee
On 12/11/2013 12:20 PM, Armin K. wrote: On 12/11/2013 06:45 PM, Dan McGhee wrote: This is a polkit action file to be put in /usr/share/polkit-1/actions directory. As written, it would go in that directory with the name org.archlinux.pkexec.gparted What I haven't been able to find is the

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/11/2013 07:58 PM, Dan McGhee wrote: On 12/11/2013 12:20 PM, Armin K. wrote: On 12/11/2013 06:45 PM, Dan McGhee wrote: This is a polkit action file to be put in /usr/share/polkit-1/actions directory. As written, it would go in that directory with the name org.archlinux.pkexec.gparted

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Dan McGhee
On 12/11/2013 12:20 PM, Armin K. wrote: On 12/11/2013 06:45 PM, Dan McGhee wrote: In addition to GParted, I would like to employ this method for the Catalyst Control Center for my ATI-Radeon chip. You have to edit both .desktop files and add pkexec /path/to/program to the Exec= line. Do note

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/11/2013 10:06 PM, Dan McGhee wrote: On 12/11/2013 12:20 PM, Armin K. wrote: On 12/11/2013 06:45 PM, Dan McGhee wrote: In addition to GParted, I would like to employ this method for the Catalyst Control Center for my ATI-Radeon chip. You have to edit both .desktop files and add pkexec

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Dan McGhee
On 12/11/2013 03:56 PM, Armin K. wrote: On 12/11/2013 10:06 PM, Dan McGhee wrote: On 12/11/2013 12:20 PM, Armin K. wrote: On 12/11/2013 06:45 PM, Dan McGhee wrote: In addition to GParted, I would like to employ this method for the Catalyst Control Center for my ATI-Radeon chip. You have to

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/11/2013 11:53 PM, Dan McGhee wrote: On 12/11/2013 03:56 PM, Armin K. wrote: On 12/11/2013 10:06 PM, Dan McGhee wrote: On 12/11/2013 12:20 PM, Armin K. wrote: On 12/11/2013 06:45 PM, Dan McGhee wrote: In addition to GParted, I would like to employ this method for the Catalyst Control

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Dan McGhee
Something happened in my copy and paste skills. This is how /usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.run-gparted.policy should actually look (the first line in the previous post shouldn't be there): ?xml version=1.0 encoding=UTF-8? !DOCTYPE policyconfig PUBLIC

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/12/2013 12:19 AM, Dan McGhee wrote: On 12/11/2013 05:01 PM, Armin K. wrote: I have the same desktop file here. However, you do need to verify if authentication agent is started. Run ps aux | grep polkit. You should get something like: armin 726 0.0 0.2 565160 15636 ?Sl

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Dan McGhee
On 12/11/2013 05:35 PM, Armin K. wrote: On 12/12/2013 12:19 AM, Dan McGhee wrote: On 12/11/2013 05:01 PM, Armin K. wrote: I have the same desktop file here. However, you do need to verify if authentication agent is started. Run ps aux | grep polkit. You should get something like: armin

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/12/2013 12:47 AM, Dan McGhee wrote: On 12/11/2013 05:35 PM, Armin K. wrote: On 12/12/2013 12:19 AM, Dan McGhee wrote: On 12/11/2013 05:01 PM, Armin K. wrote: I have the same desktop file here. However, you do need to verify if authentication agent is started. Run ps aux | grep polkit.

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Dan McGhee
On 12/11/2013 05:50 PM, Armin K. wrote: On 12/12/2013 12:47 AM, Dan McGhee wrote: On 12/11/2013 05:35 PM, Armin K. wrote: On 12/12/2013 12:19 AM, Dan McGhee wrote: You can always try running pkexec /usr/sbin/gparted from a terminal and check the output. Interesting output. Now I need to find