Running the Linux foreground agent without X-Windows

  • administrators

    The GUI Linux agent is built on Electron which is based on Chromium. Chromium is an open-source web browser project started by Google. It's a GUI app, so on Linux it exits if it doesn't find an X-Windows GUI.

    So if you want to run Linux without X-Windows, or if you want to run the agent in an SSH session, you can run it like this:

    node /usr/share/triggercmdagent/resources/app/src/agent.js --console

    Most people will probably only want to run background commands in the daemon. You can install the daemon with:

    You can check the daemon status with:
    systemctl status triggercmdagent

  • If you want this to load at system boot - be sure to enable the triggercmdagent,service

    sudo systemctl enable triggercmdagent,service

Log in to reply

Looks like your connection to TRIGGERcmd Forum was lost, please wait while we try to reconnect.