Hello - I am trying to connect to a remote solaris box from a solaris box i have locally present with me using 'ssh login@IP' ... Its connecting fine but... when I run xclock - it says 'Can't open display'
Whereas, IF I connect to same remote solaris IP from my windows desktop locally via putty and running xming. xclock works fine.
Please let me know how to run xclock as I can not have xming on local solaris certainly.
Check that the DISPLAY environmental variable on the remote system is set correctly to your local system and run xhost on your local system to enable/permit the remote system to display xclock on your local system.
When I connect from putty i.e. local windows to remote solaris - DISPLAY=localhost:10.0 is already set. When I connect from local solaris to remote solaris via ssh oracle@IP - DISPLAY isnt set. Then I gave export DISPLAY=localhost:10.0
No results. I tried #ssh -X remote xclock ... Nothing is coming and no errors.