>> DISPLAY=:1 foo > > ... doesn't work for me DISPLAY=:0 foo ? - do you have X running on your host for your host's user at all? - has your ssh x-forwarding enabled?