You are not logged in.

#1 2012-09-15 08:01:21

rado3105
Member
Registered: 2011-10-09
Posts: 96

Connection activation failed: (32) Not authorized to control networkin

Connection activation failed: (32) Not authorized to control networking

THis error shows me, when I want to connect in fluxbox using nm-applet to wifi network. Ethernet works, also changing network settings.

My .xinitrc:
exec ck-launch-session dbus-launch startfluxbox

networkmanager is in daemons, nm-applet starts using fluxbox/startup

r-c(user) is in group:
lp wheel games network video audio optical storage scanner power users

sudo /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 shows this error:

(polkit-gnome-authentication-agent-1:1809): polkit-gnome-1-WARNING **: Unable to determine the session we are in: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '1809'

Also I created: /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla
and inserted there this:

[nm-applet]
Identity=unix-group:netdev
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=no
ResultActive=yes

also when I start nm-applet as root and want to connect to wifi this shows:
sudo nm-applet
** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area

** (nm-applet:2208): WARNING **: Failed to register as an agent: (32) No session found for uid 0

** (nm-applet:2208): WARNING **: Could not create object for /org/freedesktop/NetworkManager/ActiveConnection/8: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist




Can anybody help?

Last edited by rado3105 (2012-09-15 08:31:18)

Offline

#2 2012-10-13 10:55:31

aditnsr
Member
Registered: 2009-03-24
Posts: 12

Re: Connection activation failed: (32) Not authorized to control networkin

Hi there, do you use any display manager?
I use Slim + openbox and I used to have the same problem until I changed the login_cmd in /etc/slim.conf

/etc/slim.conf:

# before
# login_cmd           exec /bin/bash -login ~/.xinitrc %session

# after
login_cmd exec dbus-launch /bin/bash -login ~/.xinitrc %session > ~/.xsession-errors 2>&1

~/.xinitrc:

exec openbox-session

Hope this helps

Offline

Board footer

Powered by FluxBB