CIFE experimental course: CE 222
Computer Integrated Architecture/Engineering/Construction

Using Xmove


Xmove Lab


This lab is intended as first-hand experience in using Xmove.
Please refers to the Reference Materials for technical explanations.


 Running Xmove
----------------

First, select 2 computers.  Let them be Stan and Berk.

On Stan and Berk, type:

   xhost +

Say, we will start Xmove on Stan...  Open a xterm window solely
for Xmove, and type in it:

   xmove -port 2

Xmove should reply with the message "Xmove 1.2f ready".
Now, Xmove is listening for any communication on Stan:2

On Stan, open another xterm, and set its environment to:

   setenv DISPLAY Stan:2

Start a program in this xterm, for example, Netscape.

   netscape &

When Netscape appears, you can monitor it (or any application run under
this DISPLAY Stan:2 environment) by typing in the same xterm:

   xmovectrl -list

A typical output of this "list" could be:

   1   xterm       berk:0
   6   netscape    stan:0
   17  acad        stan:0

The first number is the identifier for the program you ran, and the
last machine:# refers to its current display location.

Try moving the Netscape to Berk to keep your partner busy.
Type:

   xmovectrl -moveall berk:0

The Netscape window will disappear from Stan, and appear on 
Berk.

Your partner on Berk can also move the Netscape around.
Type on Berk's xterm:

   setenv DISPLAY stan:2
   xmovectrl -list
   xmovectrl -moveall stan:0


Next, swap places with your partner.

Return to Xmove Reference Material