Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Configuring Desktop Clients and Servers

This section covers network configuration requirements that are specific to the desktop—that is, these capabilities are provided by the desktop rather than by the base operating system.

The section is divided into two parts:

Configuring Login and Session Services

A login/session server is a system that supplies desktop services (Login Manager, Session Manager, File Manager, Window Manager, and so on) to a display and X server.

Typically, a session server supplies services to X terminals. However, a network configuration can be set up that concentrates session services on one or more servers that are accessed by both X terminals and workstations.

Login Manager is the desktop component responsible for supplying login services to other displays. Once the user has logged in, Session Manager is started for the user.

For information about configuring login/session servers and X terminals, see Displaying a Login Screen on a Network Display.

Configuring Other Application-Related Services

This section covers networking requirements common to the desktop:

To Configure Desktop Clients and Servers

  1. Provide the operating system network configurations required by the desktop.

    See Configuring Base Operating System Networking for the Desktop.

  2. Install the desktop or the minimum set of files.

    You must install:

    • The entire Common Desktop Environment run-time file sets

    • Or, these sets of files: CDE-MIN and CDE-TT


      Note –

      Installation and file sets may differ among vendors.


  3. Configure the system for the ToolTalk filename database server daemon rpc.ttdbserver.

    This should happen automatically when the desktop is installed. For more information, see Configuring the ToolTalk Database Server.

  4. Install and configure the subprocess control daemon (dtspcd).

    This should happen automatically when the desktop is installed. For more information, see Configuring the Subprocess Control Daemon.

  5. Mount all required remote data.

    Data is considered “remote” when it is located on a system other than the system on which the application using the data is running.

    For example:

    • If an application uses data located on a file server, it must mount those files.

    • If File Manager icons are located on an icon server, the session server must mount those files.

Configuring the Mount Point for Remote File Systems

When the desktop passes file names from one system to another, it must transform, or map, those file names to names that make sense to the destination system. This mapping is necessary because a file may be mounted in different locations on the different systems, and therefore must be accessed using different names. For example the file /projects/big on sysA may be accessed as /net/sysA/projects/big on sysB.

Requirements for File-Name Mapping

To correctly perform this file-name mapping, one of the following must be true:

Setting a Value for DTMOUNTPOINT

You must set the DTMOUNTPOINT environment variable if both of the following conditions are true:

  1. Edit the file /etc/inetd.conf:

  2. Find the dtspcd entry and add:

    		-mount_point mount_point
    
  3. Find the rpc.ttdbserver entry and add:

    		-m mount_point
    

    For example if the automounter is being used with a mount point of /nfs, the entries in /etc/inetd.conf are:

    	dtspc stream tcp nowait root /usr/dt/bin/dtspcd \
     	/usr/dt/bin/dtspcd -mount_point /nfs
     	rpc stream tcp wait root /usr/dt/bin/rpc.ttdbserver \
     	100083 1 rpc.ttdbserver -m /nfs
  4. Perform the procedure on your system that rereads /etc/inetd.conf. For more information, see the inetd(1M) man page.

  5. Set DTMOUNTPOINT such that its value is inherited by user logins.

    This can be done by setting the variable in /etc/dt/config/Xsession.d. For more information on setting environment variables, see To Set Environment Variables.

Configuring the Subprocess Control Daemon

The desktop subprocess control (SPC) service provides client/server command execution.

The desktop subprocess control daemon (dtspcd) is used by the desktop to launch remote applications. It is an inet daemon that accepts requests from remote clients to execute commands. For more information on how to configure inet daemons, see the inetd.conf(1M) man page.

The desktop action invocation library uses the SPC service to invoke remote actions.

To Configure dtspcd

    Confirm that dtspc is properly registered in both /etc/services and /etc/inetd.conf.

See the dtspcd(1M) man page.

SPC Security

Authentication for the subprocess control service is based on file system authentication. The dtspcd must have access to an authentication directory that is also mounted by all SPC client systems.

By default the dtspcd authentication directory is the user's home directory. However, you can configure the dtspcd to use a different location by setting the -auth_dir option in the /etc/inetd.conf directory. See the dtspcd(1M) man page for more information.

Because SPC authentication is based on file system authentication, the SPC service is only as secure as your distributed file system. If you are using the desktop in a network where you do not trust the distributed file system, you may wish to disable the dtspcd. To disable the dtspcd, comment out the dtspc entry in /etc/services.

Configuring Environment Variables for Remote Execution

When the desktop uses an action to start an application on a remote system, the user's environment variables are copied to the remote system and placed in the environment of the application.

By default, some of the environment variables are altered before they are copied to the remote system. You can configure both the action invocation component and the subprocess control service of the desktop to perform additional environment variable processing before the variables are placed into the application's environment.

For more information on the default configuration and how to modify it, see the dtactionfile(4) and dtspcdenv(4) man pages.

Configuring the ToolTalk Database Server

One component of ToolTalk is the ToolTalk database server, /usr/dt/bin/rpc.ttdbserver.

The ToolTalk database server is used by the ToolTalk messaging service and for file-name mapping. It is usually registered in /etc/inetd.conf when the desktop is installed and needs no additional configuration.

For more information on the ToolTalk database server and its configuration options, see the rpc.ttdbserver(1M) man page.

Configuring the ToolTalk Message Server

The ToolTalk message server is ttsession. By default, it does not require any configuration; it is started by the Xsession script during login.

See the ttsession man page for more information on the ToolTalk message server and its configuration options.

Configuring the Calendar Daemon

One component of the Calendar application is the Calendar daemon rpc.cmsd. It is usually registered in /etc/inetd.conf when the desktop is installed and needs no additional configuration.

For more information on the Calendar daemon and its configuration options, see the rpc.cmsd(1) man page.