Re: FVWM: NUTS! Can't get rsh working.

From: brian moore <bem_at_cmc.net>
Date: Thu, 14 May 1998 11:39:00 -0700

On Thu, May 14, 1998 at 02:16:05PM -0400, Maxwell Spangler wrote:
> I'm assuming the "hang" I see is Fvwm waiting for my command (rsh) to go
> off, and start itself correctly before Fvwm returns to regular window
> processing. It seems to run rsh, but sit there waiting for something and
> the only thing I can do is move my mouse around.. Can't select windows,
> can't kill anything with the mouse, etc.

Actually, I believe the hang is that rsh doesn't supress the std file
handles properly and ends up sleeping on the socket reading nothing.
Try redirecting stdin/out/err from/to /dev/null.

I'd cut and paste it, but I switched to ssh long ago and haven't looked
back. (Compression over a pokey modem is wonderful... it even
compresses Xprotocol pretty well.)

> Well, this is my home network, only connected to the outside world via a
> rare PPP connection. As such, security isn't much of a concern, but were
> I to be doing this on the internet or a more populated network, yes, ssh,
> would be a great idea. Thanks for the suggestion.

I run ssh from home, partly for security, partly for ease of use.

> I'm trying to use rsh to start an xterm on the remote system so that as
> much of the resource (memory/cpu) usage is on the remote, and only the
> display is on my local system. Essentially, I do a lot of work on the SCO
> system and I want to use my Linux system as an Xterminal. I figured rsh
> to start an xterm was just as good as any way..

Yep ('cept for rsh's security and a bad mix with X's security), though
you do have to ensure the file handles are all closed or rsh will sleep
forever.

-- 
Brian Moore                             Kill A Spammer For Jesus
Sysadmin, C/Perl Hacker, Usenet Vandal 
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu May 14 1998 - 13:40:11 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST