You are not logged in.

#1 2014-01-18 16:13:24

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

[solved] gparted error

hi fellows,
if I launch gparted from menu, it doesn't start....

and if I launch gparted_polkit from terminal I get this error:

[mattia@arch-dekstop ~]$ gparted_polkit 
Error executing command as another user: No authentication agent found.

how can I solve these problems?

thank you

Last edited by nTia89 (2014-01-23 17:38:59)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2014-01-18 16:18:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] gparted error

Do you have polkit installed?

Offline

#3 2014-01-18 16:19:44

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] gparted error

sure:

[mattia@arch-dekstop ~]$ yy polkit
1 extra/polkit 0.112-1 [installed]
    Application development toolkit for controlling system-wide privileges
2 extra/polkit-kde 0.99.0-2
    Daemon providing a polkit authentication UI for KDE
3 extra/polkit-qt 0.103.0-2
    A library that allows developers to access PolicyKit API with a nice 
    Qt-style API
4 community/lxpolkit 0.1.0-3 (lxde)
    Simple polkit authentication agent for LXDE
5 community/mate-polkit 1.6.1-1 (mate)
    PolicyKit integration for the MATE desktop
6 community/polkit-gnome 0.105-2 [installed]
    Legacy polkit authentication agent for GNOME

+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#4 2014-01-18 16:21:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,564

Re: [solved] gparted error

You need a polkit authentication agent running. Something like lxpolkit, polkit-kde, polkit-gnome, etc

Offline

#5 2014-01-18 16:26:29

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] gparted error

Scimmia wrote:

You need a polkit authentication agent running. Something like lxpolkit, polkit-kde, polkit-gnome, etc

then, how can I start the agent?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2014-01-18 16:32:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] gparted error

Offline

#7 2014-01-18 16:53:16

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] gparted error

I found the issue:

polkit-gnome executes policykit agent only in a gnome session
because the .desktop file contains

OnlyShowIn=GNOME;

now I installed (beside polkit-gnome) lxpolkit

result: now gparted_polkit asks the password but when I type it, return another error:

[mattia@arch-dekstop ~]$ gparted_polkit 
Error executing command as another user: Not authorized

how can I solve it?

Last edited by nTia89 (2014-01-18 16:54:08)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#8 2014-01-18 16:57:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] gparted error

Use sudo?

Offline

#9 2014-01-18 17:01:28

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] gparted error

karol wrote:

Use sudo?

sure, this is the way I used since I installed gparted: open a terminal and launch gparted with sudo
that is slower than click on the menu icon
...now I want to fix it...


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#10 2014-01-23 13:58:51

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] gparted error

anyone else have this problem?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#11 2014-01-23 17:06:25

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: [solved] gparted error

You can have only one of the two packages installed. Using both they will block each other.
On XFCE I stayed with polkit-gnome and created the dektopfile in /.config/autostart.
Polkit-Gnome.desktop:

[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Polkit-Gnome
Comment=
Exec=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false

Maybe it works also with your DE or WM.

Offline

#12 2014-01-23 17:10:25

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: [solved] gparted error

No problems here. I can run gparted_polkit just fine using polkit-gnome under bspwm. This is how I start it in my .xinitrc:
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

What wm are you using and how do you start lxpolkit?

Last edited by Steef435 (2014-01-23 17:10:54)

Offline

#13 2014-01-23 17:41:29

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] gparted error

ok, now it is solved!

thank to all


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#14 2014-01-23 18:14:48

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: [solved] gparted error

Nice! Would you mind sharing how you solved it?

Last edited by Steef435 (2014-01-23 18:15:19)

Offline

#15 2014-01-23 20:12:22

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] gparted error

sure! I summarize:
even though I had a policykit agent installed (polkit-gnome)
gparted_polkit hasn't work
the problem was that polkit-gnome starts the agent at startup ONLY in a GNOME environment
so, I that use openbox, I didn't have any agent
the solution for polkit-gnome and consequently gparted_polkit problem is to start manually the policykit agent, how do it has no importance.
personally I already use the autostart file of openbox for other thing, so it was easy add the line

/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

in it


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#16 2014-10-21 00:24:06

Pednick
Member
Registered: 2014-04-09
Posts: 38

Re: [solved] gparted error

nTia89 wrote:

anyone else have this problem?

I do but even more of a problem and maybe its related, ever since the newest kernel, I can't install

VMware-Workstation-Full-10.0.3-1895310.x86_64.bundle, I get ths error:

Extracting VMware Installer...done.
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Attempt to unlock mutex that was not locked
/tmp/vmis.SbhNmP/install/vmware-installer/vmware-installer: line 56:  1594 Aborted                 (core dumped) VMWARE_INSTALLER="$VMWARE_INSTALLER" VMISPYVERSION="$VMISPYVERSION" "$VMWARE_INSTALLER"/vmis-launcher "$VMWARE_INSTALLER"/vmware-installer.py "$@"


"An it harm none, do what thou wilt"

Offline

#17 2014-10-21 01:27:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: [solved] gparted error

Pednick, please do not "necrobump" old threads, especially solved ones.  Also I don't see the vaguest connection between your issue and the one in this thread.  Please start a new thread if you want help with your issue.

Closed.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB