Issues executing simple Shell Script

Resolved

Issues executing simple Shell Script

avatar

Hi there,

I am having some issues with running the below outside of a Running Terminal:

#!/bin/bash

# Suspend the system
systemctl suspend


Ideally I want to be able to: Right Click the Host > Send Suspend command, rather than ensuring the Terminal is in focus etc.
2b0f8b73-6da3-4d31-b2ed-96af80830009
Is this possible, or am I thinking about this in the wrong way?

Kind regards,
Andrew

2b0f8b73-6da3-4d31-b2ed-96af80830009.png

All Comments (2)

avatar

Hello,

Thank you for reaching out.

It is unfortunately not possible to launch a script outside of an active terminal session in Remote Desktop Manager. Scripts are executed within the context of the session or entry that initiates them.

If you'd like, I can forward this case to our feature request forum.

Best regards,

Carl Marien

avatar

No, thank you for explaining, Carl :)

I was kinda tired when I posted this lol

Andrew