Set display like this (in most shells):
export DISPLAY=mybox:0.0
My prefered method, tho, is to use ssh--instead of rsh.
Just ssh to the other box and fire up Netscape or whatever, and it will
automatically take care of forwarding everything for you.
On Tue, 31 Aug 1999, phrostie wrote:
> now that i have two machines tied together
>
> one of the first things i wanted to do was to learn
>
> how to launch X applications from the other box.
>
> this way i would not bog down my desktop.
>
> well some work and some don't.
>
> i can pull up tkdesk, arena, and xbill,
>
> but not netcfg or some others.
>
> i get:
>
> [phrostie@kansas download]$ rsh oz netcfg -d kansas:0.0
> Traceback (innermost last):
> File "/usr/lib/rhs/netcfg/netcfg.py", line 24, in ?
> from rhtkinter import *
> File "/usr/lib/rhs/python/rhtkinter.py", line 52, in
?
> e = Entry()
> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1288,
in __init__
> Widget.__init__(self, master, 'entry', cnf,
kw)
> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1042,
in __init__
> BaseWidget._setup(self, master, cnf)
> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1017,
in _setup
> _default_root = Tk()
> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 844,
in __init__
> self.tk = _tkinter.create(screenName, baseName,
className)
> TclError: no display name and no $DISPLAY environment variable
> [phrostie@kansas download]$
>
> this is probably a dumb question but how do i set $DISPLAY
>
> --
> phrostie@xxxxxxxxxxxxx
> Oh I've slipped the surly bonds of dos
> and danced the skies on LINUX silvered wings.
> http://www.cottagesoft.com/~phrostie/cad-tastrafy
>
>
>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
Jonathan Hall * jonhall@xxxxxxxxxxxx *
PGP public key available
Systems Admin, Future Internet Services; Goessel, KS * (316)
367-2487
http://www.futureks.net
* PGP Key ID: FE 00 FD 51
-= Running Debian
GNU/Linux 2.0, kernel 2.0.36 =-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -