Jump to content
Not connected, Your IP: 18.118.137.243
Bulkley

ANSWERED eddie-ui hangs at "raise system privileges" - Solved

Recommended Posts

eddie-ui_2.18.9_linux_x64_debian.deb has been hanging up when opening.  It stops at  "raise system privileges" and hangs most of my window manager.  Its predecessor was flawless.  Is there a repository where I can grab the old one?

"raise system privileges" is a Policykit message.

Debian 9 Stretch
Openbox

Share this post


Link to post

I've noticed this with openbox as well. While installing GNOME/KDE comes with gsku/kdesudo for privilege escalation, openbox does not have one, mostly because it's not based on either of those. Try installing gksu for example and see what happens:

# apt-get install gksu

.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Thanks.  gksu -g eddie-ui is over-ridden by PolicyKit. 
 

Quote
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/env' as the super user
Authenticating as: root
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized

This incident has been reported.

The eddie-ui elevated.policy is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
 
  <vendor>Eddie.website and AirVPN community</vendor>
  <vendor_url>https://eddie.website</vendor_url>
  
  <action id="org.airvpn.eddie.ui.elevated.policy">
    <message>Authentication is required to run elevated commands of Eddie - OpenVPN UI</message>    
    <description>Run Eddie as root</description>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">/usr/lib/eddie-ui/eddie-cli-elevated</annotate>
    <annotate key="org.freedesktop.policykit.exec.allow_gui">false</annotate>
  </action>
 
</policyconfig>
Is the policy correct?  I haven't meddled with it but I've been suspecting it ever since installing this latest eddie.
 

Share this post


Link to post

Okay, I got it.  This is a PolicyKit problem, not a eddie-ui problem.  The line /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 in my autostart.sh was not starting due to another line causing interference.

 


 

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...