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

    Running the Linux foreground agent without X-Windows

    Scheduled Pinned Locked Moved Linux
    2 Posts 2 Posters 2.1k Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post