You are not logged in.

#1 2012-04-09 16:55:12

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

[SOLVED] nm-applet not working properly as normal user in awesome WM

First of all, this problem doesn't I can't get nm-applet to work as normal user. The options like "enable wireless" & "Create new wireless network" seem to be faded.

To start with, I am using awesome network manager. My .xinitrc looks like this.

/home/shadyabhi/.config/awesome/autostart.sh & 
exec ck-launch-session dbus-launch awesome

My autostart.sh has "/usr/bin/nm-applet &" and other startup programs.

The thing is,

File contents:

/etc/dbus-1/system.d/NetworkManager.conf-> http://sprunge.us/fLah?bash
/etc/polkit-1/localauthority/10-network-manager.pkla -> http://sprunge.us/cWMG?bash


Output of ck-list-sessions ->   http://sprunge.us/KVCO [I can't get a hang of as to why I have two running]

This is not me asking without doing any research, I have searched the forums and most of the users had issue of either not starting without ck-launch-session or some or the other thing in policy. This thing is driving me crazy, any kind of help would be highly appreciated.

Last edited by shadyabhi (2012-04-10 00:17:11)

Offline

#2 2012-04-09 17:27:04

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: [SOLVED] nm-applet not working properly as normal user in awesome WM

Ok, so this is the weirdest thing ever seen. After the startup, if I kill the nm-applet and run it using dmenu_run (a light weight launcher), the problem is solved.

First of all, WHAT's going on here?

Also, how should I go about solving this?

EDIT: 30 seconds video to get the idea of this issue http://www.youtube.com/watch?v=uOCQ3VxVUos

Last edited by shadyabhi (2012-04-09 22:38:08)

Offline

#3 2012-04-10 00:16:31

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: [SOLVED] nm-applet not working properly as normal user in awesome WM

SOLUTION

With the help of gtmanfred and finally the solution from vodik on #archlinux channel on freenode, I finally fixed it.

The issue was that my nm-applet was starting before the ck-launch-session was executed in the next line. The idea is that nm-applet should be started only after the "ck session" has started and in my config, this was not the case.

So, to solve the problem , I moved the "exec awesome" in the autostart.sh and started the autostart.sh with ck-launch-session. Problem solved. smile

Last edited by shadyabhi (2012-04-10 00:17:54)

Offline

Board footer

Powered by FluxBB