On Fri, Apr 21, 2023 at 03:57:58PM -0000, Nick Rosbrook wrote:
> Also, to check the active runtime, can you use `systemctl show
> --property=ActiveEnterTimestamp session-X.scope`? Or just show the full
> output of systemctl status session-X.scope. It should inform us if it is
> counting up to RuntimeMaxSec.
Apr 21 10:42:21 virgil /usr/libexec/gdm-x-session[15799]: dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
Apr 21 10:42:21 virgil gnome-keyring-daemon[15745]: The Secret Service was already initialized
Apr 21 10:42:21 virgil gnome-keyring-daemon[15745]: The PKCS#11 component was already initialized
Apr 21 10:42:21 virgil gnome-keyring-daemon[15745]: The SSH agent was already initialized
Apr 21 10:42:21 virgil /usr/libexec/gdm-x-session[15751]: (II) modeset(0): EDID vendor "AUO", prod id 4204
Apr 21 10:42:21 virgil /usr/libexec/gdm-x-session[15751]: (II) modeset(0): Printing DDC gathered Modelines:
Apr 21 10:42:21 virgil /usr/libexec/gdm-x-session[15751]: (II) modeset(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1454 768 771 777 793 -hsync -vsync (47.7 kHz eP)
Apr 21 10:42:25 virgil /usr/libexec/gdm-x-session[15751]: (II) modeset(0): EDID vendor "AUO", prod id 4204
Apr 21 10:42:25 virgil /usr/libexec/gdm-x-session[15751]: (II) modeset(0): Printing DDC gathered Modelines:
Apr 21 10:42:25 virgil /usr/libexec/gdm-x-session[15751]: (II) modeset(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1454 768 771 777 793 -hsync -vsync (47.7 kHz eP)
# systemctl show --property=ActiveEnterTimestamp session-35.scope
ActiveEnterTimestamp=Fri 2023-04-21 10:42:20 PDT
# systemctl show --property=RuntimeMaxUSec session-35.scope
RuntimeMaxUSec=5min
#
# date
Fri Apr 21 10:52:23 PDT 2023
#
Still running past the limit.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
<email address hidden> <email address hidden>
On Fri, Apr 21, 2023 at 03:57:58PM -0000, Nick Rosbrook wrote: ActiveEnterTime stamp session-X.scope`? Or just show the full
> Also, to check the active runtime, can you use `systemctl show
> --property=
> output of systemctl status session-X.scope. It should inform us if it is
> counting up to RuntimeMaxSec.
A test session with a 5-minute limit:
# systemctl status session-35.scope --no-pager -l | sed -e's/User .*/User foo/' transient/ session- 35.scope; transient) user-1000. slice/session- 35.scope
├ ─15573 "gdm-session-worker [pam/gdm-password]"
├ ─15745 /usr/bin/ gnome-keyring- daemon --daemonize --login
├ ─15749 /usr/libexec/ gdm-x-session --run-script "env GNOME_SHELL_ SESSION_ MODE=ubuntu /usr/bin/ gnome-session --session=ubuntu"
├ ─15751 /usr/lib/xorg/Xorg vt3 -displayfd 3 -auth /run/user/ 1000/gdm/ Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3
└ ─15762 /usr/libexec/ gnome-session- binary --session=ubuntu
● session-35.scope - Session 35 of User foo
Loaded: loaded (/run/systemd/
Transient: yes
Active: active (running) since Fri 2023-04-21 10:42:20 PDT; 2min 15s ago
Tasks: 18
Memory: 56.8M
CPU: 2.325s
CGroup: /user.slice/
Apr 21 10:42:21 virgil /usr/libexec/ gdm-x-session[ 15799]: dbus-update- activation- environment: setting QT_ACCESSIBILITY=1 daemon[ 15745]: The Secret Service was already initialized daemon[ 15745]: The PKCS#11 component was already initialized daemon[ 15745]: The SSH agent was already initialized gdm-x-session[ 15751]: (II) modeset(0): EDID vendor "AUO", prod id 4204 gdm-x-session[ 15751]: (II) modeset(0): Printing DDC gathered Modelines: gdm-x-session[ 15751]: (II) modeset(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1454 768 771 777 793 -hsync -vsync (47.7 kHz eP) gdm-x-session[ 15751]: (II) modeset(0): EDID vendor "AUO", prod id 4204 gdm-x-session[ 15751]: (II) modeset(0): Printing DDC gathered Modelines: gdm-x-session[ 15751]: (II) modeset(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1454 768 771 777 793 -hsync -vsync (47.7 kHz eP) ActiveEnterTime stamp session-35.scope stamp=Fri 2023-04-21 10:42:20 PDT RuntimeMaxUSec session-35.scope
Apr 21 10:42:21 virgil gnome-keyring-
Apr 21 10:42:21 virgil gnome-keyring-
Apr 21 10:42:21 virgil gnome-keyring-
Apr 21 10:42:21 virgil /usr/libexec/
Apr 21 10:42:21 virgil /usr/libexec/
Apr 21 10:42:21 virgil /usr/libexec/
Apr 21 10:42:25 virgil /usr/libexec/
Apr 21 10:42:25 virgil /usr/libexec/
Apr 21 10:42:25 virgil /usr/libexec/
# systemctl show --property=
ActiveEnterTime
# systemctl show --property=
RuntimeMaxUSec=5min
#
# date
Fri Apr 21 10:52:23 PDT 2023
#
Still running past the limit.
-- /www.debian. org/
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https:/
<email address hidden> <email address hidden>