Public bug reported:

When a user is logged in to the Ubuntu desktop, a power button event
will cause the user to be prompted to choose if they'd like to proceed
with a shutdown. However, if the system is sitting at a greeter screen,
a power button event will instead attempt a suspend w/o prompting. This
is due to a different set of defaults for the greeter and the user:

For a logged-in desktop user, they
see:

$ gsettings get org.gnome.settings-daemon.plugins.power
power-button-action 'interactive'

But the gdm user sees:
$ sudo machinectl shell gdm@ /bin/bash
Connected to the local host. Press ^] three times within 1s to exit session.
gdm:~$ gsettings get org.gnome.settings-daemon.plugins.power power-button-action
'suspend'

Changing the gdm user's setting to "interactive" using gsettings causes
the greeter to begin prompting, consistent with the logged in user
experience.

** Affects: ubuntu-settings (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntu-settings (Ubuntu Focal)
     Importance: Undecided
         Status: Confirmed

** Affects: ubuntu-settings (Ubuntu Groovy)
     Importance: Undecided
         Status: New

** Affects: ubuntu-settings (Ubuntu Hirsute)
     Importance: Undecided
         Status: New

** Also affects: ubuntu-settings (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-settings (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-settings (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-settings (Ubuntu Focal)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-settings in Ubuntu.
https://bugs.launchpad.net/bugs/1902898

Title:
  power-button action inconsistent between user session and greeter

Status in ubuntu-settings package in Ubuntu:
  New
Status in ubuntu-settings source package in Focal:
  Confirmed
Status in ubuntu-settings source package in Groovy:
  New
Status in ubuntu-settings source package in Hirsute:
  New

Bug description:
  When a user is logged in to the Ubuntu desktop, a power button event
  will cause the user to be prompted to choose if they'd like to proceed
  with a shutdown. However, if the system is sitting at a greeter
  screen, a power button event will instead attempt a suspend w/o
  prompting. This is due to a different set of defaults for the greeter
  and the user:

  For a logged-in desktop user, they
  see:

  $ gsettings get org.gnome.settings-daemon.plugins.power
  power-button-action 'interactive'

  But the gdm user sees:
  $ sudo machinectl shell gdm@ /bin/bash
  Connected to the local host. Press ^] three times within 1s to exit session.
  gdm:~$ gsettings get org.gnome.settings-daemon.plugins.power 
power-button-action
  'suspend'

  Changing the gdm user's setting to "interactive" using gsettings
  causes the greeter to begin prompting, consistent with the logged in
  user experience.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-settings/+bug/1902898/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to