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

From: Maxwell Spangler <maxwell_at_clark.net>
Date: Thu, 14 May 1998 14:16:05 -0400 (EDT)

On Thu, 14 May 1998, Guangyong Xu wrote:

> That does seem odd. I don't know why you could execute it successfully
> from command line but not in your .fvwm2rc file. When it freezes your
> display, I don't think killing the rsh process will help. You may have
> to go to the machine 'toronto' and kill the 'xterm' process you
> started there.

Ok, that's another thing I have to do: I did check to see that Fvwm2 is
running rsh on the local linux machine, and I'm assuming it's attempting
to connect to 'toronto' and do its job, but it's their just sitting there.
Now I'll telnet to toronto and see if there is any activity.

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.

> What I don't understand is, why are you running xterm
> on a remote system and displaying it to your local display? It would be
> much simpler and faster to do something like:
> xterm -e "ssh -l maxwell toronto" in your .fvwm2rc file.
> Unless you don't have xterm installed on your local LINUX system, I
> really don't see the advantage in running one remotely. This is not a
> solution to your problem, just an alternative. And I think 'ssh' is much
> better to use in you case since it uses the secure X channel and sets
> your display automatically for you, and 'rsh' is actually something that
> should not be used any more.

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'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..

> On Thu, 14 May 1998, Maxwell Spangler wrote:
>
> > I'm on Linux, with, I believe, Fvwm2 2.0.45/46, and I can't get the most
> > basic UNIX networking applet to run:
> >
> > I start X, start an xterm inside Fvwm2 and then execute manualy:
> >
> > rsh -l maxwell toronto "/usr/bin/X11/xterm -display maxwax:0.0"
> >
> > When run on system 'maxwax' It should:
> > execute rsh,
> > rsh connects to toronto as user maxwell
> > run /usr/bin/X1/xterm on toronto
> > display a new xterm window on system maxwax's display.
> >
> > This works fine, but when I attempt to place the same command within my
> > .fvwm2rc file, it hangs when I execute it.
> >
> > Switching to another virtual console and performing a 'ps' shows two rsh
> > processes sitting there. Killing them doesn't do anything, I have to kill
> > X or ALT-backspace to shut X down and restart.
> >
> > What am I missing here? I'm performing the same function on my SCO OS504
> > system at work with it's rcmd instead of 'rsh'--basically the same
> > thing--without any problems.
> >
> > ANY suggestions greatly appreciated!
> >
> > -----------------------------------------------------------------------------
> > Maxwell Spangler, Software Developer, Greenbelt, Maryland, USA!SouthparkKCKSAS!
> >
> > --
> > 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.
> >
>

-----------------------------------------------------------------------------
Maxwell Spangler, Software Developer, Greenbelt, Maryland, USA!SouthparkKCKSAS!

--
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:17:29 BST

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