I have installed firefox and xauth on the centOs 6.6 server as follows:
sudo yum install firefox
sudo yum install xauth
On my mac, I am using iTerm2
On my iTerm2 session, I also exported my display as follows:
export DISPLAY=192.168.0.3:0.0
Then from my iTerm2 session I ssh to this centOs 6.6 server as follows
ssh -Y server
Then in my centOs 6.6 server I try to start firefox as follows:
firefox&
Then I get after a long time the connection timed out error as follows:
$ firefox&
[1] 56352
$ connect 192.168.0.3 port 6000: Operation timed out
Can someone please help me fix this so that I can start firefox on centOs 6.6 using from iTerm2 on mac using ssh?