From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brendan Tildesley Subject: Programs like pcmanfm, evince, ... don't connect to dbus unless run with dbus-launch Date: Fri, 27 Jul 2018 01:10:06 +1000 Message-ID: <2c04ce67-5606-35b3-4f26-7d4c349af97e@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fihuB-0002cs-P1 for guix-devel@gnu.org; Thu, 26 Jul 2018 11:10:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fihu7-0002D1-Hj for guix-devel@gnu.org; Thu, 26 Jul 2018 11:10:15 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:43958 helo=mta-1.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fihu7-00028B-5w for guix-devel@gnu.org; Thu, 26 Jul 2018 11:10:11 -0400 Content-Language: en-AU List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel Continuing on from my previous thread here: https://lists.gnu.org/archive/html/help-guix/2017-11/msg00084.html I discovered that I was able to work around the problem by running pcmanfm with dbus-launch. Running `dbus-launch evince` also fixed an issue I had with Evince not remembering the last page I was on in a document. However, I understand next to nothing about dbus, gvfs, ,etc, so I'm still not sure what the answer is. But I think this is the essential clue that identifies the problem. I tried modifying the slim service to launch the session with dbus-launch, but that only served to create some new errors when running pcmanfm: ------- invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor:: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gtk.vfs.UDisks2VolumeMonitor was not provided by any .service files (g-dbus-error-quark, 2) invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.vfs.GPhoto2VolumeMonitor:: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gtk.vfs.GPhoto2VolumeMonitor was not provided by any .service files (g-dbus-error-quark, 2) invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.vfs.MTPVolumeMonitor:: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gtk.vfs.MTPVolumeMonitor was not provided by any .service files (g-dbus-error-quark, 2) ------- Although I can run `dbus-launch bash` from a terminal and then run pcmanfm from there and it will work fine (no longer displays the hidden mounts, and displays my actual hard drives, and lets me mount them). It be great if someone could help solve this, I know at least a couple other people in the irc chat have experienced this bug, usually when using some tiling wm like i3 instead of the full GNOME desktop. Is it an issue with SLiM, or and issue somewhere else?