Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
  Previous   Contents   Next 
   
 
Chapter 6

Miscellaneous Configurations

This chapter addresses setup and system administration topics.

Solaris CDE Directory Structure

This section describes the main directories included in your desktop environment.

/usr/dt

This directory is the Solaris CDE installation location. It can also be the mount point from a remote file server. Table 6-1 describes the /usr/dt subdirectories.

Table 6-1 /usr/dt Subdirectories

Subdirectory

Description

/bin

SCDE applications and utilities

/lib

SCDE run-time shared libraries

/config

Default system configuration files

/man

[Optional] Man pages

/app-defaults

Default application resources

/appconfig

Default application icons, types, and actions

/examples

[Optional] CDE code/program examples

/include

[Optional] Developer include files

/palettes

Color palettes

/share

CDE AnswerBook documentation and default backdrops

/etc/dt

This directory contains customized workstation-specific configuration files. These files enable you to customize your environment in the following ways:

  • Set X-server configuration options

  • Use multiple screens

  • Customize workstation action files, data types, icons, and fonts

/var/dt

This directory is used to store temporary files for Solaris CDE applications such as Login Manager and Application Manager.

$HomeDirectory

This directory contains user specific files that relate to the user's desktop setup. They include applications, color scheme, Workspace menu and Front Panel modifications, and error logs.

Key Configuration Files

Most customization of your desktop environment can involve many files. The following files are two examples:

  • /usr/dt/config/Xconfig

  • /usr/dt/config/Xservers

Xconfig

Xconfig is the master configuration file used by dtlogin. It sets login resources and specifies locations of additional files required by dtlogin. The following example shows a few of the lines found in the default Xconfig file:

	Dtlogin.errorLogFile:       /var/dt/Xerrors
	Dtlogin.servers:            /usr/dt/config/Xservers
	Dtlogin*session:            /usr/dt/bin/Xsession

For more information about this file, refer to Appendix A, dtconfig(1) Man Page. You can also review the explanatory comments in the file itself.

Xservers

dtlogin, like XDM (X Display Manager) on which it is based, uses the Xservers file to specify how the local Xserver is started. By default, the last line in this file is:

:0 Local local@console /usr/openwin/bin/Xsun :0
  • :0 means that the Xserver display is <localhost:0>.

  • local indicates to start the new X11 server locally.


Note - Replace local with foreign if you want to attach to a running X11 server.


  • console means that the Command Line Login escape is to /dev/console.

  • /usr/openwin/bin/Xsun is the path to the X11 server.


Note - The Solaris CDE and OpenWindows™ environments run the same X11 server.


Refer to the dtlogin(1) man page for more information about this file. You can also review the explanatory comments in the file itself.

 
 
 
  Previous   Contents   Next