Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!viewlogic.COM!peter_colby From: peter_colby@viewlogic.COM Newsgroups: comp.windows.x Subject: Re: X-windows DISPLAY environment variable Message-ID: <9007051226.AA06169@hari> Date: 5 Jul 90 12:25:50 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 23 I am trying to figure out a way to automatically resolve and set the DISPLAY environment variable when someone logs into one of our systems from X-terminals using telnet and rlogin. ------------------------ I know of one way using rsh and a program from gnuemacs (18.55) called env. " rsh /usr/local/emacs/etc/env DISPLAY=${DISPLAY} xterm &" On our systems, the emacs libraries (lisp, etc,info) are kept in /usr/local/emacs. The documentation for env says that env will set the environment as specified (DISPLAY in this case) and then exec the specified command. The prolog in env.c has the only documentation available as the gnuemacs developers seem to consider env internal support only. This won't help telnet, I'm sorry. Peter C -- peter@viewlogic.com