config.usl 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. #########################################################################
  2. # Configuration Instructions for the UnixWare 1.1 or later Environments #
  3. #########################################################################
  4. The following instructions assume you have already installed the Common Desktop
  5. Environment according to the Installation Instructions on the CD jacket.
  6. There are two ways to start the desktop:
  7. * You can manually start the desktop Login Manager. This method can be used to
  8. avoid rebooting the system. See the section To Start and Stop the Desktop
  9. Manually .
  10. * You can configure the system to start the desktop automatically upon reboot.
  11. See the section To Enable and Disable Desktop Auto-Start..
  12. Before You Start the Desktop
  13. ============================
  14. ******************************************************************************
  15. If you have a previous Common Desktop Environment (CDE) version on the system:
  16. ******************************************************************************
  17. *Advise all CDE users on the system to remove or rename their $HOME/.dt directory
  18. and their $HOME/.dtprofile. The new files are not compatible with the old
  19. ones. If users have customized the $HOME/.dt/dtwmrc file and want to keep
  20. it, they will need to cut and paste the appropriate pieces into the new dtwmrc
  21. file provided.
  22. *Become the root user on the system. Make sure all other users on the system
  23. are logged out of CDE. Kill the Login Manager if running.
  24. kill -15 `cat /etc/opt/dt/Xpid`
  25. Killing the Login Manager process works no matter how the process was started.
  26. An alternate method is to stop the system resource control for the desktop.
  27. This method should only be used if CDE was configured on the system by
  28. replacing the /etc/rc2.d/S69xdm script. You can tell if CDE was configured
  29. this way by checking the existence of /etc/S69xdm.old. If this file
  30. exists, then do the following:
  31. mv /etc/S69xdm.old /etc/rc2.d/S69xdm
  32. Special Configurations
  33. ----------------------
  34. If your system has one of these special configurations, you may need to
  35. edit certain Login Manager files before starting the desktop. See the
  36. Advanced User's and System Administrator's Guide:
  37. * If the system console is not a UnixWare supported bitmap device.
  38. * If the system is an X terminal or a host for X terminals.
  39. * If the system has more than one display.
  40. To Start and Stop the Desktop Manually
  41. ======================================
  42. There are two ways to start the desktop manually:
  43. * You can manually start the CDE Login Manager, which will
  44. display the desktop Login screen. To use this method, you
  45. must have permission to log in as root.
  46. This method is preferable, since Login Manager sets certain
  47. environment variables that are needed during desktop sessions.
  48. * You can log in using conventional methods, and then manually
  49. run the CDE Session Manager, which starts a desktop session.
  50. See the section Manually Starting and Stopping the Session
  51. Manager.
  52. Manually Starting and Stopping Login Manager
  53. --------------------------------------------
  54. When you use this method, you log in using the CDE Login screen.
  55. When you log in, a desktop session starts.
  56. To manually start Login Manager:
  57. 1. Log in as root.
  58. 2. Type:
  59. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/dt/lib:/usr/X/lib export LD_LIBRARY_PATH
  60. 3. With no window system running, from the command line enter:
  61. /usr/dt/bin/dtlogin -daemon
  62. The CDE Graphical Login screen will appear.
  63. 4. For security reasons, you need to exit the shell that invoked dtlogin.
  64. Type <Alt><SysRq> p
  65. (i.e. Press the <Alt> and <SysRq> keys at the same time,
  66. release both and then hit 'p'. )
  67. You should return to an ASCII terminal session.
  68. 5. Type:
  69. <return>
  70. exit
  71. 6. You will be asked if you want your virtual terminals closed at once.
  72. Type: n
  73. The CDE Graphical Login screen will reappear.
  74. To manually stop Login Manager:
  75. 1. Log out of the CDE Desktop.
  76. 2. From the options menu of the CDE Graphical Login choose Command Line.
  77. This will give you the ASCII login screen.
  78. 3. Log in as root.
  79. 4. Type:
  80. kill -15 `cat /usr/dt/config/Xpid`
  81. Manually Starting and Stopping Session Manager
  82. ----------------------------------------------
  83. If you use this method, you are responsible for setting certain
  84. environment variables to values required by the desktop if suitable
  85. values are not already set in your environment. Refer to the Getting
  86. Started Guide for setting the necessary environment variables.
  87. 1. Log in. (You do not need to log in as root).
  88. 2. With no window system running, from the command line enter:
  89. LD_LIBRARY_PATH=/usr/dt/lib:/usr/X/lib:$LD_LIBRARY_PATH
  90. export LD_LIBRARY_PATH
  91. PATH=$PATH:/usr/X/bin
  92. export PATH
  93. /usr/X/bin/olinit /usr/dt/bin/Xsession
  94. The Session Manager stops when you log out.
  95. When auto-start is enabled, the CDE Login Manager runs
  96. automatically each time the system is booted. You then log
  97. in using the CDE Login Screen.
  98. To Enable and Disable Desktop Auto-Start
  99. ========================================
  100. UnixWare can be configured to start the CDE Desktop automatically when the system
  101. is booted. This method starts CDE as the Session Manager for all users on
  102. the system.
  103. To Enable Desktop Auto-Start
  104. ----------------------------
  105. 1. Log in as root.
  106. 2. From the command line, enter:
  107. NOTE: Step 'a' is necessay only if the /etc/rc2.d/S69xdm
  108. script has been modified after UnixWare was
  109. installed on your system and if the graphical login
  110. is enabled. A copy of the S69xdm script that
  111. came with the UnixWare installation is located
  112. in /usr/X/adm.
  113. a. cp /etc/rc2.d/S69xdm /etc/S69xdm.preCDE
  114. b. cp /usr/dt/config/S69xdm /etc/rc2.d/S69xdm
  115. A CDE Login screen will appear the next time the system is booted.
  116. To Disable Desktop Auto-Start
  117. -----------------------------
  118. 1. Log in as root.
  119. 2. From a command line, enter:
  120. rm /etc/rc2.d/S69xdm
  121. If you would like the original UnixWare Desktop Manager Login
  122. to appear upon reboot:
  123. /usr/X/bin/enable_glogin
  124. - OR -
  125. If a copy of S69xdm was saved as outlined in the section
  126. "To Enable Desktop Auto-Start":
  127. mv /etc/S69xdm.preCDE /etc/rc2.d/S69xdm
  128. The UnixWare Desktop Manager Login will appear
  129. the next time the system is rebooted.