TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Running the Linux foreground agent without X-Windows

    Linux
    2
    2
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RussR
      Russ
      last edited by Russ

      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:
      /usr/share/triggercmdagent/resources/app/src/installdaemon.sh

      You can check the daemon status with:
      systemctl status triggercmdagent

      Russell VanderMey

      1 Reply Last reply Reply Quote 1
      • S
        stevef9432203
        last edited by

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

        sudo systemctl enable triggercmdagent,service

        1 Reply Last reply Reply Quote 0
        • tuicemenT tuicemen moved this topic from Instructions on
        • First post
          Last post