Wednesday, April 24, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 30049  / 2 Years ago, sun, april 10, 2022, 5:40:07

After installing Ubuntu under VirtualBox the nm-applet is missing.



I already tried to restart the applet but nothing has happened. Any suggestions?



$ kill nm-applet 
bash: kill: nm-applet: arguments must be process or job IDs
$ kill 2649
$ sudo nm-applet


** (nm-applet:2740): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files
** Message: applet now removed from the notification area

** (nm-applet:2740): WARNING **: Failed to register as an agent: (2) The name org.freedesktop.NetworkManager was not provided by any .service files
** Message: using fallback from indicator to GtkStatusIcon

(nm-applet:2740): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed
** Message: Starting applet secret agent because GNOME Shell disappeared

** (nm-applet:2740): WARNING **: Failed to register as an agent: (2) The name org.freedesktop.NetworkManager was not provided by any .service files


Thanks for the suggestions.



I already removed the network-manager and network-manager-gnome packages and reinstalled. Additionally I installed the package network-manager-dpg but the terminal apparently doesn't know the package network-manager. Synaptic tells me that both network-manager and network-manager-gnome are installed correctly.



There's just a problem with network-manager-dbg which I successfully reinstalled using the terminal but the error is still there. I can't upgrade the broken package via Internet since the connection doesn't work without the network-manager.



$ sudo dpkg -i ~/Downloads/network-manager-dbg_0.9.4.0-0ubuntu3_amd64.deb 
(Reading database ... 197394 files and directories currently installed.)
Preparing to replace network-manager-dbg 0.9.4.0-0ubuntu3 (using .../network-manager-dbg_0.9.4.0-0ubuntu3_amd64.deb) ...
Unpacking replacement network-manager-dbg ...
Setting up network-manager-dbg (0.9.4.0-0ubuntu3) ...
$ sudo service Network-manager start
Network-manager: unrecognized service
$ >

$ sudo service network-manager start
[sudo] password for jonas:
network-manager start/running, process 2471
$ nm-applet

** (nm-applet:2517): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files
** Message: applet now removed from the notification area

** (nm-applet:2517): WARNING **: Failed to register as an agent: (2) The name org.freedesktop.NetworkManager was not provided by any .service files
** Message: Starting applet secret agent because GNOME Shell disappeared

** (nm-applet:2517): WARNING **: Failed to register as an agent: (2) The name org.freedesktop.NetworkManager was not provided by any .service files
^C** Message: PID 0 (we are 2517) sent signal 2, shutting down... >

More From » network-manager

 Answers
1

It's working again! I had Ubuntu running under VirtualBox and just copied all of the files from /etc/NetworkManager to my actual Ubuntu and it was working again!


[#37777] Sunday, April 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fertion

Total Points: 436
Total Questions: 121
Total Answers: 156

Location: England
Member since Sun, May 21, 2023
1 Year ago
;