]> gitweb.pimeys.fr Git - scripts-20-100.git/blob - xauth-read.sh
fb9c8a752ea7c6c20ad134563b3bc6452229646d
[scripts-20-100.git] / xauth-read.sh
1 #!/bin/bash
2
3 # Pour lire les variables pour pouvoir afficher un truc à distance
4
5 export XAUTHORITY=$(cat /tmp/${USER}_xauthority)
6 export DISPLAY=$(cat /tmp/${USER}_display)
7
8 echo $DISPLAY