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

Zorin OS

Linux
2
3
420
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.
  • S
    Smart Communities
    last edited by Sep 8, 2022, 6:25 PM

    Can I run triggercmd on Zorin OS? FYI, I'm a total beginner when it comes to Linux.

    I was able to install but nothing happens when I click on it. I installed via download link on triggercmd.com. Device is listed when I log in to triggercmd.com

    What did I do wrong?

    Also confirming triggers can only be added on the device it's to be used on. I can't add it through the site and have it pushed. That correct?

    R 1 Reply Last reply Sep 9, 2022, 10:17 PM Reply Quote 0
    • R
      Russ @Smart Communities
      last edited by Russ Sep 10, 2022, 10:45 PM Sep 9, 2022, 10:17 PM

      @Smart-Communities, I haven't tried Zorin OS yet. I'm downloading it now. I'll give it a try soon.

      I think you installed and ran the TRIGGERcmd agent, but I think you didn't leave it running. So when you tried to run your commands on the computer they didn't run because the agent wasn't running.

      Also, that's true - you can't create commands from the website. You have to either edit the text in the commands.json file manually, or use the GUI editor.

      These are the Ubuntu instructions. I read that Zorin is based on Ubuntu.

      EDIT: I tried it. Unfortunately it didn't work to just run triggercmdagent but you can run it like this in a Terminal window:

      Run this first to install nodejs:

      sudo apt install nodejs -y
      

      Then you can run the agent in foreground mode like this:

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

      You can install the background agent to start as root when Zorin OS boots like this:

      sudo su -
      node /usr/lib/triggercmdagent/resources/app/src/agent.js --console
      (CTRL-C after pasting in the token)
      sh /usr/lib/triggercmdagent/resources/app/src/installdaemon.sh
      

      Because that agent is running in background mode, It will only run commands with ground = background in your /root/.TRIGGERcmdData/commands.json file.

      Russell VanderMey

      S 1 Reply Last reply Nov 22, 2022, 10:46 PM Reply Quote 0
      • S
        Smart Communities @Russ
        last edited by Nov 22, 2022, 10:46 PM

        @Russ thanks Russ. I'm a super beginner with Linux but will give this a shot.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post