On Tue, 21 Mar 2000 12:54:12 +0000 (GMT) Dave Airlie <david.airlie at drua.ie> wrote:
| other answer use ssh, with X forwarding... damn useful for xauth.. do
| someat like this.. I had one PC, with X server and 5-6 sparcs with shared
| home dirs,
| doing something like
| xauth extract - pcname:0.0 | rsh sparc xauth merge -
| this grabs the key from the pc screen throws it onto the sparc, then xon
| would work fine..
| I used to have four of five of these rsh's in my start up scripts...
<confusion> How does this use ssh?
I kind of cheated in that I just used Linux on my primary workstation and
passed the xauth cookies via NFS and invoked via xrsh.
Then I discovered ssh and ssh-agent.
eval `/usr/local/bin/ssh-agent -s`
Then in my .fvwm2rc:
AddToFunc SshXHost "I" Exec ssh -f $0 'nxterm -title "$0 : ssh" -n "$0 : ssh"'
AddToMenu "Shells at desktop.xpm@" "Shells" Title
+ "Mint%mini-lock.xpm%" SshXHost mint
You can even load the likes of xload that way.
Since the output of ssh-agent is evaled, the magic variables are defined
for every process you run under that X login. It doesn't even need NFS to
work, although you'll probably want to get your keys straightened out first.
--- Paul Mc Auley <pmcauley at iol.ie>
- My name is John Johnson but everyone knows me as Vickie.
-- Alcatraz Guide, So I Married An Axe Murder
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!