Skip to main content
Topic: freedesktop.org / dbus errors, cant use NetworkManager (Read 886 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

freedesktop.org / dbus errors, cant use NetworkManager

Hi, and first of all: Great Distro!

I installed Artix, coming from arch, but because im forced to dual boot with windows and felt lazy, I installed xfce4 artix and then uninstalled the xfce4 packages. The problem I was facing however was the mess of dependencies xfce has, and even pacman -Rd xfce4 did not do its job.
I found this on the internet while searching for a easy solution: "pacman -Sg xfce4 xfce4-goodies | awk '{print $2}' | xargs pacman -R --noconfirm libxfce4ui" and it worked flawlessly.

This should not be the cause. All the packages that were uninstalled were irrelevant to the issue, and reinstalling xfce did not fix it.

I really dont know if that is the cause, but I dont know what else would be, but now everything from freedesktop.org broke.

changing the hostname in nmtui for example only brings:
> Unable to set hostname: Method "SaveHostname" with signature  "s" on interface "org.freedesktop.NetworkManager.Settings" doesn't  exist

There are a few instances of stuff like that happening, and I searched the internet already, but found nothing like it.

Help is very much appreciated!

Re: Help a dumbass in need please.

Reply #1
what would be your ideal outcome?

Have you installed a different desktop?  Are you wanting to run without a desktop?  What desktop experience do you want?
Cat Herders of Linux

Re: Help a dumbass in need please.

Reply #2
well I already have a pretty nice i3wm setup from scratch, and im using it right now, everything works fine.

I really dont want to reinstall, since that is the easy way out. The problem I have is not the desktop experience, but that basically everything from freedesktop.org does not work. The programs are installed, and I even reinstalled and restarted them with rc-service ... restart, but with no luck.


Re: Help a dumbass in need please.

Reply #3
I think it's your dbus that's in need. That error is when nmtui sends a request to the dbus address "org.freedesktop.NetworkManager.Settings" and it finds - like it says - it doesn't exist. So check /var/log/pacman.log and see what got removed on that command, look for any dbus or network manager stuff, could give some ideas what is missing. Also check if you have some dbus service being started successfully by your init.

Re: Help a dumbass in need please.

Reply #4
dbus is installed and up to date, this is the output of the removing of xfce;

Code: [Select]
Running 'pacman -R --noconfirm libxfce4ui exo garcon thunar thunar-volman tumbler xfce4-appfinder xfce4-panel xfce4-power-manager xfce4-session xfce4-settings xfce4-terminal xfconf xfdesktop xfwm4 xfwm4-themes mousepad ristretto thunar-archive-plugin thunar-media-tags-plugin xfburn xfce4-artwork xfce4-battery-plugin xfce4-clipman-plugin xfce4-cpufreq-plugin xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-dict xfce4-diskperf-plugin xfce4-eyes-plugin xfce4-fsguard-plugin xfce4-genmon-plugin xfce4-mailwatch-plugin xfce4-mount-plugin xfce4-mpc-plugin xfce4-netload-plugin xfce4-notes-plugin xfce4-notifyd xfce4-pulseaudio-plugin xfce4-screensaver xfce4-screenshooter xfce4-sensors-plugin xfce4-smartbookmark-plugin xfce4-systemload-plugin xfce4-taskmanager xfce4-time-out-plugin xfce4-timer-plugin xfce4-verve-plugin xfce4-wavelan-plugin xfce4-weather-plugin xfce4-xkb-plugin parole xfce4-whiskermenu-plugin'
[2022-05-15T20:19:38+0200] [ALPM] transaction started
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-whiskermenu-plugin (2.7.1-1)
[2022-05-15T20:19:38+0200] [ALPM] removed parole (4.16.0-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-xkb-plugin (0.8.2-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-weather-plugin (0.11.0-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-wavelan-plugin (0.6.2-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-verve-plugin (2.0.1-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-timer-plugin (1.7.1-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-time-out-plugin (1.1.2-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-taskmanager (1.5.2.201.g58cf9b2-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-systemload-plugin (1.3.1-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-smartbookmark-plugin (0.5.2-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-sensors-plugin (1.4.3-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-screenshooter (1.9.10-2)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-screensaver (4.16.0-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-pulseaudio-plugin (0.4.3-2)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-notes-plugin (1.9.0-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-netload-plugin (1.4.0-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-mpc-plugin (0.5.2-2.1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-mount-plugin (1.1.5-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-mailwatch-plugin (1.3.0-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-genmon-plugin (4.1.1-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-fsguard-plugin (1.1.2-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-eyes-plugin (4.6.0-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-diskperf-plugin (2.7.0-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-dict (0.8.4-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-datetime-plugin (0.8.1-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-cpugraph-plugin (1.2.6-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-cpufreq-plugin (1.2.7-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-clipman-plugin (1.6.2-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-battery-plugin (1.1.4-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfce4-artwork (0.1.1a_git20110420-6.1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfburn (0.6.2-1.1)
[2022-05-15T20:19:38+0200] [ALPM] removed thunar-media-tags-plugin (0.3.0-2.1)
[2022-05-15T20:19:38+0200] [ALPM] removed thunar-archive-plugin (0.5.0-2)
[2022-05-15T20:19:38+0200] [ALPM] removed ristretto (0.12.2-1)
[2022-05-15T20:19:38+0200] [ALPM] removed mousepad (0.5.9-1)
[2022-05-15T20:19:38+0200] [ALPM] removed xfwm4-themes (4.10.0-4.1)
[2022-05-15T20:19:39+0200] [ALPM] removed xfwm4 (4.16.1-3)
[2022-05-15T20:19:39+0200] [ALPM] removed xfdesktop (4.16.0-2)
[2022-05-15T20:19:39+0200] [ALPM] removed xfce4-terminal (1.0.3-1)
[2022-05-15T20:19:39+0200] [ALPM] removed xfce4-settings (4.16.2-2)
[2022-05-15T20:19:39+0200] [ALPM] removed xfce4-session (4.16.0-2)
[2022-05-15T20:19:39+0200] [ALPM] removed xfce4-power-manager (4.16.0-3)
[2022-05-15T20:19:39+0200] [ALPM] removed xfce4-notifyd (0.6.3-1)
[2022-05-15T20:19:39+0200] [ALPM] removed xfce4-panel (4.16.4-1)
[2022-05-15T20:19:39+0200] [ALPM] removed xfce4-appfinder (4.16.1-2)
[2022-05-15T20:19:39+0200] [ALPM] removed tumbler (4.16.0-3)
[2022-05-15T20:19:39+0200] [ALPM] removed thunar-volman (4.16.0-1)
[2022-05-15T20:19:39+0200] [ALPM] removed thunar (4.16.11-2)
[2022-05-15T20:19:39+0200] [ALPM] removed garcon (4.16.1-1)
[2022-05-15T20:19:39+0200] [ALPM] removed exo (4.16.3-1)
[2022-05-15T20:19:39+0200] [ALPM] removed libxfce4ui (4.16.1-1)
[2022-05-15T20:19:39+0200] [ALPM] removed xfconf (4.16.0-2)
[2022-05-15T20:19:39+0200] [ALPM] transaction completed

As you can see it removed garcon, I installed it, tried to rc-service garcon start, but apparently garcon.service does not exist.

How would I be going about checking if my dbus services are getting started accordingly on openrc?


Re: Help a dumbass in need please.

Reply #6
I don't see any obvious candidates so far as I know, but I guess something did that.
Code: [Select]
:: There are 15 members in group xfce4:
:: Repository world
   1) exo  2) garcon  3) thunar  4) thunar-volman  5) tumbler  6) xfce4-appfinder  7) xfce4-panel  8) xfce4-power-manager  9) xfce4-session  10) xfce4-settings
   11) xfce4-terminal  12) xfconf  13) xfdesktop  14) xfwm4  15) xfwm4-themes
It's probably something from the 15 xfce4 desktop packages, not the xfce4-goodies extras, so you could just add the ones on that list back again one by one (so far as deps allow) and see at what point it starts working again as a trial and error method.

Re: Help a dumbass in need please.

Reply #7
Ok, I just read what garcon actually is on the aur

> Implementation of the freedesktop.org menu specification

and thaught that had to be it, but apparently not.


I was pretty sure that it was the command that broke the system, but since it didnt remove anything from dbus or freedesktop, im not so sure about it anymore. It seemed like the obvious

Re: Help a dumbass in need please.

Reply #8
Well reinstall the packages again, (at least those from the xfce4 group) reboot and find out, surely it's only going to take 10 or 15 minutes at most and you could spend an age reading up on possibilities otherwise, you can uninstall them afterwards. It will probably be quicker to try and narrow it down like that unless someone appears who can point you at the precise solution. (It's also the case with pacman that if you have the current version of a package in your cache it won't even be downloaded again, you are just decompressing and deleting something already on your fs if you reinstall then uninstall some packages unless or until versions change.)

Re: Help a dumbass in need please.

Reply #9
I reinstalled xfce, but still nothing. This basically means it had nothing to do with me deleting xfce, so Ill change the original post.

Output for restarting NetworkManager:
Code: [Select]
NetworkManager    | * Stopping NetworkManager ...                                                                                                                                                                                   [ ok ]
NetworkManager    | * Starting NetworkManager ...                                                                                                                                                                                   [ ok ]
Connecting...............    0s [offline]
NetworkManager    | * Marking NetworkManager as inactive. It will automatically be marked
NetworkManager    | * as started after a network connection has been established.
NetworkManager    | * WARNING: NetworkManager has started, but is inactive

Re: freedesktop.org / dbus errors, cant use NetworkManager

Reply #10
Aha, that fits with the original error message if Network Manager isn't running to provide that dbus address. There are some inherent problems with Network manager that have been discussed and solved fairly recently if you search the forum history, it often requires some config change - although I can't remember exactly what as I don't use it myself  :D .

Re: freedesktop.org / dbus errors, cant use NetworkManager

Reply #11
Ok, imma check that out. Thanks!

Re: freedesktop.org / dbus errors, cant use NetworkManager

Reply #12
Sadly nothing helped, since for me not even nmcli device show works. There is no output. I will reinstall the distro now, since I didnt want to do it with a easy fix solution, but the fact that its my laptop and I frequently have to connect to various connections makes it unusable

 

Re: freedesktop.org / dbus errors, cant use NetworkManager

Reply #13
I'm using Artix XFCE OpenRC on several machines.
I preferred to use conman as network manager and sddm as login manager.
But we can do without this kind of application.