RHEL 6.3 Workstation - Cannot Display Application back to Workstation

Latest response

I have a customer that recently installed RHEL 6.3 X86_64 Workstation on an HP xw 9400.  They display several applications back from their application server to this workstation, but they cannot get the applications to display back with out using "ssh -X"  Are there any settings that can be changed to make this work properly?

Responses

It is working properly. All that `ssh -X` does is sets the DISPLAY variable (to point to an SSH-encrypted tunnel) that X uses for remote display.

Depending on your environment's security configuration, that may be the only thing that will work. If you've got firewalls between the remote server and the workstation you're trying to display to (either in the network or active on the local or remote system), X protocols are generally blocked. That said, if there are no such impediments, what you can do is, on the local workstation:

  1. Type `echo DISPLAY` (usually will come back something like ":0")

  2. SSH to the remote system

  3. At the command-line, type "export DISPLAY=<Management.Workstation.F.Q.D.N>:<ValueFromStep1>. For example, if your local workstation's DNS name is wks9400.aol.com and step 1 returned ":0", you'd type "export DISPLAY=wks900.aol.com:0".

  4. Test the connection by typing "xterm". If things are working correctly, an Xterm from the remote system should display on your local system

 

After that, go about your business.

Should note that some applications that you redirect, either via `ssh -X` or via the above methods don't work well outside of a fuller X-desktop context (some embedded GUI installers suffer this problem).

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.