How to run an external program from Homebridge terminal & plugin?
### Current Situation

I have a brand new ubuntu Homebridge install on an old mac mini. Everything works great.  I am using the cmdtriggerswitch plugin to run terminal commands on my ubuntu box.  Typical commands work fine.  However when I try to run an external program it fails.

I have tested the command in the homebridge terminal and get the below error.

```
root@Ubuntu-Macmini:/var/lib/homebridge# /opt/myapp/bin/myapp
GID no changed
UID no changed
Setting USER, USERNAME and LOGNAME to  "root"
Setting HOME to  "/root"
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Aborted (core dumped)
```

I have edited the sudoers file (i believe correctly?) to allow root access.  

Is it possible for homebridge to run an external app via a plugin?  is this a ubuntu privilege problem?

ideas? 

### Logs

```markdown
See above
```


### Configuration

```json
n/a
```


### Environment

- OS: Ubuntu 22.04
- Software:
- Node:
- npm:


### Process Supervisor

hb-service

### Additional Context

_No response_