See if the following works:
Here a script to start
ethminer in the background. You should be able to run this script from your physical terminal or remotely over SSH.
Save the following text into
$HOME/bin/runEthminer. You may have to run the command
mkdir $HOME/bin first and you will have to customise your
ethminer command line or the FARMURL environment variable.
# Kill existing instance of ethminer
if [ "$(pidof ethminer)" ]
echo "Killing ethminer"
killall -q ethminer
# Farming to a local geth instance
# Farming to pool - check your pool URL specifications
ethminer -F $FARMURL -G 2>> $LOGFILE &
Set the executable bit of this file by running the command
chmod 700 $HOME/bin/runEthminer.
You can now start
ethminer by running the command
You can view your
ethminer log file using
tail -f $HOME/ethminer.log