Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
6.  Miscellaneous Configurations Key Configuration Files Xservers  Previous   Contents   Next 
   
 

Starting the Login Server

The 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 Location

You 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

  1. Mount a /usr/dt directory from a previously installed workstation or network server to the /usr/dt directory on your workstation.

  2. Type /usr/dt/bin/dtconfig -inetd

  3. Enable the Solaris Desktop Login by typing:

    	/usr/dt/bin/dtconfig -e
  4. Reboot your workstation.

    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 Unmount a Mounted CDE Directory

  1. Disable the Solaris Desktop Login by typing:

    	/usr/dt/bin/dtconfig -d
  2. Type /usr/dt/bin/dtconfig -inetd.ow

  3. Unmount /usr/dt.

  4. Reboot your workstation.

    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.

Configuring Your Desktop To Use Multiple Screens

The 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

  1. Create a copy of the Xserver file by typing the following command and pressing Return:

    	# cp /usr/dt/config/Xservers /etc/dt/config/Xservers

    Note - /etc/dt/config/Xservers overrides /usr/dt/config/Xservers.


  2. Edit the /etc/dt/config/Xservers file to set up two frame buffers (screens):

    1. Find the line:

      		:0 Local local_uid@console root /usr/openwin/bin/Xsun :0
    2. At the end of this line add two -dev options. This example assumes they are named /dev/fb0 and /dev/fb1. Add the following preceded by a space:

      		-dev /dev/fb0 -dev /dev/fb1
  3. Choose Reset Login Screen from the Options menu.


    Note - When running Solaris CDE on multiple screens, a Front Panel is displayed on each screen. These Front Panels are independent of each other and have separate configuration files.


Networked Desktops

The 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 XTerminals

Any 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™ 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.

 
 
 
  Previous   Contents   Next