Lester P. Wang, MD. wrote:

> Is there a how to out there describing how to display Xwindows on a
> different machine?
> I've always been confused on how to do this.
> Thanks



Well, just from watching this thread today I've finally learned how; but I
don't know of any place where it's "officially" documented. . .

Assuming that you have two machines with Xwindows installed and a net
connection between them, do this:

On one machine, start Xwindows as normal.  Open a command shell and enter:

$ xhost +<name or ip of remote machine>

For example, on my machine, fred:

[michael@fred michael]$ xhost +alice
alice being added to access control list

This will allow the machine "alice" to open windows on my desktop on fred.

Then, telnet to the remote machine and do something like this:

[michael@alice michael]$ export DISPLAY=fred:0.0

This tells alice that instead of using its local display, it should open
windows on fred.  Now, when I type (for example) xeyes from a fred->alice
telnet session, the eyes pop up on my local desktop instead of on alice (which
doesn't even have proper display settings for Xwindows to work locally).
Already I've been able to use the "make xconfig" option to configure the
kernel on a machine where I can't run local Xwindows.  This has made me a very
happy boy.

The :0.0 part of the DISPLAY variable still confuses me; I know that it's
possible to have more than one display associated with a machine, but I'm not
sure what the proper in's and out's are.  So far all I've needed has been
:0.0.  Note also that if the "remote" machine can't resolve the host name of
the "local" machine (incomplete or nonexistant DNS), then you'll have to use
IP addresses instead.

Hope this helps, and many apologies to anyone who I've offended with my
simplistic understanding of this stuff.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to