On 8/9/23 21:15, Max Nikulin wrote:
On 08/08/2023 09:57, gene heskett wrote:
Xsession: X session started for gene at Tue 27 Jun 2023 02:58:23 PM EDT
^^^^^^^^^^^^^^^
dbus-update-activation-environment: error: unable to connect to D-Bus:
Failed to connect to socket /run/user/1000/bus: Connection refused
What fixes that?
These messages might be old, but they might mean that you broke D-Bus.
Applications, especially self-containing packages, may heavily rely on
its availability.
Try to figure out at which moment such messages appear. Try "busctl
--user" and "busctl --user status" as a sanity check.
Both of those get somewhat copious outputs, what should I be looking
for? Should it name the app?
Looking in /etc/dbus-1, I see two dirs, one of which is empty:
gene@coyote:/etc/dbus-1$ ls -R
.:
session.d system.d
./session.d:
./system.d:
bluetooth.conf
com.ubuntu.SoftwareProperties.conf org.freedesktop.DisplayManager.conf
org.freedesktop.ModemManager1.conf org.opensuse.CupsPkHelper.Mechanism.conf
com.redhat.NewPrinterNotification.conf dnsmasq.conf
org.freedesktop.GeoClue2.Agent.conf
org.freedesktop.PackageKit.conf sddm_org.freedesktop.DisplayManager.conf
com.redhat.PrinterDriversInstaller.conf net.hadess.SensorProxy.conf
org.freedesktop.GeoClue2.conf org.freedesktop.realmd.conf
wpa_supplicant.conf
dbus has always been a puzzle to me. It has no man pages to explain its
functions. Do you want to see the outputs of busctl? Under what conditions?
I see busctl does have a man page. Pretty complex. What should I check next?
Thanks Max.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>