You are not logged in.

#1 2010-12-01 23:55:35

ammon
Member
Registered: 2008-12-11
Posts: 413

Can not run nm-applet as user

I think this happened after last update on network-manager.

nm-applet --sm-disable

** (nm-applet:7942): WARNING **: <WARN>  request_name(): Could not acquire the NetworkManagerUserSettings service.
  Error: (9) Connection ":1.45" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file

There is nothing in daemon.log about any errors.
Runnig nm-applet works with root.

Offline

#2 2010-12-02 00:01:14

CountDuckula
Member
Registered: 2010-02-28
Posts: 151

Re: Can not run nm-applet as user

Check the Tips & Tricks section of this page and you might find the answer.

Offline

#3 2010-12-02 00:10:07

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Can not run nm-applet as user

I did everything from wiki before, and now again.
It does not help.

Offline

#4 2010-12-02 00:42:57

useradded
Member
From: Edinburgh, UK
Registered: 2010-05-15
Posts: 77

Re: Can not run nm-applet as user

What DE/WM are you using?  This looks like you need to launch x with a dbus-launch and/or ck-launch-session in .xinitrc.  I think gdm/kdm start all this stuff automatically, but slim or a simple startx command do not.

Offline

#5 2010-12-02 01:10:05

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Can not run nm-applet as user

For some reason .xinitrc exec line was not as it should be.
I just made new .xinitrc and ck session works as it should.
Now nm-applet starts, but it is not usable. As user I can not connect to any network.

Downgrading to 0.8.1-2 (both, daemon and client) fixes the problem.
I would do more reasearch on this with new version, but I need network manager now.

Offline

#6 2010-12-02 01:11:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,473
Website

Re: Can not run nm-applet as user

If you are using [testing], try downgrading consolekit to the version in [extra].

Offline

#7 2010-12-02 01:16:23

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Can not run nm-applet as user

Allan wrote:

If you are using [testing], try downgrading consolekit to the version in [extra].

No, im not using testing.

Offline

#8 2010-12-02 01:17:21

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Can not run nm-applet as user

paste ~/.xinitrc


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2010-12-02 01:41:32

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Can not run nm-applet as user

wonder wrote:

paste ~/.xinitrc

Nothing special smile

exec ck-launch-session syndaemon -t -i 2 & openbox-session

Offline

#10 2010-12-02 01:43:17

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Can not run nm-applet as user

ammon wrote:
wonder wrote:

paste ~/.xinitrc

Nothing special smile

exec ck-launch-session syndaemon -t -i 2 & openbox-session

that is pretty much the problem. you are doing it wrong.

you only run syndaemon with ck-launch-session.

you should do

exec ck-launc-session dbus-launch openbox-session


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2010-12-02 01:58:38

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Can not run nm-applet as user

Ok, thanks for the tip.
But it does not fix the problem, nm-applet 0.8.2 is still not usable (at least as user).

Offline

#12 2010-12-07 18:04:45

Don Coyote
Member
From: Great Lakes Region
Registered: 2010-09-06
Posts: 109

Re: Can not run nm-applet as user

wonder wrote:

you only run syndaemon with ck-launch-session.

you should do

exec ck-launc-session dbus-launch openbox-session

I was getting the same error and

exec ck-launch-session dbus-launch startxfce4

got mine working. Not sure if this might have slipped by, but wonder's text has a typo.

Offline

#13 2010-12-09 23:27:58

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Can not run nm-applet as user

I just reverted back to wicd. It is archaic but it gets the job done, even without keyring.
And I checked for typos, everything was fine. And reinstalled, still got the same error.

Offline

#14 2010-12-13 03:00:29

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Can not run nm-applet as user

Oh, cmon this is funny.
I cant see anything wrong with it. Maybe something is wrong in /etc/dbus-1 conf files?
Now the same thing happened to wicd, after I upgraded it to latest bzr version.

Edit:
Fixed by deleting /etc/dbus-1/wicd and reinstalling it.
Same thing did not work for network manager.

Last edited by ammon (2010-12-13 12:37:09)

Offline

#15 2010-12-19 18:18:23

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: Can not run nm-applet as user

I've lost my ability to connect to available wireless networks using networkmanager too. Here's the bug report:
https://bugs.archlinux.org/task/22149

Last edited by trusktr (2010-12-19 18:18:37)


joe@trusktr.io - joe at true skater dot io.

Offline

#16 2011-01-14 17:37:38

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: Can not run nm-applet as user

SOLVED: All i had to do was delete the wireless profile i was trying to connect to, then after that it worked and it recreated the profile. I'm guessing you know how to delete a wireless profile in netoworkmanager. wink

Does this work for you or should I leave that bug report open for you Ammon?

Last edited by trusktr (2011-01-14 17:42:03)


joe@trusktr.io - joe at true skater dot io.

Offline

#17 2011-02-04 21:01:01

deemytch
Member
Registered: 2009-11-28
Posts: 27

Re: Can not run nm-applet as user

I confirm a bug. I can`t connect to any of wireless network trough networkmanager-applet. Nothing is displayed and stored in any of log files.
Deleting profiles did`nt do nothing.
Manual connect with iwconfig etc does the job.
It`s happened after last update.

Last edited by deemytch (2011-02-04 21:28:18)

Offline

Board footer

Powered by FluxBB