When checking env, the following are available in the Terminal window that is respawned after the poweroff/reboot test:
SUDO_COMMAND=/usr/bin/bash -c source /var/tmp/checkbox-ng/sessions/session_title-2022-07-01T09.18.33.session/session-share/__respawn_checkbox; exec bash SUDO_GID=0 SUDO_UID=0 SUDO_USER=root
these env variables are not available in a Terminal opened with Ctrl+Alt+T.
When checking env, the following are available in the Terminal window that is respawned after the poweroff/reboot test:
SUDO_COMMAND= /usr/bin/ bash -c source /var/tmp/ checkbox- ng/sessions/ session_ title-2022- 07-01T09. 18.33.session/ session- share/_ _respawn_ checkbox; exec bash
SUDO_GID=0
SUDO_UID=0
SUDO_USER=root
these env variables are not available in a Terminal opened with Ctrl+Alt+T.