[PLUG] X11 to remote client

Keith Lofstrom keithl at kl-ic.com
Wed Oct 20 16:30:02 UTC 2004


I want to display X programs on a local client, from a remote server,
using ssh.  I expect there is a correct, automagical way to do that.
Right now, it involves jumping through a couple of hoops.

# locally, in a client xterm:

client> xhost +server


# in another client xterm, ssh'ed to the server:

server> export DISPLAY=client:0.0
server> an_X_application

... and that will pop up an X window for an_X_application on my client
screen.  But I expect that I can accomplish the same thing with by
twiddling, say, .bashrc on the server and /etc/ssh/<someconfigfile>
on the client.  Or something.  

What is the correct way to do this?

Keith

-- 
Keith Lofstrom          keithl at keithl.com         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs




More information about the PLUG mailing list