Well, you need FAST bandwidth to do it reasonably, but assuming you
have it, it's easy.

First, to run a single program, telnet (or rlogin or ssh or...) to the
remote computer, set the DISPLAY environment variable to point back to
your machine, and run the X program.

To get a full session, you need to run only a minimal number of
programs locally, and then run most everything else from the remote
computer.  So change .xinitrc to just have this single line (Replacing
ssh by rsh or whatever):

    xterm -e ssh remote.host exec ./.xsession

Put your session commands in the .xsession file on the remote
computer.  


By the way, if you start running X programs remotely a lot, you should
look into xauth.  Otherwise people will likely be able to connect to
your X server and do nasty annoying things.


Lex



Jim Roland writes:
 > Is there any such thing as an X windows version of a telnet session?
 > Basically, I'd like to be able to get an X windows session via remote just
 > like one would get a shell prompt (and run programs like pine).  Thanks in
 > advance.
 > 
 > 
 > 

Reply via email to