Re: [arch-general] gparted cant take root priviliges

2014-07-15 Thread Klearchos-Angelos Gkountras
with lxpolikt working fine now thanks for your replies :)

On 07/11/2014 04:22 AM, Doug Newgard wrote:
 On 2014-07-10 19:10, Klearchos-Angelos Gkountras wrote:
 As I see on archlinux polkit [1] there are some limitations .. I have
 add myself on wheel group and uncomment on sudoers file.. now what ?


 [1] https://wiki.archlinux.org/index.php/Polkit#Limitations
 
 You shouldn't need any of that, just the authentication agent as I
 already said.
 
 And please don't top post.

-- 
Klearchos-Angelos Gkountras

weblog → http://jemadux.noblogs.org
xmpp   → k...@grrlz.net


[arch-general] gparted cant take root priviliges

2014-07-10 Thread Klearchos-Angelos Gkountras
In my new laptop , I install archlinux and works fine but also when I
try to use gparted not promont one dialog to have root priviliges ..
how to fix that ?

-- 
Klearchos-Angelos Gkountras 
=
mail   - k...@grrlz.net
xmpp   - k...@grrlz.net
weblog - http://jemadux.noblogs.org


Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread Daniel Micay
On 10/07/14 06:56 PM, Klearchos-Angelos Gkountras wrote:
 In my new laptop , I install archlinux and works fine but also when I
 try to use gparted not promont one dialog to have root priviliges ..
 how to fix that ?

I'm a bit unsure about what you're asking for. To avoid the error, you
should run it with root privileges with a command like `pkexec gparted`.



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread Doug Newgard

On 2014-07-10 17:56, Klearchos-Angelos Gkountras wrote:

In my new laptop , I install archlinux and works fine but also when I
try to use gparted not promont one dialog to have root priviliges ..
how to fix that ?


You need to install and run a polkit authentication agent.


Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread Klearchos-Angelos Gkountras
As I see on archlinux polkit [1] there are some limitations .. I have
add myself on wheel group and uncomment on sudoers file.. now what ?


[1] https://wiki.archlinux.org/index.php/Polkit#Limitations
On Thu, 10 Jul 2014 18:58:25 -0500
Doug Newgard scim...@archlinux.info wrote:

 On 2014-07-10 17:56, Klearchos-Angelos Gkountras wrote:
  In my new laptop , I install archlinux and works fine but also when
  I try to use gparted not promont one dialog to have root
  priviliges .. how to fix that ?
 
 You need to install and run a polkit authentication agent.


-- 
Klearchos-Angelos Gkountras 
=
mail   - k...@grrlz.net
xmpp   - k...@grrlz.net
weblog - http://jemadux.noblogs.org


Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread droe6
Maybe add users if you havent  done  that.
On Jul 10, 2014 5:57 PM, Klearchos-Angelos Gkountras k...@grrlz.net
wrote:

 In my new laptop , I install archlinux and works fine but also when I
 try to use gparted not promont one dialog to have root priviliges ..
 how to fix that ?

 --
 Klearchos-Angelos Gkountras
 =
 mail   - k...@grrlz.net
 xmpp   - k...@grrlz.net
 weblog - http://jemadux.noblogs.org



Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread Mark Lee
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



On 07/10/2014 08:10 PM, Klearchos-Angelos Gkountras wrote:
 As I see on archlinux polkit [1] there are some limitations .. I
 have add myself on wheel group and uncomment on sudoers file.. now
 what ?
 
 
 [1] https://wiki.archlinux.org/index.php/Polkit#Limitations On Thu,
 10 Jul 2014 18:58:25 -0500 Doug Newgard scim...@archlinux.info
 wrote:
 
 On 2014-07-10 17:56, Klearchos-Angelos Gkountras wrote:
 In my new laptop , I install archlinux and works fine but also
 when I try to use gparted not promont one dialog to have root 
 priviliges .. how to fix that ?
 
 You need to install and run a polkit authentication agent.
 
 

Salutations,

Run : /usr/bin/gparted_polkit

Regards,
Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlO/Nc8ACgkQZ/Z80n6+J/YxPQD8DLXk+NbEsLImlcDn2recg9jT
1JwH/MC6m/gt3Mdxv4gA/A+AByIV+kQ17BEE5yCFw3rqsdYdhllcMkx2HsyIfCi/
=o+Es
-END PGP SIGNATURE-


Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread Doug Newgard

On 2014-07-10 19:10, Klearchos-Angelos Gkountras wrote:

As I see on archlinux polkit [1] there are some limitations .. I have
add myself on wheel group and uncomment on sudoers file.. now what ?


[1] https://wiki.archlinux.org/index.php/Polkit#Limitations


You shouldn't need any of that, just the authentication agent as I 
already said.


And please don't top post.


Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread Klearchos-Angelos Gkountras
I have already installed polkit-gnome but I am using XFCE :D 

On Thu, 10 Jul 2014 20:22:29 -0500
Doug Newgard scim...@archlinux.info wrote:

 On 2014-07-10 19:10, Klearchos-Angelos Gkountras wrote:
  As I see on archlinux polkit [1] there are some limitations .. I
  have add myself on wheel group and uncomment on sudoers file.. now
  what ?
  
  
  [1] https://wiki.archlinux.org/index.php/Polkit#Limitations
 
 You shouldn't need any of that, just the authentication agent as I 
 already said.
 
 And please don't top post.


-- 
Klearchos-Angelos Gkountras 
=
mail   - k...@grrlz.net
xmpp   - k...@grrlz.net
weblog - http://jemadux.noblogs.org


Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread Ralf Mardorf
On Thu, 2014-07-10 at 20:54 -0400, Mark Lee wrote:
 Run : /usr/bin/gparted_polkit

JFTR the default command of the menu is  /usr/sbin/gparted %f , so the
menu entry has to be changed.

Additionally the OP perhaps has to start something, that isn't
automatically started for the used DE/WM. I e.g. use lightdm to start
JWM.

[rocketmouse@archlinux ~]$ cat .jwmrc 
?xml version=1.0?
JWM
  !-- lxpolkit is needed when e.g. using pkexec instead of gksudo --
  !-- StartupCommand/usr/lib/lxpolkit/lxpolkit/StartupCommand --
[snip]

I add this line, but commented it out, so it results in

[rocketmouse@archlinux ~]$ /usr/bin/gparted_polkit
Error executing command as another user: No authentication agent found.
[rocketmouse@archlinux ~]$ pkexec gparted
 AUTHENTICATING FOR org.archlinux.pkexec.gparted ===
Authentication is required to run the GParted Partition Editor
Multiple identities can be used for authentication:
 1.  rocketmouse
 2.  chuser
Choose identity to authenticate as (1-2): rocketmouse
Invalid response `rocketmouse'.
 AUTHENTICATION CANCELED ===
Error executing command as another user: Not authorized

This incident has been reported.
[rocketmouse@archlinux ~]$ gksudo gparted
==
libparted : 3.1
==

It works after starting lxpolkit.

[rocketmouse@archlinux ~]$ /usr/lib/lxpolkit/lxpolkit

[rocketmouse@archlinux ~]$ /usr/bin/gparted_polkit
==
libparted : 3.1
==
[rocketmouse@archlinux ~]$ pkexec gparted
==
libparted : 3.1
==
[rocketmouse@archlinux ~]$ cat /usr/bin/gparted_polkit
#!/bin/bash
if [ $(which pkexec) ]; then
pkexec --disable-internal-agent /usr/bin/gparted $@
else
/usr/bin/gparted $@
fi



Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread Doug Newgard

On 2014-07-10 20:29, Klearchos-Angelos Gkountras wrote:

I have already installed polkit-gnome but I am using XFCE :D


Is it running?

And again, please don't top post.


Re: [arch-general] gparted cant take root priviliges

2014-07-10 Thread Doug Newgard

On 2014-07-10 21:36, Ralf Mardorf wrote:

On Thu, 2014-07-10 at 20:54 -0400, Mark Lee wrote:

Run : /usr/bin/gparted_polkit


JFTR the default command of the menu is  /usr/sbin/gparted %f , so the
menu entry has to be changed.


No, it isn't.

% cat /usr/share/applications/gparted.desktop | grep Exec
Exec=/usr/bin/gparted_polkit %f