Public bug reported:

Installing mythtv (all standard packages and versions which I assume are
captured by this suite of tools).  Installing either the server with
desktop or server without desktop (adding mythtv-backend-master) and
then installing mythtv-backend-master adds Gnome desktop in.

Configuring the server using ssh (i.e. not the desktop environment on
the system) the server is put to sleep by Gnome after ~20 minutes.  This
appears to be because there has been no activity on the GDM managed GUI
desktop session.

It appears to be resolved by setting the properties below from the
command line or editing the gdm3 defaults as shown below (hopefully belt
and braces - no AC timer and don't do anything on the timer expiring).

The machine is an old Intel i3 NUC so perhaps is being detected as a
latop (which is why I'm repoprting this)  but in any case it's the
server version of Ubuntu and who wants their server put to sleep if no-
one's using a GUI for 20 minutes?


sudo vi /etc/gdm3/greeter.dconf-defaults
# 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=0
        # - What to do after sleep-inactive-ac-timeout
        #   'blank', 'suspend', 'shutdown', 'hibernate', 'interactive' or 
'nothing'
        sleep-inactive-ac-type='nothing'

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gdm3 42.0-1ubuntu7
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
Date: Tue Aug 30 10:35:51 2022
InstallationDate: Installed on 2022-08-30 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809)
ProcEnviron:
 SHELL=/bin/bash
 LANG=C.UTF-8
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gdm3 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy uec-images

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1988149

Title:
  Gnome puts the machine into sleep mode although it is a server with no
  need or requirement for users to use Gnome

Status in gdm3 package in Ubuntu:
  New

Bug description:
  Installing mythtv (all standard packages and versions which I assume
  are captured by this suite of tools).  Installing either the server
  with desktop or server without desktop (adding mythtv-backend-master)
  and then installing mythtv-backend-master adds Gnome desktop in.

  Configuring the server using ssh (i.e. not the desktop environment on
  the system) the server is put to sleep by Gnome after ~20 minutes.
  This appears to be because there has been no activity on the GDM
  managed GUI desktop session.

  It appears to be resolved by setting the properties below from the
  command line or editing the gdm3 defaults as shown below (hopefully
  belt and braces - no AC timer and don't do anything on the timer
  expiring).

  The machine is an old Intel i3 NUC so perhaps is being detected as a
  latop (which is why I'm repoprting this)  but in any case it's the
  server version of Ubuntu and who wants their server put to sleep if
  no-one's using a GUI for 20 minutes?


  sudo vi /etc/gdm3/greeter.dconf-defaults
  # 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=0
        # - What to do after sleep-inactive-ac-timeout
        #   'blank', 'suspend', 'shutdown', 'hibernate', 'interactive' or 
'nothing'
        sleep-inactive-ac-type='nothing'

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: gdm3 42.0-1ubuntu7
  ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
  Uname: Linux 5.15.0-46-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  Date: Tue Aug 30 10:35:51 2022
  InstallationDate: Installed on 2022-08-30 (0 days ago)
  InstallationMedia: Ubuntu-Server 22.04.1 LTS "Jammy Jellyfish" - Release 
amd64 (20220809)
  ProcEnviron:
   SHELL=/bin/bash
   LANG=C.UTF-8
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
   PATH=(custom, no user)
  SourcePackage: gdm3
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1988149/+subscriptions


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

Reply via email to