X11 display over ssh with monitor connected to remote machine
- by Sumit
I have the following setup: Machine A (a.corp, 192.168.100.130, local machine) and Machine B (b.corp, remote machine) and a monitor is connected to each of these machines. When I ssh from a.corp to b.corp as
$ ssh -X b.corp
$ xclock
Error: Can't open display:
I tried setting the DISPLAY variable as
$ ssh -X b.corp
$ export DISPLAY=`echo…