Mail Archives: cygwin/1997/03/29/19:04:55
If your login shell on the remote system is tcsh or csh there is an
environment variable already set called REMOTEHOST. Thus, you can put the
statement setenv DISPLAY $REMOTEHOST\:0.0 in your .cshrc file.
In the Bourne Shell you could put the following in your .profile file:
set DISPLAY=`w | grep $user | awk '{print $3}'`
export DISPLAY
Hope this helps,
David C. Hoos, Sr.
http://www.ada95.com
http://www.dbhwww.com
----------
> From: Lord Vorp <lordvorp AT usa DOT net>
> To: Fabio AT colorado DOT edu; gnu-win32 AT cygnus DOT com
> Subject: RE: Using MicroImages X Server with x11r6 NT binaries
> Date: Friday, March 28, 1997 4:44 PM
>
> At 10:52 AM 3/28/97 -0700, Fabio Somenzi wrote:
> >>>>>> "SO" == Sergey Okhapkin <sos AT prospect DOT com DOT ru> writes:
> >
> > SO> Myles Bogner wrote:
> > >> I have downloaded and unpacked both MicroImages X Server and
> > >> x11r6bin_tar.Z. I can get the X Server to display X programs from
> > >> a remote UNIX box. However, I cannot figure out how to use it
> > >> with the Client files I downloaded. For example, I start the X
> > >> Server and then attempt to run oclock, and get Error: Can't open
> > >> display: . How do I set the display locally? I'm running Win 95.
> >
> > SO> Set environment variable DISPLAY to localhost:0, or run "oclock
> > SO> -display localhost:0"
> >
> >I realize my question is off-topic for the list in general, but this
> >thread on X servers suggests that I'm more likely to find help here
> >than anywhere else.
> >
> >I can compile X clients with gcc, run them locally with MicroImages's
> >X server. But I am unable to figure out what my dynamically assigned
> >IP is, so that I can set DISPLAY on the remote system.
>
> Try MYIP...the one from Starnet supports the $MYIP instead of $DISPLAY...
> -
> For help on using this list, send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -