Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!phcisa!frans From: frans@phcisa.UUCP (Francois Staes) Newsgroups: comp.windows.x Subject: Re: setenv DISPLAY automatically Summary: Maybe a solution ? Message-ID: <1248@phcisa.UUCP> Date: 14 Nov 90 11:53:01 GMT References: <9011112317.AA21302@Larry.McRCIM.McGill.EDU> Lines: 17 A simple solution might be to use rsh -n /usr/bin/X11/xterm -display $DISPLAY This causes the DISPLAY variable to contain the right value, even in the child process of the xterm. (See man page of xterm) One problem left: you have to change the initial value of your DISPLAY variable from unix:0 to :0. Is there any way that xinit sets the initial DISPLAY variable to :0 instead of unix:0 ? Or does this cause any performance problems ? Best greetings, Francois Staes Origin/Middleware Eindhoven, The Netherlands.