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 …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it