Solaris 7 5/99 Release Notes Supplement for Sun Hardware

PC launcher Installation and Configuration

Audience

PC launcher is designed for Solaris users who have access to Windows `95 or `98 based PC environments

What is PC launcher?

PC launcher provides you with the capability to view and edit PC files and attachments by launching the associated Windows applications and files in the PC environment. PC launcher enables you to launch attachments and files created in the Windows environment.

PC launcher Installation Requirements

You must have the Software Supplement for the Solaris 7 8/99 Operating Environment for Sun Computer Systems CD. If you don't have the Supplement CD, contact your Sun service representative.

System Requirements

Sun Workstation

Network PC Environment with one of the following:

PC launcher Installation

SunPCi Requirements

In order for PC launcher to work, SunPCi and its host workstation must be able to ping each other by `name'. To do this, you must have:

  1. IP connectivity between the two.

  2. Name services (whatever you happen to be using) set up on each so that you can look up the other's name and get its IP address.

Because of the network architecture of SunPCi and the way it shares Ethernet access with its host, they cannot see each other on the network.

To work around this, you need to use an IP routing system (a "real" router, another Sun system, an NT system, etc.) on the same subnet to act as a proxy router.


Note -

You must have account access to the IP router you have selected, since you must add two routes to it.


For example, based on following setup:

SunPCi IP = 10.0.0.1 Host workstation IP = 10.0.0.2 Router IP = 10.0.0.3

you need to do the following:

  1. On SunPCi:

    route add 10.0.0.2 10.0.0.3


    Note -

    You can create a Windows BAT file with this in it and put it in your StartUp folder so that it gets run at every login.


  2. On the host workstation:

    route add 10.0.0.1 10.0.0.3 1


    Note -

    You can add an /etc/rc script to make this happen at every reboot.


  3. On the routing proxy:

route add 10.0.0.2 10.0.0.3 0 route add 10.0.0.1 10.0.0.3 0 (or the equivalent)


Caution - Caution -

You must add routes to all three systems in this fashion in order for this to work. Do NOT assume that "standard network default routers" or anything else will provide similar functionality; they will not.


After doing this, verify that the SunPCi can ping its host by IP, and vice versa. Once that works, make sure that they can ping each other by name; add entries to the appropriate naming services if they cannot. On UNIX, examples of naming services are DNS or /etc/hosts. Windows can use DNS or the hosts file as well. Consult your System Administrator to add these entries, based on your setup. Once the systems can ping each other by name, PC launcher will install.

For further assistance with installation of SunPCi, refer to the following publications:

Installing PC launcher Packages Using Sun WebStart
  1. Insert the Software Supplement for the Solaris 7 8/99 Operating Environment for Sun Computer Systems CD (assuming the CDROM is automatically mounted by the vold daemon).

  2. In a shell, change directories to /cdrom/cdrom0, become root, and at the prompt, type:


    # installer
    

  3. Once Installer is Up and Running, click "Next".

  4. Select "Custom Install" then click "Next".

  5. Deselect any other products that you do not want to install at this time by clicking "No Install".

  6. Ensure that PC FileViewer/PC launcher is selected for "Default Install" then click "Next".

  7. Click "Install Now".

  8. Log out of the system (this completes the installation).

  9. Log back into the system (this initializes the new functionality).

Installing PC launcher Using pkgadd

  1. Insert the Software Supplement for the Solaris 7 8/99 Operating Environment for Sun Computer Systems CD (assuming the CDROM is automatically mounted by the vold daemon).

  2. In a shell, change directories to /cdrom/cdrom0/Product, become root, and at the prompt, type:


    # pkgadd -d `pwd` SUNWdtpcz SUNWdtpcv SUNWdtpcp
    

  3. Log out of the system (this completes the installation).

  4. Log back into the system (this initializes the new functionality).

Configuring PC launcher

You configure PC launcher by specifying your setup in the three steps on the PC launcher Configuration window.

Before configuring, you must have the following:

Configuring for PCi
  1. From the CDE Toolbar, start the Application Manager.

  2. Click "Configure PC launcher" under the Desktop controls. The PC launcher Configuration window is displayed. Answer the questions in the following 3 steps.

    1. On-Board PC Emulator and SunPCI (default)

    2. Enter your Sun PCi's hostname (default)

    3. Let PC Emulator handle the file

  3. Click "OK".


    Note -

    PC documents are opened for viewing and editing through the Sun PCi card whenever you double-click a document. If you want to do "quick" viewing, select "Let Solaris handle the file" and PC file viewer is invoked. For editing, use the right-mouse button and select "Open In Emulator".


  4. From SunPCi run h: \.dt\bin\win9x\intel\sdtpcactiond.exe (assuming H: is mapped to your unix home directory).

Configuring for the Software Environment
  1. From the CDE Toolbar, start the Application Manager.

  2. Click "Configure PC launcher" under the Desktop controls.

    1. On-Board PC Emulator and SoftWindows.

    2. <Hostname>

    3. Let Solaris handle the file


      Note -

      PC type documents can be opened for viewing and editing with a right-mouse double-click. If you selected "Let Solaris handle the file" when you configured PC launcher, then double-clicking on a file will launch PC file viewer.


  3. Click "OK".

  4. From Software Environment run:


    h: \.dt\bin\win9x\intel\sdtpcactiond.exe
    

    (assuming H: is mapped to your unix home directory).

Configuring for a Deskside PC
  1. From the CDE Toolbar, start the Application Manager.

  2. Click "Configure PC launcher" under the Desktop Applications.

    1. Standalone PC

    2. <Hostname>

    3. Let the Standalone PC handle the file


      Note -

      PC type documents can be opened for viewing and editing with a right-mouse double-click. If you selected "Let Solaris handle the file" when you configured PC launcher, then double-clicking on a file will launch PC file viewer.


  3. Click "OK".

  4. From Deskside PC run:


    h: \.dt\bin\win9x\intel\sdtpcactiond.exe
    

    (assuming H: is mapped to your unix home directory).

Using PC launcher

The CDE front panel and CDE workspace can be populated with an icon representing the PC environment, such as SunPCi. To do this, drag and drop OpenInSunPCi from the Desktop Applications in Application Manager, onto the Front Panel.

If you did not configure PC launcher, then the first time you open PC launcher, the PC launcher Configuration window will display. This is where you will configure PC launcher. You only need to configure PC launcher once.

Working With Files

Windows Files

Identification of many popular PC file formats in CDE allows you to select and launch them in your preferred PC environment, such as SunPCI. A right mouse click on these files gives you the three following choices in the menu:

Windows shortcuts can be dragged and dropped onto the Front Panel. They can also be put on the CDE workspace. To do this, create a windows short cut in your unix home directory and use dtfile to drag and drop. Please refer to Windows help to create short cut, and CDE help to get more information on drag and drop.

To open applications or datafiles, double-click on the shortcut from the Solaris desktop. This does require that you have the associated applications available to you. This makes the Solaris desktop act like a Windows desktop. You can keep all your relevant applications inside the Solaris CDE front panel and CDE workspace and run them by double-clicking on them.

Windows Binary Files

These files (exe) can be double-clicked and run inside the PC environment (for example, SunPCi).

Copy and Paste Text

Highlight the text you want to copy and select copy from your Edit menu.

Then click the place you want to paste the text, and select paste from your edit menu.

View and Search

View -- click on the file and select View.

Search -- under the Edit menu, select Find/Change; enter the name of the file into the Find field and click Find.

Print Files

Select 'Print' from your File menu and your file will print out on the PC printer.

Other Features

Bring Windows Start Menu to CDE

Using manual steps, you can get to all of the Windows Start Menu choices in the CDE Application Manager. To achieve this:

  1. Start Windows explorer.

  2. Copy C: \Window\StartMenu\ to H: \.dt\appmanager.

  3. Start Application Manager.

  4. Go to the Desktop controls.

  5. Click "Reload Application".

Login On a Different Machine

Reconfigure PC launcher on the Configuration window.

Reconfigure PC launcher

Remove the PC's hostname in Step 2 on the PC launcher Configuration window.

Switch Between Targets

Change your selection in Step 1 on the PC launcher Configuration window.

Getting Help for PC launcher

Help for PC launcher is available through the Help menu at the bottom of the PC launcher Configuration window.