Bug#954425: gdm3: changes to sleep-inactive-ac-timeout into greeter.dconf-defaults do not take effect

Patrick Zanon neant at libero.it
Sat Mar 21 13:16:38 GMT 2020


Package: gdm3
Version: 3.30.2-3
Severity: normal

Dear Maintainer,

I tried to disble ac timewout of GDM after boot by changing greeter.dconf-defaults accordingly to https://wiki.debian.org/GDM . Here follows what I did:

 * changed greeter.dconf-defaults by setting:
    + sleep-inactive-ac-timeout=0
    + sleep-inactive-ac-type='nothing'
 * run dpkg-reconfigure gdm3 as root

but nothing has changed: gdm still put the machine in suspend mode after boot if no one logs in for about  half an hour.

Moreover I tried to update dconf db by running the command

# dconf update
   error: Errore nell'aprire la directory «/etc/dconf/db»: File o directory non esistente

   Usage:
     dconf update

   Update the system dconf databases


In general it seems very hard/camplicated for a normal user to access to gdm settings and change them, since:
 * there is no simple UI to do so
 * it is not clear where options and data are stored (/etc files or in a dconf db)?


Thanks in advance
P. Zanon


-- System Information:
Debian Release: 10.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8), LANGUAGE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdm3 depends on:
ii  accountsservice                       0.6.45-2
ii  adduser                               3.118
ii  dconf-cli                             0.30.1-2
ii  dconf-gsettings-backend               0.30.1-2
ii  debconf [debconf-2.0]                 1.5.71
ii  gir1.2-gdm-1.0                        3.30.2-3
ii  gnome-session [x-session-manager]     3.30.1-2
ii  gnome-session-bin                     3.30.1-2
ii  gnome-settings-daemon                 3.30.2-3
ii  gnome-shell                           3.30.2-11~deb10u1
ii  gnome-terminal [x-terminal-emulator]  3.30.2-2
ii  gsettings-desktop-schemas             3.28.1-1
ii  libaccountsservice0                   0.6.45-2
ii  libaudit1                             1:2.8.4-3
ii  libc6                                 2.28-10
ii  libcanberra-gtk3-0                    0.30-7
ii  libcanberra0                          0.30-7
ii  libgdk-pixbuf2.0-0                    2.38.1+dfsg-1
ii  libgdm1                               3.30.2-3
ii  libglib2.0-0                          2.58.3-2+deb10u2
ii  libglib2.0-bin                        2.58.3-2+deb10u2
ii  libgtk-3-0                            3.24.5-1
ii  libkeyutils1                          1.6-6
ii  libpam-modules                        1.3.1-5
ii  libpam-runtime                        1.3.1-5
ii  libpam-systemd                        241-7~deb10u3
ii  libpam0g                              1.3.1-5
ii  librsvg2-common                       2.44.10-2.1
ii  libselinux1                           2.8-1+b1
ii  libsystemd0                           241-7~deb10u3
ii  libwrap0                              7.6.q-28
ii  libx11-6                              2:1.6.7-1
ii  libxau6                               1:1.0.8-1+b2
ii  libxcb1                               1.13.1-2
ii  libxdmcp6                             1:1.1.2-3
ii  lsb-base                              10.2019051400
ii  mutter [x-window-manager]             3.30.2-9~deb10u1
ii  policykit-1                           0.105-25
ii  procps                                2:3.3.15-2
ii  ucf                                   3.0038+nmu1
ii  x11-common                            1:7.7+19
ii  x11-xserver-utils                     7.7+8

Versions of packages gdm3 recommends:
ii  at-spi2-core    2.30.0-7
ii  desktop-base    10.0.2
ii  x11-xkb-utils   7.7+4
ii  xserver-xephyr  2:1.20.4-1
ii  xserver-xorg    1:7.7+19
ii  zenity          3.30.0-2

Versions of packages gdm3 suggests:
ii  gnome-orca            3.30.1-1
pn  libpam-fprintd        <none>
ii  libpam-gnome-keyring  3.28.2-5

-- debconf information:
* shared/default-x-display-manager: gdm3
  gdm3/daemon_name: /usr/sbin/gdm3
-------------- next part --------------
# These are the options for the greeter session that can be set 
# through GSettings. Any GSettings setting that is used by the 
# greeter session can be set here.

# Note that you must configure the path used by dconf to store the 
# configuration, not the GSettings path.


# Theming options
# ===============
#  - Change the GTK+ theme
[org/gnome/desktop/interface]
# gtk-theme='Adwaita'
#  - Use another background
[org/gnome/desktop/background]
# picture-uri='file:///usr/share/themes/Adwaita/backgrounds/stripes.jpg'
# picture-options='zoom'
#  - Or no background at all
[org/gnome/desktop/background]
# picture-options='none'
# primary-color='#000000'

# Login manager options
# =====================
[org/gnome/login-screen]
logo='/usr/share/images/vendor-logos/logo-text-version-128.png'

# - Disable user list
# disable-user-list=true
# - Disable restart buttons
# disable-restart-buttons=true
# - Show a login welcome message
# banner-message-enable=true
# banner-message-text='Welcome'

# Automatic suspend
# =================
[org/gnome/settings-daemon/plugins/power]
# - Time inactive in seconds before suspending with AC power
#   1200=20 minutes, 0=never
# sleep-inactive-ac-timeout=1200
# - What to do after sleep-inactive-ac-timeout
#   'blank', 'suspend', 'shutdown', 'hibernate', 'interactive' or 'nothing'
# sleep-inactive-ac-type='suspend'
sleep-inactive-ac-timeout=0
sleep-inactive-ac-type='nothing'
# - As above but when on battery
# sleep-inactive-battery-timeout=1200
# sleep-inactive-battery-type='suspend'


More information about the pkg-gnome-maintainers mailing list