You are not logged in.

#1 2015-05-03 11:42:58

stozi
Member
Registered: 2010-03-02
Posts: 149

netctl wifi-menu error getting authority

Everytime I connect to a new wifi network with netctl wifi-menu, I get this error:

Interface 'wlp2s0' is controlled by netctl-auto
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: 
GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.freedesktop.PolicyKit1 timed out (g-dbus-error-quark, 20)
Failed to restart netctl-auto@wlp2s0.service: Connection timed out
Usage: netctl-auto {COMMAND} ...
                   [--help|--version]

Commands:
  list                 List available profiles (active='*', disabled='!')
  current              List currently active profiles
  switch-to [PROFILE]  Switch to a profile, enable it if necessary
  enable [PROFILE]     Enable a profile for automatic selection
  disable [PROFILE]    Disable a profile temporarily for automatic selection
  enable-all           Enable all profiles for automatic selection
  disable-all          Disable all profiles temporarily for automatic selection

Then I need to restart the computer for i3 status bar to confirm a connection and IP address, though the connection usually doesn't acutally work until another restart or two.

I don't know if it's connected but sleeping on laptop closure is also erratic now, sometimes works, sometimes doesn't.

Offline

#2 2015-05-03 14:55:50

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,793
Website

Re: netctl wifi-menu error getting authority

How do you start i3?

Post your ~/.xinitrc if you use one.


Jin, Jîyan, Azadî

Offline

#3 2015-05-03 16:27:32

stozi
Member
Registered: 2010-03-02
Posts: 149

Re: netctl wifi-menu error getting authority

.xinitrc is

xrdb ~/.Xresources
exec i3

but I want to clarify that when I say i3 status bar doesn't confirm a connection and IP address, that's because there aren't any. No problem with i3 status functionality. I'd be surprised if it's somehow effecting the wifi-menu error above.

Offline

#4 2015-05-03 16:30:45

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,793
Website

Re: netctl wifi-menu error getting authority

Try adding this stanza to the start of your .xinitrc:

#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

This will activate the dbus session and allow polkit to work properly.

EDIT: https://wiki.archlinux.org/index.php/Xi … figuration

Last edited by Head_on_a_Stick (2015-05-03 16:31:30)


Jin, Jîyan, Azadî

Offline

#5 2015-05-03 18:52:27

stozi
Member
Registered: 2010-03-02
Posts: 149

Re: netctl wifi-menu error getting authority

I'm afraid this didn't change the situation.

Offline

Board footer

Powered by FluxBB