内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (871 KB)
Chapter 6 Miscellaneous ConfigurationsThis chapter addresses setup and system administration topics. Solaris CDE Directory StructureThis section describes the main directories included in your desktop environment. /usr/dtThis 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
/etc/dtThis directory contains customized workstation-specific configuration files. These files enable you to customize your environment in the following ways:
/var/dtThis directory is used to store temporary files for Solaris CDE applications such as Login Manager and Application Manager. $HomeDirectoryThis 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 FilesMost customization of your desktop environment can involve many files. The following files are two examples:
XconfigXconfig 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. Xserversdtlogin, 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
Note - Replace local with foreign if you want to attach to a running X11 server.
Note - The Solaris CDE and OpenWindows(TM) 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. Starting the Login ServerThe login server is usually started automatically when the system is booted. You can also start the login server from a command line, but you must log in as the root user first. To set the login server to start when the system Is booted: Type the following command and press Return: # /usr/dt/bin/dtconfig -e This will add a S99dtlogin file to your /etc/rc2.d directory. The login server starts automatically when you reboot. To disable the login server from starting automatically when the system is booted: Type the following command and press Return: # /usr/dt/bin/dtconfig -d To start the login server from a command line: Type the following command and press Return: # /usr/dt/bin/dtlogin -daemon; exit Note - Although starting the login server from the command line is available for temporary configuration testing, the login server should normally be started when the system is booted. To kill the login server, Xserver, and the entire Solaris CDE desktop: Type the following command and press Return: # /usr/dt/bin/dtconfig -kill For more information about the desktop configuration utility, dtconfig, see Appendix A, dtconfig(1) Man Page. It provides a copy of the dtconfig.1 man page. To exit the Solaris CDE login screen using the Command Line Login Option: Choose Command Line Login from the Options menu on the Solaris CDE login screen. After the screen clears, press Return to display a login prompt. ![]() Note - The desktop login daemon will start the desktop login screen automatically after you are finished with the Command Line Login. To start a single terminal emulation window: Choose Failsafe Session from the Session submenu of the Options menu on the Solaris CDE login screen. ![]() If you want to leave the Xserver running, choose Failsafe Session from the Session submenu. This will start a single xterm window. The Failsafe Session option is always available, even when the Command Line Login option is not available. Mounting an Installed CDE from Another Workstation or Network Server Installation LocationYou can mount an installed CDE from another workstation or network server installation location if you do not have the required disk space on your workstation, since this procedure does not use your local disk space. Note - Since the /usr/dt directory structure differs between Solaris releases and client workstations (SPARC directory structure differs for the Intel directory structure), the client workstation must mount the appropriate NFS server /usr/dt image. For example, a SPARC system with Solaris 2.5 would mount /usr/dt from another Solaris 2.5 system with /usr/dt installed CDE. To Mount an Installed CDE
To Unmount a Mounted CDE Directory
Configuring Your Desktop To Use Multiple ScreensThe standard login starts the desktop on a single screen. You can edit the Xconfig file to have the desktop start on multiple screens. You must be logged in as the root user to change this file. Note - For faster editing of login configuration information, use the Failsafe Session option to run a single xterm window rather than the whole desktop. To Make the Desktop Start on Multiple Screens
Networked DesktopsThe Solaris CDE Login Manager is network aware. By default, login screens will respond to queries by the Solaris CDE Chooser. To show the list of remote hosts: Select Choose Host From List from the Remote Login menu on the Solaris CDE login screen. Alternatively, to run the Chooser independently of the login screen, refer to the section "Using Workstations as XTerminals". The following screen shows a typical Chooser list of available servers. ![]() You can select an idle server from the list to use its resources via Chooser to log in to Solaris CDE. Any networked workstation running the Solaris CDE Login Manager can support both a local desktop user and multiple remote users including Xterminal users using the workstation as a Solaris CDE desktop server. (See Figure 6-1.) Figure 6-1 Networked Desktops
Note - Figure 6-1 can include a mixed hardware environment. Using XTerminalsAny Xterminal that supports the XDM protocol can use Chooser to log in to Solaris CDE. To run the Chooser, refer to the section "Using Workstations as XTerminals". The SPARC Xterminal(TM) software version 2.0 (or later) works well with Solaris CDE. Click Properties on the X-Terminal Controls window and choose Session as the Category to display the setup screen shown in Figure 6-2. Figure 6-2 Session setup screen
Select None for the Local Window Manager, and XDM Indirect for the XDM connection to the remote system running Solaris CDE. Login Locale and Font PathYou select the preferred language when you log in to Solaris CDE. The following Solaris CDE login screen shows the Language choice on the Options menu. ![]() On workstations, font paths are automatically set to include fonts (and aliases) associated with both the preferred language and the system's base "C" locale. For Xterminals, these fonts are automatically supplied by an X11 font server. Using Workstations as XTerminalsIf you have older workstations or workstations with 16 megabytes or less of memory, you can use them as Xterminals when they are loaded with Solaris 2.4 software or later (or Solaris 2.3 software with the Xserver jumbo patch). Note - If the fonts on your workstation's screen do not display normally when following the procedures below, Solaris CDE may not be installed on the host workstation. Use the pkgadd utility to add the SUNWdtft() Solaris CDE font package separately from a Solaris CDE 1.0.x unbundled release. To Use Chooser To Select a Host CDE Login
To Use a Specific Host CDE LoginType the following command and press Return: /usr/openwin/bin/X -once -query CDE_login_host The Xserver starts and displays the Login screen from the host. The -once option will exit the server after one login/logout session. If the -once option is not added, the Login screen appears again after the Solaris CDE logout. To Use the First Available Host LoginType the following command and press Return: /usr/openwin/bin/X -broadcast This starts the Xserver. On the local sub-net, it broadcasts a request for an XDM (X Display Manager) login service. If any systems on the sub-net are running the Solaris CDE Login Manager (or any other XDM-based login window), the first host to respond places its login window on your desktop. Special CDE ConfigurationsThis section addresses special configurations. Customizing Mail PrintingThe CDE Mailer prints mail messages using the Print action that is defined for the DTMAIL_FILE data type. It does not use the print script specified by the OpenWindows Mail Tool. To change the print behavior you must modify this Print action.
|
||||||||||||||||||||||