export DISPLAY=:0; gedit #That will open gedit on host. No xserver required. #And just in case, I found these commands somewhere... export DISPLAY=:0; nohup "gedit" &>/dev/null