osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18.04 = circular login problem on system freeze


hi,
Am Freitag, den 20.07.2018, 03:13 +0200 schrieb Ralf Mardorf:
> If this...
> 
> sudo -u username dbus-launch gsettings set
> org.gnome.shell.extensions.dash-to-dock show-apps-at-top false
> 
> ...shouldn't work, this...
> 
> HOME_BAK=$HOME
> HOME="/home/username"
> sudo -u username gsettings set org.gnome.shell.extensions.dash-to-
> dock show-apps-at-top false
> HOME=$HOME_BAK
> 
> ...should work.
> 

nope ...

$ man gsettings |grep Note 
       Note that gsettings needs a D-Bus session bus connection to
write changes to the dconf database.


this would only work if "username" would have an actually running
session *and* if the calling user would have permission to actually
connect to that running session dbus ...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20180720/f21c31bb/attachment-0001.sig>