Re: Use graphic terminal on remote machine



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.


Relevant Pages

  • Re: Show-stopper Exchange problem
    ... we want the display name to reflect the name of the ... With pretty much any regular old SMTP server, ... client running in smtp mode to set your display name on outbound email, ...
    (microsoft.public.windows.server.sbs)
  • Re: Advice needed for a proposal
    ... I wrote a similar app for a client. ... "server" program that collected, stored and displayed data, and a "client" app ... in an Advantage database. ... display of values by polling the connected unit at user-configurable time periods. ...
    (borland.public.delphi.non-technical)
  • Re: Remoting TcpChannel Timeout ? ?
    ... if i start the server app and wait some time before starting the client then ... if fails with an exception on the client program. ... richtextbox on the form to the Display class ... public delegate void SetDisplayTimingHandler(object sender, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: DISPLAY=Windows-Machine:0.0 ?
    ... make an X client display on any machine that's running an X server. ... X client is almost any GUI program running under a Unix-like system; ... If you want an X server that runs on 'Doze, ...
    (comp.os.linux.misc)
  • Re: Remote X windows to your application instead of website?
    ... > However with X-windows, it is a statefull communication and server has to ... > maintain some information about each client all through the life of client ... I'm afraid, server cant scale well! ... server validate it. ...
    (comp.os.linux.x)