X on the PC - Summary of responses

Fri Jun 4 06:39:39 EST 1993


A while ago (May 1993) I posted a message to bionet.software asking
"So how do you let the SUN know that you are running X-windows"; it
was basically a 2-part question - the first part dealt with what 
kind of software you can run on your PC to make it an X client.
The second part dealt with how, once you have X running on your
local computer, to tell a remote computer that you are running X
so that you can use X on the remote.

I received a TON of help, and, am looking forward to implementing it.  I
am embarrased to admit that I haven't had time to play with X yet but I
have had some mail from other people who wanted to know what I'd found out.
Therefore, I am summarizing all the responses I got (for my reference and
yours) and I hope that I managed to find all the responses (please excuse
me if you posted something/sent me something and I neglected to include it).
Again, to everyone who responded, THANK YOU!

I'm going to divide this summary into 3 parts:

   1] An introduction to X - from Lyle Wiedeman
   2] How to make the SUN (or whatever) know that you are running X.
   3] X client programs for the PC - where to get them and some comments.

As for me, I think I'm going to try out LINUX for myself and see if I can
get it to work with everything we've got (PC/TCP, Novell and an insistence
on running MS-Windows) and I might investigate DesQView/X since it is 
supposed to run both Windows and DOS already and I am not sure that Linux
runs Windows. 
Regards, Dorothy
  Dorothy Lowry	- Graduate Student			dlowry at cmu.unige.ch
  Dept. of Medical Biochemistry
  University of Geneva, Switzerland

PART 1: An introduction to X

From:	IN%"wiedeman at uci.edu"  "Lyle Wiedeman" 15-MAY-1993 16:58:03.29
To:	IN%"dlowry at cmu.unige.ch"
Subj:	"Basic" question

> And for my real and BASIC question/comment - if you are RUNNING 
> X-windows on a SUN, and the sequence analysis software, whatever, 
> is on ANOTHER SUN, how do you tell the second SUN that you are
> running X windows?
> Do you need to rlogin or is telneting OK (sorry about my ignorance
> but I haven't got access to a SUN workstation myself - this is so
> I can tell the lucky people who HAVE got one, but are running
> VT100 emulations to connect anywhere else!).

If you haven't used X, it is little wonder this question puzzles you.

You'll need to grasp some basic X concepts.  An X server is a program
which maintains a screen (a monitor); it controls who has the right to
open windows on a given machine (screen, monitor).  An X client is any
program which can run under X (like your sequence analysis software).
The screen it draws upon is sometimes the monitor attached to the
computer it is running on, but the beauty of X is that this "client"
program can open a window and draw on any screen (server) on the

Most programs (clients), if they are DESIGNED to support X will look
at the Unix environment for a variable called DISPLAY which indicates
the machine which your X server is running on, and will then try to
open a window on that machine's screen.  

So, to run a program on one machine and see the display on another,
you need to do two things: tell the server (the machine you are sitting
at) that the other machine is permitted to open windows -- with the
xhost command.  Then tell the machine you're running the client on
where you want it to draw by setting the DISPLAY variable.  It makes
no difference at all how you communicate to the remote (client) machine;
telnet and rlogin are equally useful. 

	Lyle Wiedeman                 Office of Academic Computing
	wiedeman at uci.edu              Univ. Calif. Irvine
	wiedeman at UCI.BITNET           Irvine, CA  92717
    	(714) 856-8718	    	      FAX (714) 725-2069

PART 2: How do you make the SUN (or whatever) know that you are an X client

From:	IN%"wrp at cyclops.micr.virginia.edu"  "Bill Pearson" 11-MAY-1993 14:25:16.96

	Let's say "darwin" has your software, and "mendel" is your local
xterminal.  You have several options.  The easiest is to:

	rlogin darwin
	setenv DISPLAY mendel:0.0

A functional alternative, which you could put on a menu, would be:

	rsh darwin /usr/X11/bin/xterm -display=mendel:0.0 -font=fixed

I do this all the time.

Bill Pearson
From:	IN%"noran!ringo!sjohnson at uunet.UU.NET"  " (Scott Johnson)" 11-MAY-1993 15:15:56.94

If you want any X application to run on one machine and display on
another, connected via a network, you have several possibilities.

If you are running a command or shell tool:
	rlogin <application host>
	setenv DISPLAY <display host>:0
	<execute command>
	rlogin <application host>
	<execute command> -display <display host>:0
    rsh <application host> <execute command> -display <display host>:0

I these don't work you have other problems and need to talk
to your software vendor, if you have support.
From:	IN%"'/RFC-822=baillie(a)sfu.ca/'@cosine-gw.infn.it" 11-MAY-1993 18:35:44.34

Set your machine to accept X-win input by typing      xhost +
go to the other machine, BUT before starting the application, type 
		setenv DISPLAY yourmachinename:0
start application

Should work fine

dave baillie
dbaillie at trog.mbb.sfu.ca
From: robison at biosun.harvard.edu 

This is the sort of question I am constantly asking [sic]. 

0) Sit at your machine :-)
1) Telnet or rlogin to the 2nd machine (either will do)
2) SETENV DISPLAY ipaddress:0
   where ipaddress is the ipnumber or name for your node
  (such as biosun.harvard.edu)

Sit back and enjoy!!

I usually have aliases for all the machines I frequently use as
displays which do the SETENV DISPLAY step 
(alias dmito "SETENV DISPLAY mito.harvard.edu:0" will make "dmito"
a command to activate "mito.harvard.edu" as my display server).


Oops, I forgot step 0.5 in my previous post. 

0.5) xhost +otheripaddress
     where otheripaddress is the address of the machine which you
     will be accessing via telnet/rlogin.

Again, I usually alias these things.  For example, the following 
will cause "xmito" to launch a new command-tool window and 
rlogin to mito.harvard.edu.  The window will display "mito"
as its title (linebreak between the two lines inserted for clarity --
don't type it in this way):

alias xmito 
"host +mito.harvard.edu;cmdtool -title mito -e rlogin mito.harvard.edu &"

Once your in, you just have to do the "SETENV DISPLAY" step and you're

Keith Robison
Harvard University
Department of Cellular and Developmental Biology
Department of Genetics / HHMI

robison at biosun.harvard.edu 
Part 3: X client programs for the PC - where to get them and some comments

email at dlowry at cmu.unige.ch).

From:	IN%"22313TCN at msu.edu"  "Thomas_C.Newman" 11-MAY-1993 14:11:21.95

In regards to X-windows on a PC.  I have been running Quarterdeck's Desqview/X
for the last 6 months and am quite pleased.  You need at least 8 mb of RAM, 16
is better of course, but I can run more than 9 windows at once.  You can even
run windows in a window, but it is extremely slow.  The program cost $250 for
the PC package and another $100-200 for the network manager.  Hope this helps,

Tom Newman
From:	IN%"shawn at aragorn.ori.org"  " (-Shawn Boles-)" 11-MAY-1993 21:13:47.92

With respect to your q re: xwindows for dos - Quarterdeck software
claims an x window facility for their dos product. I have not used it
but others who have say that it behaves reasonably..look in any pc mag
for Quaterdeck ads.

hope this helps...

From:	IN%"nenno at rhrk.uni-kl.de"  "Mario Nenno" 17-MAY-1993 14:10:03.16

I don't know whether it works with PC/TCP AND Novell, but I know
of two COMMERCIAL products for making x-windows on PCs:

	PC-Xview (for DOS)
	XVision  (for Windows 3.x)

Both work with PC/FTP (at least on our PCs). 
It's not much, but I hope it helps a little bit further.

Sincelry Mario Nenno
From:	IN%"maalouf at proline.rowland.org"  "George J. Maalouf" 14-MAY-1993 01:11:35.98

I strongly recommend using MIT-X11R5/TWM insted of openwindows/olwm.
==============================END OF SUMMARY==========================================

More information about the Bio-soft mailing list

Send comments to us at biosci-help [At] net.bio.net