dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

network-manager-gnome & wicd

<< < (5/5)

sm8ps:
Sorry to bump this thread but I am at wits' end and must ask for support.

I use the following steps to get Network-Manager going:

--- Code: ---sce-load wireless
sce-load network-manager
sudo NetworkManager &
sudo /usr/local/postinst/libglib2.0-0 trigger
sudo nm-applet &
sudo gtk-update-icon-cache-3.0 -f /usr/share/icons/hicolor/
--- End code ---

Upon launching NetworkManager I get the following warning which seems harmless:

--- Code: ---(NetworkManager:9506): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Key file does not have group 'connectivity'
--- End code ---
There is no group connectivity. Shoudl it be created? My user is in the group "netdev" already but that does not seem to play a role, or does it?  :o

Without gtk-update-icon-cache-3.0 I get tons of icon missing signals.

Launching nm-applet without sudo, it get the same error pop-up as the one described by jls_legalize when trying to e.g. change connection.

--- Code: ---Failed to add/activate connection
(32) Not authorized to control networking.
--- End code ---

I would be very glad if Network-Manager worked because it does behave much more stable across suspending then the wpa-script. I would like to have a way to get it started in a more self-contained fashion. Plus I do not really know what I am doing here so some knowledgeable support would be quite comforting. :)

Cheers!
sm

Jason W:
Add your user to the connectivity group, if that helps we can use that and the other info to proceed.

sm8ps:
Tried as suggested; created group connectivity, added my user as well as root to that group. -- No noticable changes.

Protocol:

--- Code: ---sudo groupadd -r connectivity && sudo usermod tc -aG connectivity && sudo usermod root -aG connectivity
sce-load wireless && sce-load network-manager
sudo /usr/local/postinst/libglib2.0-0 trigger && sudo gtk-update-icon-cache-3.0 -f /usr/share/icons/hicolor/
sudo NetworkManager &
sudo nm-applet &
--- End code ---

According to one of the resources mentioned above, I had created the following file in order to give my user sufficient credentials to run nm-applet without sudo but that did not work. The applet would start and connect to one of the "system connections" but it is impossible to change the connection due to "(32) Not authorized to control networking." Here is the file for reference:

--- Code: ---/etc/polkit-1/localauthority.conf.d/50-org.freedesktop.NetworkManager.pkla
[nm-applet]
Identity=unix-group:netdev
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=no
ResultActive=yes

--- End code ---

Warnings upon launching sudo NetworkManager &

--- Code: ---(NetworkManager:9496): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Key file does not have group 'connectivity'

--- End code ---

Warnings upon launching sudo nm-applet &

--- Code: ---** (nm-applet:9532): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
GConf Error: Configuration server couldn't be contacted: D-BUS error: Message did not receive a reply (timeout by message bus)
[message repeated 32 times]
nm-applet-Message: using fallback from indicator to GtkStatusIcon

--- End code ---

Upon that, I do have a fully functional nm-applet (in LXDE/Openbox). So AFAICT this is a working solution; it seems questionable, however, if it is sane. :)

Jason W:
I will try and spend some time with this too, as there is simply something missing in a startup script, or a user/group, stuff like that.  Pretty much everything is fixable.

Navigation

[0] Message Index

[*] Previous page

Go to full version