You are not logged in.

#1 2016-09-21 08:47:14

DeadMetaler
Member
Registered: 2016-03-16
Posts: 43

All root apps can't save settings (DBUS)

Gnome 3.20
dbus-1.10.10-3

If I am launching or trying to change any settings in root apps then geting this messages. I cant't save settings of any application.

sudo gedit /etc/pacman.conf 

(gedit:1435): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=8c67ec3b09df4ef08cddf8096f4ef298 --binary-syntax --close-stderr': Child process exited with code 1

It is interesting, that I rebuild dbus with yaourt -Sb without any changes and it works again. Why it's happening and what's wrong with Arch's dbus package?

Last edited by DeadMetaler (2016-09-21 16:16:44)

Offline

#2 2016-09-21 11:30:13

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: All root apps can't save settings (DBUS)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2016-09-21 12:53:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,185

Re: All root apps can't save settings (DBUS)

Nothing's wrong with Arch's dbus package. Using sudo to launch a GUI program causes issues and always has.

Offline

#4 2016-09-21 14:26:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: All root apps can't save settings (DBUS)

Alternatively, pass the DBUS_SESSION_BUS_ADDRESS from your own environment as opposed to launching a new session with dbus-launch (although I'd say this to be a somewhat saner approach, since you will have a seperate bus for root and non-root apps), the reason this doesn't work without a seperate dbus-launch command anymore, is that automatic dbus invocation via X11 has been disabled in the arch package. (Is there any further discussion on the rationale apart from the small comment on the package commit? I checked a few mailing lists (arch-general and -dev) and turned up empty, was there active breakage due it bein in there? or was it simply done for simplicity?)

Offline

#5 2016-09-22 01:34:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,185

Re: All root apps can't save settings (DBUS)

As was announced last year, dbus sessions are now handled by systemd in a per-user basis. The change in the dbus package was made because the feature is/should be no longer used.

Offline

Board footer

Powered by FluxBB