I have provisioned a desktop Ubuntu 20.04 to run headless (power and network connections only, no keyboard, mouse, or display), and I access it via RDP from a Windows desktop. This configuration is working well, but the Power Off and Restart functions in the gnome desktop do not seem to work if the system is being accessed remotely. Clicking these functions appears to do nothing, and there are no notifications or errors. How am I meant to Power Off or Restart in a headless environment? These are essential functions in maintaining the system. BTW, this functionality works automatically and transparently in Windows-to-Windows RDP.
Thanks for your help