You are not logged in.
Pages: 1
Topic closed
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
Do you have polkit installed?
Offline
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
You need a polkit authentication agent running. Something like lxpolkit, polkit-kde, polkit-gnome, etc
Online
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
Offline
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
Use sudo?
Offline
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
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
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
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
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
Nice! Would you mind sharing how you solved it?
Last edited by Steef435 (2014-01-23 18:15:19)
Offline
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
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
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
Pages: 1
Topic closed