X server refusing remote clients

Rick Stevens rstevens at vitalstream.com
Mon Feb 14 22:11:41 UTC 2005


Douglas Frank wrote:
> OK, I had unsetenv'd it because my .login file on the remote machine
> sets DISPLAY to point to a different machine (my old workstation).  What
> the heck, I'll comment out that line... and it's working?  YES!!!!
> 
> Thank you all for the hints.   Now I wish I understood why this works
> and simply setting DISPLAY doesn't.  Btw DISPLAY now defaults to the
> server I logged into; obviously I don't have permission to display on
> the admin's own monitor.  Apparently ssh re-routes stuff back to the
> node I logged in from...?

If "echo $DISPLAY" comes back with something like "localhost:10.0" or
"hostname:10.0", yes ssh has tunneled X back to you (which is what it's
supposed to do if you have "X11Forwarding yes" in the sshd config file.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   To understand recursion, you must first understand recursion.    -
----------------------------------------------------------------------




More information about the fedora-list mailing list