systemd recently added an option to reboot from session directly to bootloader in this PR https://github.com/systemd/systemd/pull/10495 From the Fedora perspective, there is also GRUB2 integration for rebooting to systemd, presented for example in this PR to gnome-session https://gitlab.gnome.org/GNOME/gnome-session/merge_requests/6 The patch to GRUB2 is being implemented in Tumbleweed now, so it would be great to see at least the systemd option to restart to bootloader, if you aren't comfortable having a grub command run from the code like the gnome-session example. We can carry a patch for it downstream in that case.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-session/-/issues/63. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev