• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
  • R
    Russ
    last edited by Russ Apr 26, 2017, 2:32 AM Apr 23, 2017, 1:30 AM

    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 Feb 2, 2019, 12:13 AM

      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
      • T tuicemen moved this topic from Instructions on Jan 31, 2022, 12:39 PM
      • First post
        Last post