Re: Power switch to actually turn off my computer



Bastien Nocera <hadess <at> hadess.net> writes:


On Fri, 2014-04-11 at 07:16 +0000, Charles T.Smith wrote:
Everybody tells me the configuration for the power button is stored in the
dconf database.

But that's a per-user database, isn't it?  Who is the user when nobody is
logged on?

Jasper already answered you in the parent mail:
There's multiple cases for "nobody is logged in". If you're running a
display manager like gdm, gnome-settings-daemon is also running, which
enforces the policy for shutdown. gdm runs as a special gdm user,
which has its own dconf profile, so you have to configure the dconf
setting for the gdm user separately at that case.

Does it use the root's dconf?  Does the dconf database handler for the root
always run, even when there's no root desktop up?

So the answers would be no, and no.


Well, you're right, he did say a "special" user (not the root) ... I see it
now - with nobody logged in at the console:


gdm       1435     1  0 11:12 ?        00:00:00 /usr/lib/systemd/systemd --user
gdm       1436  1435  0 11:12 ?        00:00:00 (sd-pam)           
gdm       1437  1365  0 11:12 ?        00:00:00 /usr/bin/gnome-session
--autostart /usr/
gdm       1440     1  0 11:12 ?        00:00:00 /usr/bin/dbus-launch
--exit-with-session
gdm       1441     1  0 11:12 ?        00:00:00 /bin/dbus-daemon --fork
--print-pid 5 --
gdm       1611     1  0 11:12 ?        00:00:00
/usr/lib/at-spi2/at-spi-bus-launcher
gdm       1622  1611  0 11:12 ?        00:00:00 /bin/dbus-daemon
--config-file=/etc/at-s
gdm       1625     1  0 11:12 ?        00:00:00
/usr/lib/at-spi2/at-spi2-registryd --use
gdm       1638  1437  0 11:12 ?        00:00:00
/usr/lib/gnome-settings-daemon-3.0/gnome
gdm       1703  1437  0 11:12 ?        00:00:01 gnome-shell --mode=gdm
gdm       1709     1  0 11:12 ?        00:00:00 /usr/bin/pulseaudio --start
--log-target
gdm       1747  1709  0 11:12 ?        00:00:00 /usr/lib/pulse/gconf-helper
gdm       1749     1  0 11:12 ?        00:00:00 /usr/lib/GConf/2/gconfd-2
gdm       1759     1  0 11:12 ?        00:00:00 /usr/lib/dconf-service
gdm       1835     1  0 11:12 ?        00:00:00 /usr/lib/mission-control-5
gdm       1839     1  0 11:12 ?        00:00:00 /usr/lib/goa-daemon


I didn't want to believe it, but now I see it with my own eyes.  Thank you
all for the info.

Oh.  I still haven't learned where it stores the configuration when it's not
powered up.  I don't even know where to look:

$ man gnome
No manual entry for gnome
$ man gdm
No manual entry for gdm






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