#!/bin/bash if (($# < 2));then echo "Usage: ${0##*/} dest text [text ...]" >> /dev/stderr exit 1 fi dest=$1;; shift ssh ${dest} "DISPLAY=:0 python" <