[juneau-lug] Re: remote display

  • From: Juan Rivero <jfjr@xxxxxxxxxxxxxx>
  • To: <juneau-lug@xxxxxxxxxxxxx>
  • Date: Sat, 1 Dec 2001 22:11:29 -0500 (EST)

On Wed, Nov 28, 2001 at 09:49:08AM -0900, Phil Witt wrote:
> 
> I may not word this question right so allow for some slack.
> 
> How does one go about getting into a linux box xwindows display from 
> another box?
> In the past I've used VNC but I've seen people talk about just jumping 
> right into the native display instead of using a different program.

Any Xwindow application can have a remote display (that is the
*server* and the *client* can be on different machines). Since the
concept of client and server in X is backwards from what most people
think, let me assume that you are sitting at machine 'here' and you
want to run a program (with Xwindows output) on machine 'there'. So
first you telnet (or ssl, or rlogin) to 'there':

 here> telnet there
 ... login, password,  blah blah
 there> export DISPLAY="here:0"  # set display to where you sit
 there>xprogram                  # run the program 

That's it. Assuming xprogram is an X-windows program you are all set.
You will see xprogram's output on your terminal, can interact with it,
anything. 'here' and 'there' can be fully qualified names. 

If the remote runs some windowing program other than X, well-- too
bad, doesen't work.

JR
---
The best advice I can give is to not use Windows unless you have to,
or if you have to, use a UNIX operating system on top of Windows like
UWIN or Cygwin.

  ---David Korn

---
Dr. Juan Rivero, University of Alaska Southeast
http://www2.jun.alaska.edu/~jfjr  email:juan.rivero@xxxxxxxxxxxxxx
---


------------------------------------
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: