[PLUG] ssh and X forwarding

Kenneth G. Stephens kens at kens.cad2cam.com
Sun Dec 7 15:00:03 UTC 2003


On Sun, 2003-12-07 at 12:04, Rich Shepard wrote:
>   Am I correct in assuming that if X forwarding is set to "yes" in
> /etc/ssh_config and /etc/sshd_config, then it's done automatically? That is,
> an X app running on the server is displayed in X on the client?
> 
>   I'm wondering if this would be the most parsimonious way for my fiancee to
> read and compose mail from her laptop. Easier than me trying to learn how to
> properly set up an IMAP server for her use.
> 
>   My thought is to write a shell script attached to a panel button on Xfce
> on the laptop. When she wants to read/write mail, the script would initiate
> a ssh connection to 'salmo', she'd enter her password, then have slypheed
> run on 'salmo' (while I'm running X on the same machine) but display on her
> laptop. I assume that in the script I'd need to tell sylpheed to use 1: for
> an X display because 0: is alreay in use.
> 
> Make any sense to you gurus?
> 
> Rich
> 
> -- 
> Dr. Richard B. Shepard, President
> Applied Ecosystem Services, Inc. (TM)
> <http://www.appl-ecosys.com>
Rich,

We use VNC to run programs on our compute servers. X-forwarding in ssh
sometimes works, sometimes doesn't.  VNC also has the advantage of being
able to disconnect without loosing the session. She comes home and runs
vncviewer and she is right back where she left off.

Ken Stephens
CAD2CADM.COM





More information about the PLUG mailing list