Search |
University of Florida | Department of Physics
--> Overview

--> Common Questions

--> Adobe Acrobat

--> Cisco

--> SGI Scanner

--> Packet Video Conf

--> Small Video Conf

--> New Users

--> Lic. Software

--> Public Domain

 * X-term & CDE

--> AS400

--> Digital Unix

--> Solaris

--> RedHat Linux(Alpha)

--> Silicon Graphics

--> Next

--> Misc Procedures

--> Windows 95, NT

--> Dialup

--> Linux

Installing X-terminals

Installing X-terminals

Open up the boxes and take inventory. Bring any registration papers, warranty papers to Chandra. If you have memory upgrades to do, open the box and spot the SIMM slot. There is an orientation for the SIMMs. There are also SIMMS for Memory and for booting. We normally boot over the network. So the only SIMM upgrades we will be doing is for data. We do not touch the flash slot.

Power on the X-terminal. Set the keyboard type. There are three types of keyboards we use.

  1. LK201/401 Keyboard with the setup key (Ultrix style Escape). The setup key on these keyboards is marked setup.
  2. PC Style 101 keyboard with the Pause Key. Shift+Pause works as setup key on these keyboards.
  3. Sun Type 5 style keyboard. Alt+Graphics (RHS of SpaceBar) + Help key works as the setup key on these keyboards.

Once the keyboard type is selected, X-terminal will save this information into the non-volatile ram. It then attempts to boot automatically. Halt this process by hitting any key on the keyboard.

Set the boot method to nfs by typing

bmethod nfs 8192

Save this into the non volatile ram by typing NVSAVE. Make sure there is nothing set on the X-terminal when you do this like the IP Number, Subnet mask, Gateway. This is shown in the top right hand corner of the X-terminal screen.

Sometimes you may have to change the ethernet connection type, address or the monitor that is connected to the X-terminals. The commands for these are

boot> sel ethernet
boot> sel monset

They both present a selection of options that you choose from. On the newer models of X-terminals the monset takes a negative number as the option to cycle through and pick automatically first one that syncs the X-terminal to the monitor.

Note down the hardware address. For eg: 08 00 11 05 0d 51. This is shown as the very first line on the top left of the screen.

Assign an IP number for the X-terminal in the subnet where it is being installed. This procedure is explained in adding a machine to Domain Name Service. Sometimes you need to do a kill -HUP Pid of the named process on quark which is our slave name server. Once the name, location of the machine and the IP Address is fixed, add it to this page /web/html/systemins/xterminal.html in the table.

Edit the /etc/bootptab file on the server that will be serving this X-terminal. This entry will make the connection between the Hardware Address, IP number and the bootfile that the X-terminal will be using to boot. The servers that provide boot information are quark, neptune, proton and neutron.

You may need to add this X-terminal to a particular netgroup on neptune. This is done by editing the /etc/yp/netgroup file on neptune. You need to propagate the changes to the Yellow Page database by doing a make in /var/yp area again on neptune. You need to do exportfs -va on the suns or touch /etc/exports on alphas for the nfs daemons to recognize the changes to the netgroup.

If this X-terminal is going to attach to an existing X-terminal server, you need to edit the Xaccess file on that server and restart the XDM server or Dtlogin process. The file is located in /etc/dt/config/Xaccess on the alphas and in /var/adm/xdm/Xaccess on neptune.

This server process is identified by using ps -aef | grep dtlogin on the alphas or ps -aef | grep xdm on the Suns. You need to look for the dtlogin or xdm process that is the parent of the processes specific to displays. You then do a kill -HUP pid on that process for it to reread its Xaccess file.

Now the X-terminal must get served a CDE login screen. To do this edit the xp.cnf file on quark:

  1. rsh quark
  2. su to root
  3. cd /local/tekxp/boot/config
  4. vi xp.cnf
  5. search the file for the word "xdmcp_connect"

Now find the range that includes the ip address for the terminal just added. If the server that covers this ip range is the one you want then leave it, otherwise break up the range and create a new entry for the X-term. For example, assume we are adding an xterm at 128.227.17.99 and this machine should be served by delray. Do an nslookup on delray and find out that its ip is 128.227.17.123. Here is the original entry that covers 128.227.17.99:

    select SUBNET=128.227.17.89-102 xdmcp_server "128.227.17.70

This gets changed to the following three lines:

select SUBNET=128.227.17.89-98 xdmcp_server "128.227.17.70
select SUBNET=128.227.17.99 xdmcp_server "128.227.17.123
select SUBNET=128.227.17.100-102 xdmcp_server "128.227.17.70

Further on in the file is a section to determine the amount of memory used to cache fonts. This also needs to be checked. Set the font cache according to this table:

RAM Cache Size
>= 16 8192
>=8 6144
<8 512

Here is an example for an X-Terminal with 40 megs RAM, again using 128.227.17.99 :

xdmcp_server "128.227.17.70 font_cache_limit 8192

Save the file, and exit vi. Now copy the file to the machine that will serve the X-terminal. In the above example this is delray, so:

rcp /local/tekxp/boot/config/xp.cnf delray:/usr/local/tekxp/boot/config/xp.cnf

You boot the X-terminal. You need to notice any errors in the mounting of the font areas. If everything goes well, the machine will be up and running a CDE or XDM login screen.

If there are any specific modifications you need to make to the X-terminal like presenting a menu of machines or setting up a local printer, you need to modify the xp.cnf file which sits in the tekxp/boot/conf area. This area is located in /quark/apps on quark, /opt on neptune, /local on proton and neutron. This is also the file to modify to assign different servers to different X-terminals using the select command.

Tektronix X-terminals

Host Name Ha IP Address Notes
sps1 080011032f82 128.227.17.69 .
sps3 08001103ace2 128.227.17.112 .
bohr 0800110317ef 128.227.17.77 .
bose 0800110317f3 128.227.17.78 .
fermi 0800110317eb 128.227.17.79 .
charm 08001101d5e7 128.227.17.80 John Yelton
meson 08001101d5e6 128.227.17.81 .
pion 08001101d5e3 128.227.17.82 .
top 08001101d4f3 128.227.17.83 hee post-doc
tau 08001101d5e4 128.227.17.84 hee student
muon 08001101d5ea 128.227.17.85 Paul Avery
lepton 08001101d4f5 128.227.17.86 het student
photon 08001101d4f4 128.227.17.88 .
stewart 0800110400a5 128.227.17.45 computer support RA
galileo 08001103c83b 128.227.17.103 .
rho 080011032e39 128.227.17.104 .
shadow 080011052798 128.227.17.105 het student
hadron 08001103fe6a 128.227.17.114 .
boson 08001103eee4 128.227.17.115 .
heat 08001103c83c 128.227.17.153 .
baggio 08001104123d 128.227.17.154 .
niled 080011050d51 128.227.17.122 het student
apollo 0800110511A3 128.227.17.124 Julie Kenrow PTB#4
winter 0800110511A2 128.227.17.125 Karim Sayed PTB#4
golden 0800110511A0 128.227.17.126 Jianzhng Lee PTB#6
kangaroo 080011032efd 128.227.17.37 Burnett
17" Color Monitor XP356
B030570,JPC4150303
WM 275
captiva 0800110367ae 128.227.24.30 Selman
palm 08001104172a 128.227.24.32 Selman
bonita 080011040102 128.227.24.3 Kumar
crescent 080011040167 128.227.24.7 Sergei
daytona 080011040166 128.227.24.2 Peter
fiesta 080011040164 128.227.24.6 Dufty
largo 080011040101 128.227.24.5 Muttalib
lido 080011040100 128.227.24.13 Klauder
swamp 08001103eee5 128.227.24.10 Julie
mcc536-1 080011031970 128.227.77.103 .
mcc536-2 080011031935 128.227.77.104 .
mcc534-1 0800110319b9 128.227.77.105 Bossart
mcc536-3 0800110319b8 128.227.77.107 .
mcc501-4 080011032e37 128.227.77.108 .
mcc501-3 080011032e2a 128.227.77.109 .
mcc501-1 080011050d53 128.227.77.110 .
mcc501-2 080011050d4f 128.227.77.111 .
nsc1 080011032e2c 128.227.90.101 . fellowship grad students
nsc2 080011032e2e 128.227.90.102 .
nsc3 080011032e32 128.227.90.103 .
nsc4 080011032e38 128.227.90.104 .
siesta 080011041729 128.227.90.108 . Fred Sharifi
canaveral 080011041728 128.227.90.146 Selman's student
cocoa 0800110367A9 128.227.90.147 Selman's Post-Doc

NCD X-terminals

Host Name Ha IP Address Notes
ramond 0000a71230d1 128.227.17.63 Ramond
thorn 0000a700785b 128.227.17.64 Thorn
field 0000a7007c15 128.227.17.65 Nick Irges
woodard 0000a7007953 128.227.17.66 Woodard
sikivie 0000a7007962 128.227.17.67 Sikivie
qiu 0000a700795c 128.227.17.68 Qiu
melusine 0000a7008b1d 128.227.17.89 Buchler

Installing CDE

  1. The CDE directories are located in /usr/dt and /etc/dt directories. The /usr/dt directory is the system default CDE directory. Anything you would like to override from there you can put it in /etc/dt directory.
  2. Quark, HEP01, PROTON, NEUTRON and DELRAY are already setup to be CDE servers with our modifications. You need to duplicate one of these areas on the new servers. The directories you need to copy are /etc/dt and /usr/lib/X11/app-defaults
  3. The easiest way to move an entire directory hierarchy is through tar. The commands on hep01 are
  4. cd /etc
    tar -cvf /var/tmp/dt.tar dt
    cd /usr/lib/X11
    tar -cvf /var/tmp/app-defaults.tar app-defaults
    
  5. Login on the newmachine as root. Then do the following.
  6. cd /var/tmp
    ftp hep01
    cd /var/tmp
    binary
    get app-defaults.tar
    get dt.tar
    quit
    
    cd /etc
    tar -xvf /var/tmp/dt.tar
    cd /usr/lib/X11
    tar -xvf /var/tmp/app-defaults.tar
    
    
  7. Some files in /etc/dt/config tend to be system dependent. For example Xaccess allows X-terminals access to the new machines. The C/sys.dtwmrc file contains the menus for the dtwm. This needs to be modified for the 24 and 17 subnet naming changes like neptune-gw and neptune. This is also the file that needs to be modified when new software is added to add menu entries under the CDE system. We need to come up with a scheme to maintain this file on different subnets and servers consistently along with the global.cshrc file.
  8. Make sure /usr/dt/bin is in the path of the users by modifying the /usr/local/bin/global.cshrc if necessary.
  9. Problems with CDE after Upgrading OS

    Hopefully you have saved the /etc/dt area before the upgrade. You can also grab it from some other similar machine. The only files that you need to modify are the Xaccess and Xservers which depend on the X-terminals this machine is serving and whether you have a local display or not. It appears that the /usr/dt/config/Xsetup file has several problems on the DEC Alphas. We have to add a paragraph to the /etc/dt/config/Xsetup script to set the backspace key to act as delete. Here is the entry:

          # load the keymap
          if [ -f /var/X11/xdm/keymap_default ]; then
              /usr/bin/X11/xmodmap /var/X11/xdm/keymap_default
          else
             /usr/bin/X11/xmodmap -e "keysym BackSpace = Delete"
          fi
    

    The compression used by the tektronix font distribution on the Xpressware CD is not compatible with the NCD X-terminal software. The solution to this problem is to go the font directories and do the following:

    uncompress *.pcf.Z
    compress -b 12 *.pcf
    

    We had to do that in almost every directory in the tekxp/boot/fonts area.

    The /usr/lib/X11/app-defaults directory gets wiped out when we do a full installation. To restore this we compare individual files in /usr/lib/X11/app-defaults area with the already saved app-defaults area. If the file only exists in the saved area, it is just copied over to the system area. If there are differences, we need to look at them and merge the differences in by hand. The important files that needs to be hand merged are Xmh, Mwm, XTerm, DXMail.