Put your logo here!

TOC PREV NEXT INDEX



5

Supporting a Centralized System

This chapter provides instructions for setting up the necessary operating system support files. The values selected in the remote configuration file dictate the operating system files that must be enabled, created, or modified.

The examples provided in this section assume the use of a DECnet network using MOP and DAP for file transfer.

Note: Even though DECnet is configured and started on the host, DECnet will not operate on the network unless it is licensed. See the DEC publication, Guide to DECnet-VAX Networking, for information on how to configure DECnet.

Enabling Network Access

Start the host-configuration process by verifying the licensed operation of DECnet and the availability of MOP. On DECnet networks, network computers are configured by default to use MOP for file transfers from the host.

    1. Verify the existence of a registered DECnet license by entering:
      $ SHOW LICENSE DVNET*
    2. Verify that DECnet is up and running by entering:
      $ SHOW NETWORK
    3. Check that service operations are allowed on the host circuit where the network computers connect for the boot files by entering:
      $ MCR NCP SHOW KNOWN CIRCUIT CHARACTERISTICS
    The host responds with the following report:

    Known Circuit Volatile Characteristics as of 25-OCT-1999 17:03:17
    Circuit = QNA-0

    State = on
    Service = enabled
    Designated router = 57.1 (R61B)
    Cost = 4
    Maximum routers allowed = 33
    Router priority = 64
    Hello timer = 15
    Type = Ethernet
    Adjacent node = 57.1 (R61B)
    Listen timer = 45
    Check the report to ensure that State = on and that Service = enabled.
    If Service is disabled, enable it in both the volatile and permanent databases using the following command sequence.
>>> CAUTION: The following command sequence turns off DECnet in order to enable the service state. DECnet connections that are active when the state switches to OFF will probably terminate. Please use this command sequence with caution.
$ MCR NCP
NCP>SET CIRCUIT circuit-id STATE OFF
NCP>SET CIRCUIT circuit-id SERVICE ENABLED
NCP>DEFINE CIRCUIT circuit-id SERVICE ENABLED
NCP>SET CIRCUIT circuit-id STATE ON
NCP>EXIT
  1. Verify that DECnet network objects are known by entering:
    $ MCR NCP SHOW KNOWN OBJECTS
    Look to see that FAL and $MOM are listed.
  2. Set up DECnet file access using one of the following supported types of access control. (See the DEC publication, VMS Authorize Utility Manual, for additional details.)
    • Proxy login provides the highest level of system security implemented in the network computer and is the recommended type of access control. To provide network proxy login access for the network computers, you must create proxy entries as described in the DEC publication, Guide to DECnet-VAX Networking. As an example, the following commands create default proxy entries mapping the user on the network computer nodes:
      $ SET DEFAULT SYS$SYSTEM
      $ RUN AUTHORIZE
      UAF> ADD/PROXY <XP-node-name>::TEKXPRESS <user account> /DEFAULT
      UAF> EXIT
      (where <user account> is a valid login account.)
Note: You can also set up a proxy record using the TEK$TOOLS:MAINTAIN_TEKXPRESS_ACCT.COM command procedure included on the media. This command procedure also creates a local proxy account in addition to setting up an account.

Adding Nodes to the NCP Database

During the VMSINSTAL procedure, you are prompted to enter node information. To add additional nodes, enter the following command:
$ @TEK$TOOLS:TEKXP_ADD.COM

This command procedure is provided on the media as a utility to assist you in adding network computer DECnet node information to your permanent and volatile NCP databases. TEK$TOOLS:TEKXP_ADD.COM adds the DECnet node name, node address, hardware ethernet address, and XP boot file name for your network computer model (XP330_OS.SYS, XP350_OS.SYS, XP500_OS.SYS for NC200 and NC400 units, or NC900_OS.SYS). During the VMSINSTAL phase, this command procedure is executed, giving you the opportunity to add nodes. You can add additional node information at any time using this command. The following prompts are included in the install script:

Do you want to enter new DECnet nodes now (Y/N)? [Y]
Entering a ^Y at any time will safely exit this command procedure.
...
Enter DECnet name of the NC (1-6 characters) [ ] :
Enter the DECnet address; or ? to list current node entries [ ] :
Enter the NC hardware ethernet address [ ] :
Enter the NC boot filename [ NC900_OS.SYS ] :
Is this correct? [yes] :
Enter information for another NC [yes]:

Connecting to Other Nodes

Once the network computer is booted, you can use the Mirror feature to see what other nodes (hosts or network computers) DECnet can access. The Mirror feature can check the following connections:

To use the Mirror feature:

    1. Enter Setup.
    2. Select the Network Tables and Utilities menu and drag on the Network Utilities option.
    3. In the Host Name/Host Address field, enter the name or address of the host or network computer for which you want to test for a DECnet connection. Optionally, specify the Test Packet information.
    4. Click on the TEST button to start the Mirror test. A message specifies whether the connection was successful or not.
    If the Mirror feature is used to test a network computer connection to a host, the network computer's Console can be used to display mirror statistics. The statistics include the test time, total number of packets, how many packets were read, and how many packets were written. (The number of packets read and written should equal the total number of packets.)

Local Clients

This section describes various ways to start local clients. Local clients are those applications that execute on the network computer, rather than on the host, thus reducing network traffic. HostMenu, Telnet, Cterm, and Motif Window Manager are examples of local clients. Local clients can be started with xpsh, the remote configuration file (XP.CNF), with rsh, or with the Client Launcher.

This section also describes the Client Launcher, the Authorization Key Manager, and the Touchscreen Calibration client.

The following local clients are available on the network computer:
    • Audio Mixer
    • Audio Player
    • Authorization Key Manager
    • Cterm session
    • Digital Video Player
    • LAT session
    • Local Client Launcher
    • Motif Window Manager (MWM)
    • Netscape NC Navigator
    • Serial session
    • Setup
    • Teemx 3270E/5250 Emulators
    • Telnet session
    • Touchscreen Calibration
    • WinDD ICA client
    • Xlock client
    • XP Window Manager (XPWM)

Note: Netscape NC Navigator, MWM, LAT, Cterm, Teemx emulators, and the Tek340 emulator require an authorization key. All NC900 products come authorized to run Netscape NC Navigator and the Tek340 emulator available in NCBridge software.
Determining Local Client Versions

To see the version of any local client in the boot directory, use the UNIX ident command. For example, to see the version of Setup currently in use, enter ident setup.900 (where 900 is the OS level you booted with). The version and level information displays. You can use this command for any of the local clients.

Starting Local Clients With xpsh

xpsh is a host program used to download local clients to a network computer. It is a two-way communication mechanism between the host program (xpsh) and the local daemon (xpshd). xpsh sends information to the network computer specifying which local clients to download, and xpsh receives local client error messages and exit information from the network computer. xpsh can download and start:

Starting a client using xpsh enables the client to run locally instead of from the host. The host environment, client name, and arguments are sent to the local network computer. For example, using xpsh to download MWM enables access to files in $HOME. This allows you to customize the MWM environment for an individual user.

Clients can also be started with xpsh and access host-based configuration files. To do this, use the -access xpsh parameters when starting a local client with xpsh. For example, to start local Motif Window Manager and access the host-based configuration files, you would enter the following:

xpsh -display display_name:0 -access xpsh mwm
Note: When starting local clients with xpsh, instead of entering the
-display variable each time, you can set the environment variable DISPLAY to display_name:0. Then when starting local clients with xpsh, enter xpsh and the local client only. For example:
xpsh tek220 -e cterm
xpsh tek340 -e telnet
xpsh mwm
xpsh tek220 -e llogin
xpsh tek220 -e tip tty0
xpsh tek340 -e tip tty1
xpsh xlock -mode 1
xpsh setup
Note: Local Netscape NC Navigator may not be started with xpsh from a VMS system; however, it may be started in kiosk mode from the System Launcher Menu.

To reduce the startup time for a local client started with xpsh, you can access the client through an NFS path. (For information about NFS, refer to the Supporting a Centralized System chapter for your host.) For example, if you mount host_name:/tekxp/boot to /host_name/tekxp/boot on your network computer, you can invoke MWM with the command:
xpsh  /host_name/tekxp/boot/mwm
To start a local client using xpsh, enter the appropriate command below:

Starting the Audio Mixer
xpsh -display display_name:0 mixer
Starting the Audio Player
xpsh -display display_name:0 aplay
The following options can be set on the xpsh command line:

-h host specifies the host name or address on which the audio file resides. The host must be entered in the network computer's Internet Host Table in Setup. This host displays in the Audio Player's File Information area.

-f filename and path specifies the audio file name and its entire path. This file displays in the Audio Player's File Information area.

-a access method specifies the access method used to access the audio file. Available access methods are tftp, nfs, and dap.

-v volume level specifies the volume level to use when playing the audio file. Specify a number between 0 and 100, with 0 indicating no volume, and 100 indicating the loudest volume setting.

-p    when used with the -h, -f, -a, and -v options, the specified file plays without opening the Audio Player. The entire file plays and cannot be interrupted.

Starting the Authorization Key Manager
xpsh  authkey

The network computer reads the authkey.dat file when booting and updates the network computer and authorization key information. (Be sure that SNMP is available and enabled.)

Starting a Cterm session

A Cterm session can be started with a Tek220 or Tek340 emulator.
xpsh -display
display_name:0 tek220 -e cterm
xpsh -display
display_name:0 tek340 -e cterm
Resource settings can be specified for a Cterm session. Refer to the next section, Specifying Client Resource Settings.

Starting the Digital Video Player
Note: This is not available on the NC900 Series.
xpsh -display display_name:0 vplay
The following vplay options can be set on the xpsh command line:

-h host specifies the host name or address on which the video file resides. The host must be entered in the network computer's Internet Host Table in Setup. This host displays in the Video Player's File Information area. When Multicasting, -h specifies the IP address. The port number displays in the Video Player's Addr/Port Information area.

-f filename and path specifies the video file name and its entire path. This file displays in the Video Player's File Information area. When Multicasting, -f specifies the port number. The address displays in the Video Player's Addr/Port Information area

-a access method specifies the access method used to access the video file. Available access methods are tftp, nfs, dap, and Multicast. NFS is the preferred file access method for faster and more accurate data transfer rates required by the player. In addition, there is a 16MB limit on files transferred with TFTP.

-v volume level specifies the volume level to use when playing the video file. Specify a number between 0 and 100, with 0 indicating no volume, and 100 indicating the loudest volume setting.

-m   (Mute) specifies that the video file plays with no sound.

-c (Color) specifies that the video file displays in color (used only if the video was recorded in color).

-nc (No Color) specifies that the video file displays in greyscale images.

-brightness n  sets the brightness level of the video file. Specify a number between -50 and +50.

-contrast n  sets the contrast level of the video file. Specify a number between -50 and +50.

-b (Big)  specifies that the video file displays in a frame four times the size of the original file.

-p (Playonly)  when used with the options above, the specified file plays without showing the Video Player. The entire file plays and cannot be interrupted.

-all (Play All; software player only)  plays all frames in a video file. Frame scheduling is ignored and the audio will not be in sync.

-title "string"  assigns a title for the vplay windows.

-propcmd  creates properties that allow other clients to send command strings to the Video Player. These properties cannot be changed or modified and are used to control the Video Player from another client that you create. For details about the properties, see the vplay man page.

-BUFSIZE n  (Hardware Player only) specifies the size of the Video Player's memory buffer (in kilobytes). The value defaults to 1024 and can not be set lower than 1 kilobyte. If the value specified is greater than available memory when trying to play a file, the Video Player reduces its buffer to the available memory.

-CHKSIZE n  (Hardware Player only) specifies that the Video Player's memory buffer is divided into "chunks", measured in kilobytes. The network fills the chunks, and the Video Player empties them as they are accessed. The default is 32, which divides the buffer into 32 kilobyte chunks. If the chunk size is set to a number larger than the buffer size, the chunk size will be truncated to one half the buffer size. The chunk size cannot be set less than 1 kilobyte.

-CHKDELAY n  (Hardware Player only) specifies the time delay (in milliseconds) that the Video Player waits following each read request that fills a chunk.

-chan n (Multicast only)  specifies an index into an array of available Multicast channels. Do not use with the -h, -f, -a, or -text options.

-text "string" (Multicast only)  specifies the channel string to be displayed by the Video Player. Do not use with the -chan option.

Starting a LAT session

A LAT session can be started with a Tek220 or Tek340 emulator.
xpsh -display
display_name:0 tek220 -e llogin
xpsh -display
display_name:0 tek340 -e llogin
Resource settings can be specified for a LAT session. Refer to the next section, Specifying Client Resource Settings.

Starting the Local Client Launcher

xpsh -display display_name:0 launcher

The following options can be added to the xpsh command line when starting the Client Launcher:

-auto  Configures the Client Launcher with the automatic default settings even if a configuration file exists.

-file filename  Configures the Client Launcher using a user-defined configuration file.

Starting local MWM
xpsh -display display_name:0 mwm
Note: If both MWM version 1.1 and MWM version 2.0 are authorized, the 2.0 version will start.
Starting a Serial Session for Port 0 and Port 1

A serial session can be started with a Tek220 or Tek340 emulator for port 0 or port 1.

xpsh -display display_name:0 tek220 -e tip tty0
xpsh -display
display_name:0 tek340 -e tip tty1

Starting Setup

xpsh -display display_name:0 setup

A network computer's Setup and Console window can also be started and displayed on a remote network computer or host using xpsh. Once started, you can use Setup to configure network computer settings, establish communication connections, and monitor network computer operations.

To access a network computer's Setup from a remote network computer or host using C shell, enter:
setenv TEKSETUP_DISPLAY display_device:0
xpsh -display
display:0 setup
If using a different type of shell tool, enter:
xpsh -display display:0 -xpenv "TEKSETUP_DISPLAY=display_device:0" setup
where display is the remote network computer whose Setup and Console window is accessed, and display_device is the network computer or host where Setup is to display. Use IP addresses if the remote network computer does not know the host name of the display device (set up in the Internet Host Table in Setup).
If the network computer user currently has Setup started, it is not accessible remotely via xpsh. Likewise, if a remote network computer or host has Setup open via xpsh, it is not available to the network computer user.

Note: To prevent other users from accessing your network computer's Setup and resetting the server, set enable_access_control to Yes (in either the xp.cnf file or in Setup).
Starting a Telnet session

A Telnet session can be started with a Tek220 or Tek340 emulator.

xpsh -display display_name:0 tek220 -e telnet
xpsh -display
display_name:0 tek340 -e telnet

Resource settings can be specified for a Telnet session. Refer to the next section, Specifying Client Resource Settings.

Starting WinDD

xpsh can start the WinDD client as needed. To start WinDD with xpsh, enter the following (where display_name is the name or address of your network computer):

xpsh -display display_name:0 windd [options]

The following options can be set on the xpsh command line:

-display display:0
Specifies the display name or address to display the WinDD local client.

-c Auto-connect to the first application server in the application server list. If there are no application servers in the list, this option is ignored and the client window is displayed.

-nc Do not auto-connect to an application server. (Default)

-d Displays the menu bar and the internal borders. (Default)

-nd Does not display the menu bar or the internal borders. For example, this allows a 1280x1024 WinDD window to fully display on a 1280x1024 monitor (minus windows manager decorations).

-e Enables the Application Server edit field window so that users can add application servers to the application server list. (Default)

-ne Disables the Application Server edit field window so that users are not allowed to add application servers to the application server list.

-floppy
Allows supported host versions of WinDD to use its local floppy drive as a network connected drive for the Application Server. Only the first host client to specify this option is allowed to use the floppy device.

For host clients (with local floppy drive) only.

-no_floppy_cache
Disables use of local floppy write cache. This is a fail-safe option to ensure the entire file has been updated in the event a user suddenly ejects a disk mechanically (when disks are ejected via the GUI button, that process flushes the cache so no information is lost).

-geometry <geometry>
Standard X11 geometry option, <WidthxHeight+X+Y>.

-h <application server>
Adds the named application server(s) to the application server list. Multiple application servers can be added to the list by listing them separated by spaces.

-help
Displays a brief help list on the available WinDD command line options.

-initprog <prog> [-initdir <dir>]
Specifies the application to execute upon application server login. The login session is terminated when the application is terminated.

Prog specifies the application and can also specify its path (up to 259 characters) and parameters. The program path and name are written consecutively (and not separated by a space) when they are both specified in prog. A space separates the program name and its parameters. These parameters are program specific and can specify program settings or data files to invoke on execution.

Dir specifies the path of the executable program.

-keysym_only
Specifies that all NCD network computer keyboards are supported with keysym translations within WinDD.

-local_numlock
Specifies that WinDD manages the state of the Num_Lock independent of any Xserver support.

-no_auto_numlock
Specifies that WinDD does not control the Num_Lock setting.

-login <username> [pass <passwd>] [-domain <domainname>]
Specifies the application server user account login name, login password, and domain. These values will be used for user account verification.

When using a WinDD client and connecting to a WinDD application server, your username, password, domain, initial program, and initial directory are encrypted as they are sent across the network.

Username, password, domainname, dir, and prog are not viewable or changeable from the WinDD configuration window.

-r Reconnect to the application server after log off.

-nr Does not reconnect to the application server after log off. (Default)

-version
Displays the WinDD version in use. (If the license is 8019, this option also prints For evaluation purposes only.)

-x Exits the WinDD client upon logging out of, or disconnecting from, the application server.

-nx Does not exit the WinDD client upon logging out of, or disconnecting from, the application server. (Default)

-force_xcursor
Specifies that monochrome pointers within the WinDD desktop are to be implemented using X cursors. Some monochrome pointers are xor'd with the underlying desktop. When this switch is specified, it is no longer xor'd, as X cursors do not support that mode.

Note: The force_xcursor feature is intended to compensate for workstations that do not have a particularly high performance X server. Consider using this option if the pointer flashes when move, or poor performance is observed entering text in dialog boxes. Using this switch improves user interactivity. The only side effect is the pointer is displayed in a single color.
Starting Xlock

xpsh -display display_name:0 xlock -mode <mode>

where <mode> is an optional setting. If set to 1, Xlock locks the keyboard only. If set to 0, Xlock locks the keyboard and the screen. If a mode setting is not given, Xlock locks the keyboard and the screen by default.

A password is required to use the Xlock client. The same password is used throughout the entire session. If while using Xlock you forget the password, you must reboot the network computer or reset the server (in Setup) to clear the password and unlock the keyboard and screen.

Starting local XP Window Manager
xpsh -display display_name:0 xpwm

Starting Local Clients In The XP.CNF File

Using the start and/or preload commands in the remote configuration file (XP.CNF), you can determine which local clients are downloaded and/or started at boot time. The specified clients are loaded into the network computer's memory and remain there until started. Even after closing the client, it remains in RAM so that it can be restarted again. For information about starting local clients from the remote configuration file, refer to the start and preload commands in Chapter 2, Remote Configuration, in the NCBridge Reference Manual.

Starting Local Clients with rsh

rsh is a host program used to download local clients to a network computer. rsh sends information to the network computer specifying which local clients to download, however, unlike xpsh, rsh does not receive local client error messages and exit information from the network computer.

Security for rsh is set through the .rhosts file. If user security is not set in the .rhosts file, then users will be able to access all local clients. The rshd_security command in the remote configuration file (xp.cnf) is used to determine whether users can override the security features set by the system administrator.

Enabling rsh

Before starting local clients with rsh, you must first enable it. To do this, use the start command with the parameter RSDH in the remote configuration file (xp.cnf):

start RSHD Yes

Editing the .rhosts File

The .rhosts file is used to authenticate user requests to execute local clients. Entries are either positive or negative, depending on the permissions you want to give users. Positive entries enable user to access the specified local clients; negative entries deny access. The entries should include the hostname, username and client name. The order of entries within the files is important. If the file contains both positive and negative entries, the entry that appears first takes precedence.

Examples

For example, the entry below allows user judyl access to the Setup and Client Launcher clients while logged into the host Sierra:

sierra judyl +setup +launcher

If you do not list specific clients, then all clients are available to the specified user:

sierra judyl

A negative entry means that the client is not available to the user, but all other clients are. For example, user judyl cannot access the Digital Video Player or the Audio Player, but can access any of the other available clients:

sierra judyl -vplay -aplay

You can also use the positive and negative specification for hostname and usernames. In the following example, user paulb can access all clients from any remote host:

+ paulb

In the next example, any user from any host can access the Setup and Launcher clients:

+ + +setup +launcher

In the final example, user davidb is not allowed access to the Setup and Xlock clients from any host:

+ -davidb +setup +xlock

For details about the .rhosts file, refer to the rhosts man page for your host.

Starting Local Clients with rsh

rsh uses the same local client options as xpsh. When using rsh to start clients, you do not enter the -display environment variable, and you must use the network computer name instead of an address. For example, to start Setup with rsh:

rsh  display_name  setup

For details about starting local clients using rsh, refer to the Starting Local Clients with xpsh section earlier in this manual and substitute rsh for xpsh and omit the -display environment variable and the :0 in all examples.

Note: rsh can start all the local clients that xpsh can start, except for the Remote Setup client.

Client Launcher

The local Client Launcher allows users to start local clients by simply selecting a client from a menu using the mouse. Figure 5-1 shows a sample Client Launcher menu. The Client Launcher can be configured automatically using default options, or with a customized configuration file. It can be downloaded to the network computer using the remote configuration file (XP.CNF) or using xpsh.


Figure 5-1 Client Launcher Menu

Configuring the Client Launcher

There are two ways to configure the Client Launcher: default automatic configuration, or with a specific configuration file. When the Client Launcher is started, if a user-defined configuration file is not specified, it first searches for a SYSTEM.LAUNCHER configuration file. If that file is not found, it configures automatically.

Automatic Configuration

If there is no configuration file present, the Client Launcher will automatically configure and include the following clients by default: Telnet, HostMenu, Lock Screen, Console, Audio Player, Audio Mixer, Digital Video, and Setup. Serial Port 0 and/or 1 are included if the network computer has serial ports. If Motif Window Manager, TDEnet, LAT, Tek340, Tek3270, or Tek3287 are authorized, they are included as well.

Configuration Files

The configuration files are used to customize the Client Launcher to include only specific clients so that you can determine which clients are available to users. There are two different types of configuration files:

To create a configuration file:

Note: Refer to the sample configuration file as a guideline when creating a configuration file.
    1. Create a new file, naming it either SYSTEM.LAUNCHER for a system-wide configuration file, or whatever you like for a user-defined file, for example, LAUNCH.
    2. Move the new file to the site-specific directory referred to by TEK$XP200_CONFIG:, TEK$XP330_CONFIG:, TEK$XP350_CONFIG:, TEK$XP400_CONFIG:, TEK$NC200_CONFIG:, TEK$NC400_CONFIG:, TEK$NC900_CONFIG:.
    3. In the file, use your favorite text editor to enter the main Client Launcher menu name in uppercase letters.
    4. On subsequent lines, enter each of the clients and submenu names (if used) in double quotation marks to include on the Client Launcher followed by the f.exec or f.menu option:
      f.menu specifies that a submenu is available with additional options. For example, if you use multiple sessions, you could have a submenu named Sessions Menu and include Serial 0, Telnet, and Cterm. You can use any name or description you like with the f.menu option, however it must end with the letters menu.
      f.exec specifies a local client to start immediately upon selecting it. Enter the client name exactly as you would on the xpsh command line, usually with all lower case letters and with double quotation marks. For example, "telnet", "console", "setup", and "mwm".
      The order in which you enter clients and submenus in the configuration file determines the order they appear on the Client Launcher.
    5. On the last line of the main menu, enter ENDMENU in uppercase letters.
    6. Create the submenus, if used, by entering the submenu name in all uppercase letters. On subsequent lines, list the clients to include followed by f.exec option in the same manner described in Step 4.
    7. On the last line of each submenu, enter ENDMENU in uppercase letters.

In the following example, the Client Launcher menu contains the following entries: Sessions (displays another menu of available session clients), Console, HostMenu, MWM, and Setup.

Example 5-1 Sample Client Launcher Configuration File
# Configuration file for Client Launcher
#
MAINMENU
"Sessions" f.menu SESSIONS
"Console" f.exec "console"
"HostConnections" f.exec "HostMenu"
"MWM" f.exec "mwm"
"Setup" f.exec "setup"
"Exit" f.exec "quit"
ENDMENU
SESSIONS
"Serial 0" f.exec "tip -e tip tty0"
"Telnet 220" f.exec "xterm -e telnet"
"Telnet 340" f.exec "tek340 -e telnet"
ENDMENU
HOSTMENU
"Netscape Lite" f.exec "netscape_lite"
ENDMENU

In the previous example, the f.exec option immediately starts a client or session, and the f.menu option specifies that a submenu is to appear. The word ENDMENU specifies the end of the menu options.

The main Client Launcher menu contains the MAINMENU entries of the configuration file. When Sessions is selected, the submenu listing available session clients displays.

Note: The time required to start the local browser can be significantly reduced by preloading it during the boot process. Prior to NCBridge 4.0, the browser was automatically preloaded. NCBridge 4.0 does not preload the browser. The administrator must specify the preloading of the browser in the xp.cnf file (see the NCBridge Reference Manual for details).

Downloading the Client Launcher

The Client Launcher can be downloaded using the remote configuration file (XP.CNF) or with xpsh.

Downloading Using the XP.CNF File

The start command in the XP.CNF file can be set to automatically download and start the Client Launcher when the network computer boots. For information about the start command and available parameters, refer to Chapter 2, Remote Configuration in the NCBridge Reference Manual.

Downloading With xpsh

When downloading and starting the Client Launcher using xpsh, the following options can be set:

Examples

The following example downloads and starts the Client Launcher with automatic configuration:

xpsh  launcher -auto

The following example downloads and starts the Client Launcher, configuring its contents using a user-defined file named LAUNCH:

xpsh  launcher  -file DIA1:[GUEST]LAUNCH

The following example downloads and starts the Client Launcher, configuring its contents using the SYSTEM.LAUNCHER file on the network computer rocky:

xpsh -display rocky::0  launcher

The following example downloads and starts the Client Launcher with the automatic configuration using the start command located in the XP.CNF file:

start launcher -auto

Starting the Client Launcher

Once the Client Launcher is downloaded, press the Setup key to display the Client Launcher main menu.

Note: To start the Client Launcher on a Unix keyboard, hold the AltGraph key (three keys to the right of the space bar) down and press the Help/Setup key (at the bottom left of the keyboard).

When the Client Launcher is started, it searches for configuration information in the following order:

To open a client listed on the Client Launcher, simply position the mouse pointer on the client name and click the mouse button once. To open a submenu, position the mouse pointer on the menu name. The submenu displays to the right of the Client Launcher main menu (refer to Figure 5-1). Position the mouse pointer an item in the submenu and click the mouse button once.

Starting Local Motif Window Manager

Motif Window Manager (MWM) can be started from within DECwindows and used as the window manager. DECwindows must be running before starting MWM. The following instructions provide information about starting local MWM in ULTRIX DECwindows, DECwindows XUI, (a pre-Motif window manager), and in DECwindows Motif version 1.0.

In Ultrix DECwindows

    1. From the DECwindows Session Manager window, select the Customize
      pull-down menu and select Applications Definitions.
    2. In the Menu Item text area, enter the item name to use for MWM, for example, TekLocalMwm.
    3. In the Menu Command text area, enter the following command string to start the local MWM: /tekxp/bin/risc_ultrix/xpsh mwm.

Figure 5-2 Applications Definitions Window
    1. Select the Add button to add the item name into the Menu Items window.
    2. Select the OK button.
    3. Select the Customize pull-down menu and select Window.
    4. In the Window Manager option, select the Other push button. Make sure that no window manager specification appears to the right.
    5. Select the OK button.
    6. Select the Customize pull-down menu and then select AutoStart.

Figure 5-3 AutoStart Window
Note: The items listed in the window differ depending on the available Menu Items.

In VMS DECwindows XUI (pre-Motif)

    1. From the DECwindows Session Manager window, select the Customize
      pull-down menu and select Applications Definitions. The Customize Applications Definitions window displays.
    2. In the Menu Item text area, enter the item name to use for MWM, for example, TekLocalMwm.
    3. In the Menu Command text area, enter the following command string to use the sample local MWM startup procedure: @tek$tools_root:[xp.bin.coms]local_mwm

Figure 5-4 Customize Applications Definitions Window

Select the Add button to add the item name into the Menu Items window.

    1. Select the OK button to close the Customize Applications Definition window.
    2. Select the Customize pull-down menu and select Window.
    3. In the Window Manager option, select the Other push button. Make sure that no window manager specification appears to the right.
    4. Select the OK button.
    5. Select the Customize pull-down menu and then select AutoStart. The Customize Autostart window displays.

Figure 5-5 Customize Autostart Window
Note: The items listed in the window depending on the available Menu Items.

In VMS DECwindows Motif 1.0

    1. From the DECwindow's Session Manager window, select the Options
      pull-down menu and select Menus. The Menus window displays.
    2. In the Menu Item text area, enter the item name to use for MWM, for example, TekLocalMwm.
    3. In the DCL Command text area, enter the following command string to use the sample local MWM startup procedure: @tek$tools_root:[xp.bin.coms]local_mwm. An up arrow appears below the Item Names list box.

Figure 5-6 Menus Window
    1. Click on the up arrow to add the name defined in Step 2 to the Item Names
      list box.
    2. Select the OK button to save the new settings.
    3. Select the Options pull-down menu and select Automatic Startup. The Automatic Startup window appears.

Figure 5-7 Automatic Startup Window
    1. In the left column of menu items, select the item name assigned to MWM in Step 2 (in this example, it is TekLocalMwm). The name is added to the right column listing the automatic startup items.
    2. Scroll the right window until the Window Manager item shows. Select it and remove it from the list of automatic startup items. This leaves TekLocalMWM as the window manager.
    3. Select the OK button to save your new settings.
    4. Select the Options pull-down menu then select Save Session Manager.
    5. Quit the session.
      When your DECwindows session restarts, the NC local MWM is invoked automatically.

Motif Window Manager File Access

Accessing MWM Configuration Files

When MWM is started from your host using the xpsh command, MWM looks for system-level and user-level customization files on your host. These files are accessed using NFS, TFTP, DAP, or SXP. The access method used is determined by the -access argument of the xpsh command. (Refer to the xpsh man page for information about the xpsh command arguments.) The name of each file accessed by MWM is printed in the Console window. Setting up and using NFS file access can reduce MWM startup time.

Note: You can also start local MWM using the remote configuration file or Setup. However, these methods do not allow MWM access to the system-level and user-level customization files on your host.
Accessing the MWM Resource Description File

Local MWM searches for a resource description file in the following order:

    1. The value of the MWM configFile resource
    2. decw$system_defaults:decw$mwm_rc.dat
    If none of the above resource description files is found, MWM defaults to a language-specific resource description file from the boot configuration directory which is specified by the rooted logical TEK$XP_BOOT_CONFIG_ROOT. The language is specified by the Language option in the remote configuration file (XP.CNF) or in Setup. To see the current language setting, enter Setup and look at the Language option.
Accessing the MWM Defaults Files

The local MWM is configured from its resource database. MWM builds its resource database from the following sources, listed in the order that MWM accesses them:

    1. MWM command line options.
    2. RESOURCE_MANAGER root window property, if it is set;
      otherwise
      decw$user_defaults:decw$Xdefaults.dat file
      The RESOURCE_MANAGER property is typically set by DECW$SESSION. These values do not override the existing values in the database.
    3. dec$user_defaults:decw$mwm.dat, if it exists;
      and
      decw$system_defaults:decw$mwm.dat
      For a gray scale display, decw$mwm.dat resources are overridden in
      decw$user_defaults:decw$mwm_gray.dat, if it exists;
      and
      decw$system_defaults:decw$mwm_gray.dat
      For a monochrome display, decw$mwm.dat resources are overridden in
      decw$user_defaults:decw$mwm_bw.dat, if it exists:
      and
      decw$system_defaults:decw$mwm_bw.dat
      These values do not override the existing values in the database.

If none of the above application specific app-defaults files are found, MWM defaults to a language-specific defaults file from the boot configuration directory which is specified by the rooted logical TEK$XP_BOOT_CONFIG_ROOT. The language is specified by the Language option in the remote configuration file (XP.CNF) or in Setup. To see the current language setting, enter Setup and look at the Language option.

Creating a Local MWM Resource Description File

You can copy the system.mwmrc file to your home directory and then modify the file to customize your Motif environment. Table 5-1 shows the functions you can add to the file.
Table 5-1 MWM Functions 
Function
Description
f.beep
Causes a beep.
f.cci
Controls the placement and naming of client-command interface (CCI) commands generated by applications.
f.circle_down
Moves the top window to the bottom of the window stack.
f.circle_up
Moves the bottom window to the top of the window stack.
f.exec or !
Executes the following shell command.
f.focus_color
Sets the colormap focus to a window.
f.focus_key
Sets the keyboard input focus to a window.
f.goto
Moves the root window to a specified location.
f.kill
Kills an application and its window.
f.lower
Moves a window to the bottom of the window stack.
f.maximize
Maximizes a window.
f.menu
Activates the named menu. This function can be used to create cascading and Popup Menus.
f.minimize
Iconifies a window.
f.move
Starts an interactive move for a window.
f.next_cmap
Installs the next colormap.
f.next_key
Moves the keyboard input focus to the next window in the window stack.
f.nop
Does nothing.
f.normalize
Causes an icon or a maximized window to be displayed at its normal size.
f.normalize_and_raise
Causes an icon or a maximized window to be displayed at its normal size and raised to the top of the window stack.
f.pack_icons
Reorganizes the icons according to the current icon placement policy.
f.pan
Moves the root window a specified amount.
f.pass_keys
Toggles the use of special key bindings.
f.post_wmenu
Posts the Window Menu.
f.prev_cmap
Installs the previous colormap in the list of colormaps for the window with the colormap focus.
f.prev_key
Moves the keyboard input focus to the previous window in the window stack.
f.quit_mwm
Exits the window manager without exiting the X Window System.
f.raise
Raises a window to the top of the window stack.
f.raise_lower
If obscured, raises a window to the top of the window stack; otherwise, lowers it to the bottom of the window stack.
f.refresh
Redraws all the windows on the screen.
f.refresh_win
Redraws a single window.
f.resize
Starts an interactive resize for a window.
f.restart
Stops and restarts the window manager.
f.restore
Restores an iconified window to its previous state.
f.restore_and_raise
Restores an iconified window to its previous state and raises it to the top of its stack.
f.screen
Moves a pointer to a specific screen.
f.send_msg
Sends a client message to the application.
f.separator
Draws a separator in a menu pane.
f.set_behavior
Restarts the window manager with the default behavior or reverts to any custom behavior.
f.title
Inserts a title in a menu pane.
f.track_pan
Continuously moves the root window in the direction of the mouse.

Accessing Bitmap Files

The MWM iconImage and bitmapDirectory resources are used to specify paths to bitmap files. The default value for bitmapDirectory is decw$user_defaults.

Accessing the Motif Bindings File

MWM reads the decw$user_defaults:decw$motifbind.dat file, if it exists, to install a virtual key bindings property on the root window. Example motif bindings files are installed in the [TEK.XP.EXAMPLES.MWM] directory by default.

Specifying Virtual Key Bindings

MWM reads the $HOME/.motifbind file, if it exists, to install a virtual key bindings property on the root window. Example motif bindings files are installed in the /tekxp/examples/mwm directory by default.

Setting up Virtual Desktop Panning

The Virtual Desktop Panning feature is available with MWM 2.0. This section provides an example of how you can modify your .Xdefaults and .mwmrc files to activate virtual panning in MWM. The MWM functions f.pan, f.goto, and f.track_pan need to be bound either to keys or to mouse buttons.

Editing .mwmrc for Virtual Desktop Panning

Add the following to your .mwmrc file to use virtual panning. Make sure that the name of the button bindings match the name given for the resource value Mwm*buttonBindings in your .Xdefaults file.

Buttons MyButtonBindings
{
<Btn2Down> root f.menu GotoMenu
Meta<Btn1Down> root f.track_pan
}
Keys MyKeyBindings
{
Meta<Key>Up window|root f.pan 0,-100
Meta<Key>Down window|root f.pan 0,100
Meta<Key>Left window|root f.pan -100,0
Meta<Key>Right window|root f.pan 100,0
}

To set up a menu that lets you quickly switch to different locations on the virtual desktop, code it as follows. You can then restart your MWM application.

Menu GotoMenu
{
Up-Left f.goto 1500,1100
Up f.goto 0,1100
Up-Right f.goto -1500,1100
Left f.goto 1500,0
Home f.goto 0,0
Right f.goto -1500,0
Down-Left f.goto 1500,-1100
Down f.goto 0,-1100
Down-Right f.goto -1500,-1100
}
Editing .Xdefaults for Virtual Desktop Panning

Add the following to your .Xdefaults file to keep MWM from moving all your windows back to the visible part of the screen at startup:

Mwm*positionOnScreen: False

Note that it is important to set the positionOnScreen resource to False because MWM automatically repositions all off-screen windows back to the display screen on restart.

To set up a menu to go to preset positions on the virtual canvas, add the following lines:

Mwm*GotoMenu*numColumns: 3
Mwm*GotoMenu*packing: PACK_COLUMN
Mwm*GotoMenu*orientation: HORIZONTAL
Mwm*GotoMenu*alignment: ALIGNMENT_CENTER

For consistency with the .mwmrc file, add the following lines:

Mwm*buttonBindings: MyButtonBindings
Mwm*keyBindings: MyKeyBindings

To prevent the client and icon windows from moving, add the following lines:

Mwm*XBiff*iconPinned: True
Mwm*XBiff*clientPinned: True
Mwm*iconPinned: True
Unsupported DECwindows MWM Functions

Local MWM does not support the following functions that DECwindows MWM supports:

f.dec_help Starts the DECwindows help widget

f.dec_customize Performs customization functions.

Local MWM interprets these functions as f.nop (no operation) and if either is used in a menu, local MWM stipples the item to indicate that it cannot be selected.

If you must have the customizations that f.dec_customize provides, run the DECwindows MWM, use the customization menu items which appear in the Options menu, and save the results in your resource files. From then on, local MWM acquires the customizations when it reads the various resource files.

Troubleshooting MWM

This section contains some information on possible solutions to correct some common MWM problems:

XP Window Manager

XP Window Manager (XPWM) is a local window manager available with the network computer. XPWM provides a basic window manager that uses a minimum amount of network computer memory.

Accessing the XPWM Defaults File

XPWM is configured from its resource database. This database is built from the following sources, listed in the order that XPWM accesses them (the last setting takes precedence over the first).

    1. XPWM default values.
    2. The application's specific app-defaults file;
      TEK$XP_CONFIG:[<language>]APP-DEFAULTS]
    3. RESOURCE_MANAGER root window property, if it is set
      The RESOURCE_MANAGER is typically set with the xrdb command. These values do not override the existing values in the database.

Starting the XP Window Manager

XPWM can be started with xpsh, from the remote configuration file (xp.cnf), or from the Client Launcher.

Starting XPWM With xpsh

Enter the following command in the user's session start up file. (If using the NCD-supplied X Display Manager (xdm), enter the command in the .xsession file in the user's home directory.)

xpsh  -display terminal address xpwm
Starting XPWM With the xp.cnf File

The start and preload commands in the xp.cnf file can be used to start XPWM. For details about these commands, refer to Chapter 2, Remote Configuration, in the NCBridge Reference Manual.

Starting XPWM With the Client Launcher

The Client Launcher can be customized to include those clients that you use most often. The XPWM is listed on the Client Launcher by default as part of the Window Manager's submenu. To start XPWM, move the mouse pointer to XPWM and click the mouse button. For information about the Client Launcher, refer to the Client Launcher section earlier in this chapter.

Using XPWM

You use XPWM much like any other window manager. The windows have many of the same elements as Motif Window Manager. Figure 5-8 shows a sample XPWM window and its elements.


Figure 5-8 Elements of an XPWM Window

You can move and resize windows using either the mouse alone, or the commands located on the XPWM menu. Table 5-2 shows the mouse interface.
Table 5-2 Working With XPWM Windows
To
Do This
Move a window
Position the mouse pointer on the title bar, click and drag the window to the new position.
Resize a window
Click on the Resize button and drag the window to the new size.
Make a window active
Position the mouse pointer in the window and click.
Iconify a window
Click on the Iconify button.
Un-iconify a window
Click on the window's icon.
Raise a window to the top
Position the mouse pointer in the window and click.

To access the XPWM menu, position the mouse pointer outside of a window, and click. First select a command, and then move the mouse pointer to the window you want the command to affect. Table 5-3 shows the commands available on the XPWM menu.
Table 5-3 XPWM Menu Command 
Command
Description
Iconify
Iconify a window.
Resize
Resize a window.
Move
Move a window.
Raise
Move a window to the top of other windows.
Lower
Move a window behind other windows.
Icon Manager
Open the icon manager, which lists the open windows and applications on the screen.
Kill
Close a window and any processes running in the window.
Delete
Close a secondary window, such as a dialog box for an application.
Restart XPWM
Exit and restart the XP Window Manager. Open windows and processes will remain while the window manager restarts.
Exit XPWM
Exit the XP Window Manager.

Customizing XPWM

You can change the appearance of XPWM using the resource settings listed in Table 5-4. XPWM does not allow user-defined bindings or user-defined menus.
Table 5-4 XPWM Resource Settings
Resource
Description
xpwm.IconForeground <color>
Specifies foreground color of icons.
xpwm.IconBackground <color>
Specifies background color of icons.
xpwm.IconFont <font>
Specifies the font used with icon names.
xpwm.TitleForeground <color>
Specifies the foreground color of the title bar.
xpwm.TitleBackground <color>
Specifies the background color of the title bar.
xpwm.TitleFont <font>
Specifies the font used in the title bar.
xpwm.MenuForeground <color>
Specifies the foreground color of the XPWM menu.
xpwm.MenuBackground <color>
Specifies the background color of the XPWM menu.
xpwm.MenuFont <font>
Specifies the font used in the XPWM menu.
xpwm.BorderWidth <integer>
Specifies the width of the border around the windows.
xpwm.BorderColor <color>
Specifies the color of the borders around the windows.
xpwm.InputFocus <method>
Specifies the method used by the mouse to activate a window. Enter either click or point.

Authorization Key Manager

The Authorization Key Manager enables a system administrator to easily update the authorization keys of several network computers. Authorization keys are used to authorize special options used on the network computer, such as window managers, XIE, TDEnet, and the video player.

Instead of entering each network computer's authorization key one at a time, you can update and maintain them from a central file. The Manager reads the authkey.dat file, which contains the authorization keys for those network computers you want to update with new options. When the file is read, those network computers listed in the authkey.dat file are updated with a new key.

How the Authorization Key Manager Works

The Authorization Key Manager uses SNMP to query specific broadcast addresses and network computers listed in the authkey.dat file, or in the Authorization Key Manager client. Those terminals are then assigned a new authorization key, also listed in the authkey.dat file. Therefore, you must have and enable SNMP.

Setting Up SNMP

In the xp.cnf file, use the snmp_comm_list command to set the community list to public and to allow read and write permissions:

snmp_comm_list "host" public RW

where "host" is the host that performs the GET and SET operations when querying the subnet, public is the community string, and RW indicates read and write permissions.

The authkey.dat File

The authkey.dat file is located in /tekxp/boot/config by default and is empty. Edit the file to contain the broadcast address to query, the network computers to update, and the new authorization keys. The following parameters are used in the authkey.dat file:

broadcast specify the broadcast address to query using SNMP.

terminal for each network computer you want to update with a new authorization key, enter its hardware address.

authorization key For each network computer, enter the authorization key. Each network computer must have a unique authorization key.

This example shows a sample authkey.dat file:

broadcast 144.67.33.255
terminal 08:00:34:94:33:EJ JAB(4%>3+[=T;fjqc
terminal 08:46:22:69:47:32 AK)&AMB@.?JTOR&]\
terminal 08:42:90:00:31:69 Jk%3+=]klw\jvv<?!
terminal 08:47:35:69:21:21 Uu$^qvuIi#=/>1GLq

Starting the Authorization Key Manager

You can update authorization keys automatically with the xp.cnf file (and the authkey.dat file), or you can open the Authorization Key Manager client. The client provides a user interface where you can enter and delete authorization key and network computer information before updating the authorization keys.

Updating the Authorization Key When Booting

To automatically update authorization keys when booting, edit the xp.cnf file to uncomment the update_authkey command. The network computer reads the authkey.dat file when booting and updates the network computer and authorization key information. (Be sure that SNMP is available and enabled.)

Starting the Authorization Key Manager Client With xpsh

Use xpsh to open the Authorization Key Manager client as shown in Figure 5-9. The client's interface allows you to add and delete information from the authkey.dat file, and to force the authkey.dat file to be read without having to reboot the network computer.

To start the client with xpsh, enter the following:

xpsh  authkey

Using the Authorization Key Manager Client

The Authorization Key Manager client can be started only with xpsh. When it starts, the window shown in Figure 5-9 appears.


Figure 5-9 Authorization Key Manager Window

The Authorization Key Manager Window shows the ethernet addresses and authorization keys as listed in the authkey.dat file. Before updating authorization keys, you can add and delete information in this window. This information is read in addition to the entries in the authkey.dat file. The following topics are discussed:

Adding and Deleting Network Computer Information

The Authorization Key Manager window contains network computer information necessary for updating authorization keys. If you have information in the authkey.dat file, it displays in this window.

To apply your changes to the authkey.dat file, refer to Saving the Authkey File.

Editing the Broadcast List

The Authorization Key Manager searches the specified broadcast address for those network computers that match the ethernet addresses listed in the authkey.dat file. To view and or edit the broadcast list, select the Edit Broadcast List button. The window shown in Figure 5-10 appears.


Figure 5-10 Edit Broadcast List Window

This window lists the broadcast addresses that the Authorization Key Manager client searches when updating authorization keys. You can add and delete information in this window. Information in this window is read in addition to the entries in the authkey.dat file.

To apply your changes to the authkey.dat file, refer to Saving the Authkey File.

Updating Authorization Keys

When the correct information is in the Authorization Key Manager window, select the Update Authkey button. The authorization keys are updated for those network computers listed.

The update status for each network computer is displayed as either Successful or Unreachable. If the status is Unreachable, check that you entered the correct ethernet and authorization key information. Make sure also that you have SNMP enabled.

Saving the Authkey File

After making changes to the ethernet addresses, authorization key, or broadcast information, you can save those changes to the authkey.dat file. To save changes, select Save Authkey File. The window shown in Figure 5-11 appears.


Figure 5-11 Save Authkey File Window
    1. Select the access method for saving the information to the file: NFS or TFTP.
Note: If you use TFTP as the access method, the file authkey.dat must already exist and have world write permissions.
    1. Enter the host name on which the authkey.dat file is located.
    2. Enter the path and file name to which the information is to be saved.
    3. Select the Save Authkey File button to save the information in the Authorization Key Manager client to the authkey.dat file.
    4. Select Return to Main Menu to exit the Save Authkey File window.

Touchscreen Calibration Client

The Trident touchscreen calibration client enables you to calibrate the touchscreen. Figure 5-12 shows the calibration client.


Figure 5-12 Calibration Client

To invoke the calibration client, first map it to a keysym using the keysym_action_entry command. For example, to invoke the client with the F1 key, enter the following in the xp.cnf file:

keysym_action_entry F1 TOUCH_CALIBRATE ALL

Touchscreen jitter can be controlled with the touchSc_Jitter command:

touchSc_Jitter 4 # touch screen jitter control

In this example, the 4 indicates that a change of less than 5 pixels when touching the screen will not move the cursor. The jitter and SAW touchscreen pressure thresholds are controlled from the calibration client with the Jitter Control slider. The touch thresholds are controlled with the Up Threshold and Down Threshold sliders.


TOC PREV NEXT INDEX