You are not logged in.

#1 2016-11-06 18:16:00

kazer
Member
Registered: 2012-10-04
Posts: 7

[SOLVED] nm-applet requires root permissions to start

Hi, just as described in the subject, if I execute "nm-applet" the process dies inmediately, but if I execute it with root permissions it operates as usual, with the exception of this error (which does not appear to have any negative consequences):

(nm-applet:874): nm-applet-WARNING **: Failed to show notification: Error al lanzar («spawn») el comando «dbus-launch --autolaunch=2a619f2ce63f489e82f71d32ece6430a --binary-syntax --close-stderr»: El proceso hijo terminó con el código 1

Other tray applications, such as pasystray, launch correctly without root permissions.

I'm using the latest kernel, tint2, Openbox, NVIDIA "240xx" drivers (happened with nouveau too anyway).
Any suggestions?

Last edited by kazer (2016-11-06 19:04:08)

Offline

#2 2016-11-06 18:21:53

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,692
Website

Re: [SOLVED] nm-applet requires root permissions to start

You're starting dbus manually somewhere, and it's causing problems. Find where you're calling dbus-launch, and remove it.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-11-06 19:03:52

kazer
Member
Registered: 2012-10-04
Posts: 7

Re: [SOLVED] nm-applet requires root permissions to start

Well I tried some things and in the end I got it working by modifying my ~/.config/openbox/autostart file, it looked like this:

pasystray &
nm-applet &
tint2 &
feh --bg-fill ~/.wallpaper.jpg

And now it looks like this:

tint2 &
pasystray &
feh --bg-fill ~/.wallpaper.jpg &
nm-applet &

So basically I moved it to the end of the file and I added "&" to feh.
Not sure what happened here but I'm happy with the results.
Cheers!

Last edited by kazer (2016-11-06 19:04:23)

Offline

Board footer

Powered by FluxBB