LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   nm-applet problems with 'user' (https://www.linuxquestions.org/questions/slackware-14/nm-applet-problems-with-user-4175435592/)

roger_ 11-04-2012 12:11 PM

nm-applet problems with 'user'
 
Hi all, I've installed slackware 14 before and added groups plugdev and netdev, whether I need them both i'm not sure but I can't get nm-applet to work under user. NetworkManager is started, does anyone have any clues?

Here is my paste when starting it as user. The paste is starting nm-applet from a terminal as user.
http://pastebin.com/HcANjRbA


Thanks....

allend 11-04-2012 06:09 PM

Welcome to LQ!

What window manager/desktop environment are you using?
nm-applet is a systemtray application. The systemtray is provided by KDE and xfce but in Windowmaker I needed to install 'wmsystemtray' from SlackBuilds for the nm-applet to work.

madder 11-07-2012 12:06 PM

ive been using fluxbox and i receive the same message...but when run as root it creates an icon on the toolbar. i previously have been using ubuntu and it work(dont know why though). Still not managed to get networkmanager working yet on slackware.

mrclisdue 11-07-2012 01:49 PM

Quote:

Originally Posted by madder (Post 4824329)
ive been using fluxbox and i receive the same message...but when run as root it creates an icon on the toolbar. i previously have been using ubuntu and it work(dont know why though). Still not managed to get networkmanager working yet on slackware.

In your case, it's a consolekit issue (and *may* be the op's issue, but he's mia)

Either edit your .xinitrc and add this:

Code:

exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startfluxbox
or put the ck-launch stuff in your .fluxbox/startup file.

cheers,

madder 11-08-2012 11:22 AM

Thanks mrclisdue ...that worked for me! :-)

dugan 11-26-2012 07:13 PM

Unfortunately, mrclisdue's solution didnt' work for me (with XMonad instead of Fluxbox). nm-applet still crashes with the same message.

madder 11-26-2012 09:44 PM

This is what I have in .xinitrc using fluxbox.

exec ck-launch-session dbus-launch --sh-syntax --exit-with-session nm-applet&
exec fluxbox


I haven't tried putting it into ~/.fluxbox.startup but it would probably work the same.

mrclisdue 11-26-2012 10:00 PM

@dugan

Do you get same message as OP's paste?

cheers,

dugan 11-27-2012 08:05 AM

Quote:

Originally Posted by mrclisdue (Post 4837651)
@dugan

Do you get same message as OP's paste?

cheers,

I did.

mrclisdue 11-29-2012 10:30 AM

Quote:

Originally Posted by dugan (Post 4837935)
I did.

Add this:

Code:

# Start DBUS session bus:
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
  eval $(dbus-launch --sh-syntax --exit-with-session)
fi

to your .xinitrc and it *should* work (just installed xmonad to verify....)

(shamelessly stolen from the .fluxbox/startup file)

cheers,

frankbell 11-29-2012 08:59 PM

Edit your ~/.fluxbox/startup file to start nm-applet when Fluxbox starts by adding this line towards the end before "exec fluxbox."

Code:

nm-applet &
The ampersand means "keep running."

That's always worked for me.

More on the startup file:

http://fluxbox-wiki.org/index.php?ti...e_startup_file


All times are GMT -5. The time now is 01:07 AM.