Re: Use graphic terminal on remote machine
- From: "Harvey, Bruce T" <HarveyB@xxxxxxxxxxx>
- Date: Thu, 22 Oct 2009 07:47:18 -0400
Assuming that the X-Windows "client" (where you set the DISPLAY variable
and where you will execute the X-Windows command) has X-Windows fully
installed, you first:
1. Make sure the X-Windows "server" (where the windows or objects
actually display) has its xwindows server running;
2. On the "server" execute xhost +yyy.yyy.yyy.yyy
(yyy.yyy.yyy.yyy is the ip address of the "client" ... this enables your
"client" system to display stuff on the "server" system)
3. On the "client" (the system running the program that needs to
use a display server), set the display variable to
DISPLAY=xxx.xxx.xxx.xxx:0.0 (xxx.xxx.xxx.xxx is the ip address of the
"server", 0.0 is the display window, pretty much always 0.0 for basic
stuff ... don't forget to export the variable)
4. On the client, run your command (a good test is xclock or
xeyes). It should appear on the server.
X-Windows' use of client and server seems backwards, but in actual
practice the meanings are accurate. Even though the "workstation" is
usually thought of as the client and the program runner is the server,
in XWindows logic, the client is the machine that needs to display
something, and the server offers up its display resources to the program
client.
Long winded and probably not necessary, but this should work fine.
Cygwin on a PC works just fine as a server, and has an easy point and
click startup of the XWindows server ... remember to execute the xhost
command.
Many thanks!
Bruce
--
Bruce T. Harvey
UNIX System Administrator, SAIC | DHS/ICE OCIO
1120 Vermont Ave, Suite 300, Washington, DC 20005
202.261.9589 (office) - 202.465.9537 (cell) | harveyb@xxxxxxxxxxx
________________________________
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On
Behalf Of John Dunn
Sent: Thursday, October 22, 2009 4:25 AM
To: aix-l@xxxxxxxxxxxxx
Subject: [aix-l] Use graphic terminal on remote machine
I have an AIX 5.2 server with only a ascii terminal.
I want to access a X windows session on this server via the
graphics console on another AIX server.
I presume I can do this by setting the DISPLAY variable
correctly...but not quite sure of the process
John Dunn
This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.
Thank you.
- References:
- Use graphic terminal on remote machine
- From: John Dunn
- Use graphic terminal on remote machine
- Prev by Date: Use graphic terminal on remote machine
- Next by Date: Re: Use graphic terminal on remote machine
- Previous by thread: Use graphic terminal on remote machine
- Next by thread: Re: Use graphic terminal on remote machine
- Index(es):
Relevant Pages
|