Also both machines seem to be using DISPLAY=:1 now.
Finally minor changes to sshconfig
#!/bin/bash
-gnome-screenshot -caf /System/tmp/Screenshot-$(date +%F@%T).png
+gnome-screenshot -caf /System/tmp/Screenshots/$(date +%F@%T).png
#!/bin/bash
-gnome-screenshot -cwf /System/tmp/Screenshot-$(date +%F@%T).png
+gnome-screenshot -cwf /System/tmp/Screenshots/$(date +%F@%T).png
fi
fi
-if [ $host = "earth" ]; then
+#if [ $host = "earth" ]; then
export DISPLAY=:1
-else
- export DISPLAY=:0
-fi
+#else
+# export DISPLAY=:0
+#fi
sleep 2
/usr/local/bin/setdpms.sh
StrictHostKeyChecking no
LogLevel ERROR
-Host mars earth home defaria.com
+Host mars earth home defaria.com sandboxu
ForwardX11 yes
ForwardX11Trusted yes
-Host jupiter cpanel github.com sandbox sandboxal sandboxu
+Host jupiter cpanel github.com sandbox sandboxal
ForwardX11 no
ForwardX11Trusted no
Hostname 10.2.99.106
IdentityFile ~/.ssh/cpanelkey
-Host enterprise.cpanel.net
- IdentityFile ~/.ssh/cpanelkey
-
Host 10.2.* sandbox*
ForwardAgent yes
StrictHostKeyChecking no