1 ####################################################
2 ### Configuration Instructions for HP-UX Systems ###
3 ####################################################
5 There are two ways to start the desktop:
8 * You can manually start the desktop Login Manager. The advantage
9 of using this method is that you will not have to edit
12 * You can enable the system to automatically start the desktop
13 when the system is rebooted. This is done by editing
16 Removing the Developer's Conference CDE Desktop
17 ===============================================
19 It is imperative that Snapshot 1 and Snapshot 2 desktops do not
20 co-mingle. Installers and users should ensure that old clients and
21 configuration files are exited or removed.
24 Upgrading systems in a networked environment
25 --------------------------------------------
27 If CDE is installed in a network environment, it is imperative that
28 all systems be upgraded at the same time.
31 Removing the Snapshot 1 desktop
32 -------------------------------
34 Installers are advised to remove the Snapshot 1 Desktop files from
35 their systems. Those clients and files are obsolete.
38 Stopping Desktop clients before installing Snapshot 2
39 -----------------------------------------------------
41 If the Snapshot 1 desktop is not removed, ensure that all desktop
42 clients are inactive before installing the Snapshot 2 desktop. If the
43 desktop was started via /etc/inittab, issue the telinit command to
44 stop dtlogin and any other desktop client.
47 Removing the users's .dtprofile and .dt directory
48 -------------------------------------------------
50 It is strongly advised that all CDE users on the system remove or
51 rename their .dt directory and their .dtprofile. The Snapshot 2
52 Desktop is not compatible with the Snapshot 1 Desktop versions of
55 If users have customized their .dt/dtwmrc file and want to keep it,
56 they will need to cut and paste the appropriate pieces into the new
61 Before You Start the Desktop (HP-UX)
62 ======================================
64 Special Configurations
65 ----------------------
67 If your system has one of these special configurations, you may need to
68 edit certain Login Manager files before starting the desktop. See
69 chapter 2 of the Getting Started Guide:
72 * If the system console is a non-bitmap device.
74 * If the system is an X terminal or a host for X terminals.
76 * If the system has more than one display.
80 The Subprocess Control Daemon
81 =============================
83 If you are working in an environment where a CDE Desktop action needs
84 to start an application on another workstation running CDE, the
85 Subprocess Control Daemon configuration must be completed on both
90 2. For authentication, the user's home directory on a remote system
91 must be mounted to the local system.
93 3. To run an application with a WINDOW_TYPE of NO_STDIO (see Appendix
94 A, Advanced User's and System Administrator's Guide), you will need
95 to provide NFS-access by the local (client) system to the remote
96 (application server) system's /var directory (if /var is a distinct
97 volume), or / directory (if it is not). The mount point must be
98 /nfs/<remote_host>/var (again, if /var is a distinct volume) or
99 /nfs/<remote_host>/ (if it is not). Export the appropriate
100 directory in /etc/exports on both the local and remote hosts.
103 To Start And Stop the Desktop Manually
104 ======================================
106 To Start the Desktop:
113 /usr/dt/bin/dtlogin -daemon
115 This starts the Login Manager and displays the Login screen.
116 Logging in starts a desktop session.
121 When you stop the Login Manager, you automatically kill all
122 X servers and desktop sessions that it started.
124 1. In a terminal emulator window, log in as root.
126 2. Obtain the process id of the parent Login Manager by entering:
130 3. Kill the Login Manager by entering:
132 kill -TERM <process_id>
134 where <process_id> is the value obtained from Xpid.
137 To Enable and Disable Desktop Auto-Start
138 ========================================
140 When your system is configured to start the desktop automatically, the
141 desktop Login Manager runs when the system is booted.
143 To start the desktop automatically, you must edit /etc/inittab to:
145 * Add a line that starts the CDE Desktop.
147 * Set the default run level to the run level assigned to the CDE
150 NOTE: Edit /etc/inittab very carefully.
151 Errors in the file can prevent the system from booting
155 To Enable Desktop Auto-Start
156 ----------------------------
160 2. If you are running HP VUE, shut it down by entering:
162 /etc/telinit <n>; exit
164 where <n> is a run level assigned to the console and not
165 assigned to HP VUE or to halting the system. You can find a
166 run level by examinining the lines beginning with cons and vue
167 in /etc/inittab. For example, the following lines indicate
168 that you can use run levels other than 3, 4, or 6.
170 halt:6:wait:/usr/lib/X11/ignition/shutdown.ksh
171 cons:012456:respawn:/etc/getty -h console console
172 vue :34:respawn:/etc/vuerc
175 3. Make a backup copy of /etc/inittab.
177 4. Open /etc/inittab for editing (in a diskless cluster, /etc/inittab
178 is a context-dependent file).
180 5. Look for the line that sets the default run level (starting with
181 init:). Set the default run level to 5.
186 6. Add a line that starts the desktop at that run level:
188 dt :5:respawn:/usr/dt/bin/dtrc
191 To Disable Desktop Auto-Start
192 -----------------------------
194 You can restore a console by changing to a run level assigned to a
195 console and not assigned to the desktop.
198 Switching Between CDE and HP VUE
199 --------------------------------
200 You can switch back and forth between CDE and HP VUE by executing:
202 /etc/telinit <n>; exit
205 where <n>=3 switches to HP VUE and <n>=5 switches to CDE.