On 5/10/24 16:32, Masaru Nomiya wrote:
Hello,

In the Message; 

  Subject    : How to Disable KDE User Halt and Reboot Buttons?
  Message-ID : <eebb6656-e7b3-4015-90a8-30a043a84fd1@sweet-haven.com>
  Date & Time: Fri, 10 May 2024 12:05:19 -0700

[LW] == Lew Wolfgang <wolfgang@sweet-haven.com> has written:

LW>  Hi Folks,

LW>  I've searched a bit but haven't found a satisfying answer to my issue.

LW>  The problem occurs when a non-root user connects to a server
LW>  using xrdp.  This user then has full authorization to halt/reboot the
LW>  server using the KDE halt or reboot buttons,  not exactly an ideal situation.

LW>  So how can I disable remote xrdp-connected users from rebooting
LW>  or halting the server?  This would also stop users from rebooting/halting
LW>  the server when directly sitting at the console, which may not exist
LW>  anyway.

Will a setting of needs_root_rights=no in /etc/X11/Xwrapper.config not
work?

I don't have that filename in any of my systems, does it need to be created?

Regards,
Lew