title: how to run appium command on startup by using terminal
body: <p>I want to run appium program and see appium process running in terminal automatically on startup</p>
  <p>I have created a simple bash script to run the appium command using gnome-terminal.</p>
  <p><strong>appium.sh</strong></p>
  <pre><code>#!/bin/sh
  gnome-terminal -- appium
  </code></pre>
  <p>and when I run the command by terminal <strong>./appium.sh</strong> it works.</p>
  <pre><code>(Use `node --trace-deprecation ...` to show where the warning was created)
  [Appium] Welcome to Appium v1.21.0
  [Appium] Appium REST http interface listener started on 0.0.0.0:4723
  </code></pre>
  <p>but when I put in <code>sudo nano /etc/xdg/lxsession/LXDE-pi/autostart</code> to run the program automatically at startup.</p>
  <pre><code>@lxpanel --profile LXDE-pi
  @pcmanfm --desktop --profile LXDE-pi
  @lxterminal -e bash /home/pi/appium.sh  
  @xscreensaver -no-splash
  </code></pre>
  <p>gnome-terminal opens successfully, but the appium command fails to run.</p>
  <pre><code>There was an error creating the child process for this terminal
  Failed to execute child process “appium” (No such file or directory)
  </code></pre>
  <p>Is there something wrong ? please help</p>