Subject: How can I get rsh to set DISPLAY
To: None <netbsd-help@netbsd.org>
From: Anders Dinsen <anders@dinsen.net>
List: netbsd-help
Date: 06/09/2001 08:29:44
I'm networking a couple of NetBSD hosts and I'd like to execute X clients
on a remote machine with something like:

% rsh machine xterm

which should bring up an xterm running on the remote machine. But $DISPLAY
is'nt set, so it does'nt work.

telnetd sets $DISPLAY.

Is there a reason for this? Can I change it? Is it a bug?

I know the workaround:

% rsh machine xterm -display $HOST:0.0 -T machine

... but I thought: "telnet does it, why doesn't rsh?" :-)

-- 
Anders Dinsen
anders@dinsen.net
http://dinsen.net/anders/