Originally Posted by locus84
I am having trouble redirecting X to remote servers.
I have an NX session running on host1 at port 1007.
I run "xhost + host2" on host1 and then ssh into host2.
I run "export DISPLAY=host1:1007.0" on host2 and try launching an xterm, but here's what I get:
xterm Xt error: Can't open display: host1:1007.0
If I run "ssh -X host2" then X forwarding works, but I need to know what the -X option does because I am trying to get qsh command (for Oracle's N1 Grid) to work which doesn't have the -X option.
Yah. The export DISPLAY=host1:1007.0
doesn't do what you think it does.
It sets a display number, not a network port. How to make X apps connect to a
server on a different port I don't know, never felt the urge.