public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Using MicroImages X Server with x11r6 NT binaries
@ 1997-03-27 20:59 Myles Bogner
  1997-03-28  6:27 ` Arlindo da Silva
  0 siblings, 1 reply; 11+ messages in thread
From: Myles Bogner @ 1997-03-27 20:59 UTC (permalink / raw)
  To: gnu-win32

        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.


                                        Thanks,

                                        Myles Bogner
                                        mbogner@memphis.edu

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using MicroImages X Server with x11r6 NT binaries
  1997-03-27 20:59 Using MicroImages X Server with x11r6 NT binaries Myles Bogner
@ 1997-03-28  6:27 ` Arlindo da Silva
  0 siblings, 0 replies; 11+ messages in thread
From: Arlindo da Silva @ 1997-03-28  6:27 UTC (permalink / raw)
  To: Myles Bogner; +Cc: gnu-win32

> 
>         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.

From COMMAND.COM:

  set DISPLAY=localhost:0.0

    
-- 

   *-----------------------------------------------------------------*
   |                                                                 |
   |             ^|^                     ARLINDO DA SILVA            |
   |              |                     212 Lexington Drive          |
   |             _|_                  Silver Spring, MD 20901        |
   |      @  ___|___|__                                              |
   |     _|_|__________|_______/    mailto://dasilva@alum.mit.edu    |
   |    \  o o o o o o o  /                                          |
   |     \_______________/            Home: (301) 754-1121           |
   |  ^^^^^^^^^^^^^^^^^^^^^^^^         FAX: (301) 805-7959           |
   |                                                                 |
   *-----------------------------------------------------------------*
                                  

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using MicroImages X Server with x11r6 NT binaries
  1997-03-29 12:35 David C. Hoos, Sr.
@ 1997-03-29 14:09 ` Fabio Somenzi
  0 siblings, 0 replies; 11+ messages in thread
From: Fabio Somenzi @ 1997-03-29 14:09 UTC (permalink / raw)
  To: gnu-win32

Thanks to the many who suggested several ways to determine the
dynamically assigned IP. Summarizing for the benefit of others who may
face the same problem:

1. From the Win95 side (which I assume to be the local side), one runs
winipcfg.

2. From the Unix (remote) side, one runs "who am i" or something
similar, and then extracts the name or address of the local system.

I adopted the second solution because my .cshrc can take care of it.
(As a matter of fact, I already had the necessary code in my .cshrc,
but it was only run when the terminal type was "xterm." I failed to
realize that dynamic IPs correpond to fixed, albeit fictitious, names
and didn't look into the matter as carefully as I should have.)

Again for the benefit of others interested in running X clients with
MicroImages's server, here is a short summary of my experience so far:

1. The most common problem for many clients is fonts that may not be
available. I haven't tried yet to install additional fonts, but I
suspect this problem is the easiest to cure, given enough disk space.
As an example, a few Perl-Tk applications I've tried fail to find
Adobe fonts and refuse to run.

2. I found differences depending on whether the remote system runs
Solaris or Linux. This may have nothing to do with the X server itself,
and possibly nothing to do with the operating system of the remote
system either. Just to give an idea of the problem, when I try to run
ddd-2.0 from Linux (ddd stands for "data display debugger"), I get

    TRANS(SocketINETConnect) () can't get address for tele-anx0238
    Error: Can't open display: tele-anx0238:0

I have no problem with the same program from Solaris. And I can run,
say, an xterm from Linux.

3. ghostview crashes the X server rather systematically. (I've tried
both Linux and Solaris as remote systems and a couple of different
postscript files. I always got crashes.)

4. xdvi sort of works, but only if I hit the "shrink1"
button. Otherwise I get a blank page. shrink1 gives the maximum
magnification in xdvi, which isn't very useful.

5. xfig seems to work fine, but I haven't figured out yet how to make
the entire window fit into my 800x640 screen.

6. xterm moslty works, but if I move the pointer along the font
selection menu (CTRL-RIGHT_MOUSE_BUTTON) then the menu entries become
invisible. With ddd I've noticed a similar problem. When a display item
is selected it should be put in reverse. However, the observed result
is that the item is completely black. In the same vein, ical's menus are
invisible. (ical is a Tcl-Tk application.)

7. One should really have a three-button mouse, because simultaneously
pressing the two buttons of a two-button mouse won't do. This is
clearly explained in the FAQ.

8. There is no LBX support. (LBX stands for "low bandwidth X", as I
discovered very recently.) In effect running clients over a 28,800 bps
connection isn't exactly pleasurable. My previous experience was with
running term between two Unix boxes over a 9600 bps connection, and
this one does not seem much faster. (Though probably it is a bit faster.)

9. To finish on a positive note, I've had no problems running Pure
Software's Quantify (from Solaris).

In summary, the installation of MicroImages's X server is easy, and it
doesn't take much disk space. With the basic installation one can get
a few things done, like fixing a detail in a xfig drawing, or running
a short debugging session with ddd. More intensive use and some
applications will require additional investment of time or a different
X server.

Fabio

-- 
Fabio Somenzi          | Phone: 303-492-3466
University of Colorado | Fax:   303-492-2758
ECE Dept.              | Email: Fabio@Colorado.EDU
Boulder CO 80309-0425  | WWW:   http://vlsi.colorado.edu/~fabio

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using MicroImages X Server with x11r6 NT binaries
@ 1997-03-29 12:35 David C. Hoos, Sr.
  1997-03-29 14:09 ` Fabio Somenzi
  0 siblings, 1 reply; 11+ messages in thread
From: David C. Hoos, Sr. @ 1997-03-29 12:35 UTC (permalink / raw)
  To: Fabio, gnu-win32, Lord Vorp

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@usa.net>
> To: Fabio@colorado.edu; gnu-win32@cygnus.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@prospect.com.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@cygnus.com" with one line of text: "help".
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using MicroImages X Server with x11r6 NT binaries
@ 1997-03-29  0:17 Wei Ku
  0 siblings, 0 replies; 11+ messages in thread
From: Wei Ku @ 1997-03-29  0:17 UTC (permalink / raw)
  To: gnu-win32

To find the IP address in Windows 95:

In DOS Prompt, use ping command:

C:> ping <computer's IP name>

in which the <computer's IP name> can be found in 'DNS configuration' /
'TCP/IP properties' / 'TCP/IP' / 'Configuration' / 'Network' / 'Control
Panel'
notice: computer IP name is case sensitive in ping command.

example ( in my Windows 95):
[
C:\WINDOWS\PROFILES\weiku\Desktop>ping Spider-1.utk.edu

Pinging Spider-1.utk.edu [10.0.2.15] with 32 bytes of data:

Reply from 10.0.2.15: bytes=32 time<10ms TTL=32
Reply from 10.0.2.15: bytes=32 time<10ms TTL=32
Reply from 10.0.2.15: bytes=32 time<10ms TTL=32
Reply from 10.0.2.15: bytes=32 time<10ms TTL=32
]
( so my IP address will be 10.0.2.15 )

Hope this will help.

Sincerely,
Wei Ku

***************************************
Department of Physics and Astronomy
The University of Tennessee
1408 Circle Drive
Knoxville, Tennessee 37996-1200
weiku@utkux.utcc.utk.edu
---------------------------------------
Solid State Division
Oak Ridge National Laboratory
P.O.Box 2008
Oak Ridge, TN 37831-6032
Phone: (423) 574-5795
Fax: (423) 574-4143
weiku@solid.ssd.ornl.gov
***************************************


----------
> From: Fabio Somenzi <Fabio@colorado.edu>
> To: gnu-win32@cygnus.com
> Subject: RE: Using MicroImages X Server with x11r6 NT binaries
> Date: Friday, March 28, 1997 12:52 PM
> 
> >>>>> "SO" == Sergey Okhapkin <sos@prospect.com.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.
> 
> Does anybody know of a way to do that. (I'm also running Win95.)
> 
> Thanks in advance.
> 
> Fabio
> 
> -- 
> Fabio Somenzi          | Phone: 303-492-3466
> University of Colorado | Fax:   303-492-2758
> ECE Dept.              | Email: Fabio@Colorado.EDU
> Boulder CO 80309-0425  | WWW:   http://vlsi.colorado.edu/~fabio
> 
> -
> For help on using this list, send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using MicroImages X Server with x11r6 NT binaries
@ 1997-03-28 19:20 David C. Hoos, Sr.
  0 siblings, 0 replies; 11+ messages in thread
From: David C. Hoos, Sr. @ 1997-03-28 19:20 UTC (permalink / raw)
  To: Fulgham, Brent/SCO, gnu-win32, Myles Bogner

I beg to differ with one detail.  The DISPLAY environment variable is for
the CLIENT, to tell it on what host the X-server is to be found, not .to
get the MIX server to look at the local computer for the running x client
application.  Hence, this should be documented in client software
documentation, not in the X-server's documentation.

David C. Hoos, Sr.
http://www.dbhwww.com
http://www.ada95.com

----------
> From: Fulgham, Brent/SCO <BFulgham@ch2m.com>
> To: gnu-win32@cygnus.com; Myles Bogner <mbogner@memphis.edu>
> Subject: RE: Using MicroImages X Server with x11r6 NT binaries
> Date: Friday, March 28, 1997 12:33 PM
> 
> Arlindo da Silva was kind enough to help me with the same problem a 
> few days ago.
> 
> You have to set an environmental variable in your Autoexec.Bat file to 
> get the MIX server to look at the local computer for the running x 
> client application.
> 
>    set DISPLAY=localholst:0.0
> 
> This rather important piece of information does not seem to be located 
> in any of the help files, or on the MIX site.
> 
> Hope this helps.
> 
> -Brent
> 
> 
> 
> 
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Using MicroImages X Server with x11r6 NT binaries
@ 1997-03-28 18:13 Lord Vorp
  0 siblings, 0 replies; 11+ messages in thread
From: Lord Vorp @ 1997-03-28 18:13 UTC (permalink / raw)
  To: Fabio, gnu-win32

At 10:52 AM 3/28/97 -0700, Fabio Somenzi wrote:
>>>>>> "SO" == Sergey Okhapkin <sos@prospect.com.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@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using MicroImages X Server with x11r6 NT binaries
  1997-03-28 10:32 ` Fabio Somenzi
@ 1997-03-28 18:13   ` Ted Lemon
  0 siblings, 0 replies; 11+ messages in thread
From: Ted Lemon @ 1997-03-28 18:13 UTC (permalink / raw)
  To: Fabio; +Cc: gnu-win32

> I am unable to figure out what my dynamically assigned
> IP is, so that I can set DISPLAY on the remote system.

Run winipcfg.   It will tell you what your IP address is, among other
things.

			       _MelloN_
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Using MicroImages X Server with x11r6 NT binaries
@ 1997-03-28 13:27 Fulgham, Brent/SCO
  0 siblings, 0 replies; 11+ messages in thread
From: Fulgham, Brent/SCO @ 1997-03-28 13:27 UTC (permalink / raw)
  To: gnu-win32, Myles Bogner

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

Arlindo da Silva was kind enough to help me with the same problem a 
few days ago.

You have to set an environmental variable in your Autoexec.Bat file to 
get the MIX server to look at the local computer for the running x 
client application.

   set DISPLAY=localholst:0.0

This rather important piece of information does not seem to be located 
in any of the help files, or on the MIX site.

Hope this helps.

-Brent




[-- Attachment #2: bin00000.bin --]
[-- Type: application/vnd.ms-tnef, Size: 1418 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Using MicroImages X Server with x11r6 NT binaries
  1997-03-28  5:57 Sergey Okhapkin
@ 1997-03-28 10:32 ` Fabio Somenzi
  1997-03-28 18:13   ` Ted Lemon
  0 siblings, 1 reply; 11+ messages in thread
From: Fabio Somenzi @ 1997-03-28 10:32 UTC (permalink / raw)
  To: gnu-win32

>>>>> "SO" == Sergey Okhapkin <sos@prospect.com.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.

Does anybody know of a way to do that. (I'm also running Win95.)

Thanks in advance.

Fabio

-- 
Fabio Somenzi          | Phone: 303-492-3466
University of Colorado | Fax:   303-492-2758
ECE Dept.              | Email: Fabio@Colorado.EDU
Boulder CO 80309-0425  | WWW:   http://vlsi.colorado.edu/~fabio

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Using MicroImages X Server with x11r6 NT binaries
@ 1997-03-28  5:57 Sergey Okhapkin
  1997-03-28 10:32 ` Fabio Somenzi
  0 siblings, 1 reply; 11+ messages in thread
From: Sergey Okhapkin @ 1997-03-28  5:57 UTC (permalink / raw)
  To: gnu-win32, 'Myles Bogner'

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.

Set environment variable DISPLAY to localhost:0, or run "oclock -display localhost:0"

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job.


-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~1997-03-29 14:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-27 20:59 Using MicroImages X Server with x11r6 NT binaries Myles Bogner
1997-03-28  6:27 ` Arlindo da Silva
1997-03-28  5:57 Sergey Okhapkin
1997-03-28 10:32 ` Fabio Somenzi
1997-03-28 18:13   ` Ted Lemon
1997-03-28 13:27 Fulgham, Brent/SCO
1997-03-28 18:13 Lord Vorp
1997-03-28 19:20 David C. Hoos, Sr.
1997-03-29  0:17 Wei Ku
1997-03-29 12:35 David C. Hoos, Sr.
1997-03-29 14:09 ` Fabio Somenzi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).