I want to restart a MacMini with macOS Sierra in safe mode, but I have only remote access.
You can do this with this:
sudo nvram boot-args="-x"
But for macOS Sierra this gives an error:
nvram: Error setting variable - 'boot-args': (iokit/common) not permitted
You have to start in RecoveryMode to be able to do this.
Is there a way to restart in Safe Mode remotely?