On Sunday 25 January 2026 13:27:14 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2026 Sun, 25 Jan 10:22:11 +0100
Thierry de Coulon via tde-users scripsit:
On Sunday 25 January 2026 08:42:37 Dr. Nikolaus Klepp via tde-users wrote:
You could disable the logout dialog so that when the user closes his session it always ends with tdm/loghtdm/xdm and then use the *xm dialog to shutdown or press the power button to shut down in the first place. I did choose this aproach for all my systems.
Nik
How do you do that?
I've unticked the "offer shutdown options" in the session manager. It does remove everything but "logout", but then the user is back at the login screen and needs to find how to shutdown.
in ./share/config/ksmserverrc:
[General] confirmLogout=false excludeApps= loginMode=default offerShutdown=true screenCount=1 shutdownType=2
[Logout] doFancyLogout=false showLogoutStatusDlg=false
Manually: First you set the default behavior of the logout dialog to "shutdown", then you use it once. In the next session select no logout dialog, use it once. Next session should shutdown when you logout (or what ever you choosed in step 1). In the config "shutdownType" defines logout or shoutdown.
Yes! Your solution works. Combined with autologin this is perfect for my users, they don't need to know more about the OS.
sudo: could you post the lines in /etc/sudoers?
%USER ALL=(ALL) NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff
Or
%USER ALL=(ALL) NOPASSWD /sbin/halt, /sbin/reboot, /sbin/poweroff
I found both, so I tried both. Anyway, I still get "you must ne root" if I type poweroff.
Thank you,
Thierry
Nik
There is no power button on this "machine" (it's an UpBoard, for information), so that solution is not available.
I've tried modifying /etc/sudoers to let the user run poweroff, but it does not work (MX-25, Trixie based).
Thierry ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydes ktop.org