i ran sessionctl reboot and saw this:
Sep 6 01:10:32 entadono sessiond[1731]: power action accepted
Sep 6 01:10:32 entadono sessiond[1731]: reboot command is not configured
system details:
[htpc@entadono:~]$ cat /etc/finit.d/sessiond.conf
service [234] name:sessiond cgroup.system,delegate restart:10 <service/dbus/ready> notify:systemd env:/nix/store/grk5qgfriwn8594z2nah2m7nxq8ldsv5-sessiond.env /nix/store/rbhlkfwbghdnqrvgmj7bxh6kwa4rxbv3-sessiond-0.2.0/bin/sessiond --config /nix/store/l39nar5wxcnx1p9hvg1x7zgg5w13vhhz-sessiond.toml --log-target syslog -- daemon for power management
[htpc@entadono:~]$ cat /nix/store/l39nar5wxcnx1p9hvg1x7zgg5w13vhhz-sessiond.toml
[power]
hibernate = ["/nix/store/5zwq26v0qm1jv5k1adckdsqy4998fxwz-zzz-0.2.0/bin/zzz", "-Z"]
suspend = ["/nix/store/5zwq26v0qm1jv5k1adckdsqy4998fxwz-zzz-0.2.0/bin/zzz", "-z"]
the htpc user is logged onto the computer via autologin and also one ssh session:
[htpc@entadono:~]$ sessionctl session list
ID │ UID │ USER │ CLASS │ TTY │ STATE │ SINCE
───────────────────────────────────────────────────────────
1 │ 1001 │ htpc │ user │ - │ online │ 25min 57s ago
13 │ 1001 │ htpc │ user │ - │ online │ 4min 45s ago
[htpc@entadono:~]$ sessionctl user list
UID │ USER │ STATE │ LINGERING
────────────────────────────────────
1001 │ htpc │ online │ false
but then again... this might be misleading, because sessiond-uaccess isn't properly working anyways...
[htpc@entadono:~]$ getfacl /dev/dri/*
getfacl: Removing leading '/' from absolute path names
# file: dev/dri/by-path
# owner: root
# group: root
user::rwx
group::r-x
other::r-x
# file: dev/dri/card1
# owner: root
# group: video
user::rw-
group::rw-
other::---
# file: dev/dri/renderD128
# owner: root
# group: render
user::rw-
group::rw-
other::---
You need to configure a reboot command for sessionctl reboot to work your current configuration only defines suspend and hibernate.
The more concerning part is sessiond-uaccess. Both sessions show no TTY and neither is active. That’s expected for SSH, but not for the autologin session. Since there’s no active local session,
sessiond-uaccesswon’t apply any ACLs.Could you run
fgconsoleandsessionctl session list --json?