export
PuTTY export client display on login for opening X application and terminal.
2010/04/11
export DISPLAY=$(echo $SSH_CLIENT |awk '{print $1”:0.0”}’) […] Explanation: SSH_CLIENT contains the IP and the port of the client machine. So we need to export …