GitHub GistEvent at 2014-01-14 10:32:09
Actor: synackme
Payload: id: 8416343
url: https://gist.github.com/8416343
name: gist: 8416343
desc: This is a quick tip if you use an xserver that is running remotly and you want to set the DISPLAY enviroment variable when you login to the machine using ssh. It is actually very simple to do. When you use ssh it will automatically set the SSH_CLIENT enviroment variable to contain the client connection details eg the ip address port number etc.. to get this to work you will need to paste the following into your .bashrc file. 
action: create