That is because gnome-terminal only takes commands from its terminal (the terminal window created), not from the command line specified by -x.
I think you would have better luck putting it all on the same command...
"gnome-terminal -x su - appium -c appium"
The su - is to be sure that the home directory is correct as is the environment. Then the -c command tells su to execute the appium application. When that application exits, so does su, and gnome-terminal.
Last edited by jpollard; 06-10-2014 at 03:39 PM.