Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,213 @@
####################################################
### Configuration Instructions for DEC OSF1 Systems ###
####################################################
FIXME FIXME: Need to change this. Discuss /sbin/init.d/xdm script
and its operation.... -mcb
There are two ways to start the desktop:
* You can manually start the desktop Login Manager. The advantage
of using this method is that you will not have to edit
/etc/inittab.
* You can enable the system to automatically start the desktop
when the system is rebooted. This is done by editing
/etc/inittab.
Removing the Developer's Conference CDE Desktop
===============================================
It is imperative that Snapshot 1 and Snapshot 2 desktops do not
co-mingle. Installers and users should ensure that old clients and
configuration files are exited or removed.
Upgrading systems in a networked environment
--------------------------------------------
If CDE is installed in a network environment, it is imperative that
all systems be upgraded at the same time.
Removing the Snapshot 1 desktop
-------------------------------
Installers are advised to remove the Snapshot 1 Desktop files from
their systems. Those clients and files are obsolete.
Stopping Desktop clients before installing Snapshot 2
-----------------------------------------------------
If the Snapshot 1 desktop is not removed, ensure that all desktop
clients are inactive before installing the Snapshot 2 desktop. If the
desktop was started via /etc/inittab, issue the telinit command to
stop dtlogin and any other desktop client.
Removing the users's .dtprofile and .dt directory
-------------------------------------------------
It is strongly advised that all CDE users on the system remove or
rename their .dt directory and their .dtprofile. The Snapshot 2
Desktop is not compatible with the Snapshot 1 Desktop versions of
these files.
If users have customized their .dt/dtwmrc file and want to keep it,
they will need to cut and paste the appropriate pieces into the new
dtwmrc provided.
Before You Start the Desktop (HP-UX)
======================================
Special Configurations
----------------------
If your system has one of these special configurations, you may need to
edit certain Login Manager files before starting the desktop. See
chapter 2 of the Getting Started Guide:
* If the system console is a non-bitmap device.
* If the system is an X terminal or a host for X terminals.
* If the system has more than one display.
The Subprocess Control Daemon
=============================
If you are working in an environment where a CDE Desktop action needs
to start an application on another workstation running CDE, the
Subprocess Control Daemon configuration must be completed on both
workstations.
1. Log in as root.
2. For authentication, the user's home directory on a remote system
must be mounted to the local system.
3. To run an application with a WINDOW_TYPE of NO_STDIO (see Appendix
A, Advanced User's and System Administrator's Guide), you will need
to provide NFS-access by the local (client) system to the remote
(application server) system's /var directory (if /var is a distinct
volume), or / directory (if it is not). The mount point must be
/nfs/<remote_host>/var (again, if /var is a distinct volume) or
/nfs/<remote_host>/ (if it is not). Export the appropriate
directory in /etc/exports on both the local and remote hosts.
To Start And Stop the Desktop Manually
======================================
To Start the Desktop:
--------------------
1. Log in as root.
2. Enter:
/usr/dt/bin/dtlogin -daemon
This starts the Login Manager and displays the Login screen.
Logging in starts a desktop session.
To Stop the Desktop:
--------------------
When you stop the Login Manager, you automatically kill all
X servers and desktop sessions that it started.
1. In a terminal emulator window, log in as root.
2. Obtain the process id of the parent Login Manager by entering:
cat /var/dt/Xpid
3. Kill the Login Manager by entering:
kill -TERM <process_id>
where <process_id> is the value obtained from Xpid.
To Enable and Disable Desktop Auto-Start
========================================
When your system is configured to start the desktop automatically, the
desktop Login Manager runs when the system is booted.
To start the desktop automatically, you must edit /etc/inittab to:
* Add a line that starts the CDE Desktop.
* Set the default run level to the run level assigned to the CDE
Desktop.
NOTE: Edit /etc/inittab very carefully.
Errors in the file can prevent the system from booting
successfully.
To Enable Desktop Auto-Start
----------------------------
1. Log in as root.
2. If you are running HP VUE, shut it down by entering:
/etc/telinit <n>; exit
where <n> is a run level assigned to the console and not
assigned to HP VUE or to halting the system. You can find a
run level by examinining the lines beginning with cons and vue
in /etc/inittab. For example, the following lines indicate
that you can use run levels other than 3, 4, or 6.
halt:6:wait:/usr/lib/X11/ignition/shutdown.ksh
cons:012456:respawn:/etc/getty -h console console
vue :34:respawn:/etc/vuerc
3. Make a backup copy of /etc/inittab.
4. Open /etc/inittab for editing (in a diskless cluster, /etc/inittab
is a context-dependent file).
5. Look for the line that sets the default run level (starting with
init:). Set the default run level to 5.
init:5:initdefault:
6. Add a line that starts the desktop at that run level:
dt :5:respawn:/usr/dt/bin/dtrc
To Disable Desktop Auto-Start
-----------------------------
You can restore a console by changing to a run level assigned to a
console and not assigned to the desktop.
Switching Between CDE and HP VUE
--------------------------------
You can switch back and forth between CDE and HP VUE by executing:
/etc/telinit <n>; exit
where <n>=3 switches to HP VUE and <n>=5 switches to CDE.

View File

@@ -0,0 +1,207 @@
####################################################
### Configuration Instructions for HP-UX Systems ###
####################################################
There are two ways to start the desktop:
* You can manually start the desktop Login Manager. The advantage
of using this method is that you will not have to edit
/etc/inittab.
* You can enable the system to automatically start the desktop
when the system is rebooted. This is done by editing
/etc/inittab.
Removing the Developer's Conference CDE Desktop
===============================================
It is imperative that Snapshot 1 and Snapshot 2 desktops do not
co-mingle. Installers and users should ensure that old clients and
configuration files are exited or removed.
Upgrading systems in a networked environment
--------------------------------------------
If CDE is installed in a network environment, it is imperative that
all systems be upgraded at the same time.
Removing the Snapshot 1 desktop
-------------------------------
Installers are advised to remove the Snapshot 1 Desktop files from
their systems. Those clients and files are obsolete.
Stopping Desktop clients before installing Snapshot 2
-----------------------------------------------------
If the Snapshot 1 desktop is not removed, ensure that all desktop
clients are inactive before installing the Snapshot 2 desktop. If the
desktop was started via /etc/inittab, issue the telinit command to
stop dtlogin and any other desktop client.
Removing the users's .dtprofile and .dt directory
-------------------------------------------------
It is strongly advised that all CDE users on the system remove or
rename their .dt directory and their .dtprofile. The Snapshot 2
Desktop is not compatible with the Snapshot 1 Desktop versions of
these files.
If users have customized their .dt/dtwmrc file and want to keep it,
they will need to cut and paste the appropriate pieces into the new
dtwmrc provided.
Before You Start the Desktop (HP-UX)
======================================
Special Configurations
----------------------
If your system has one of these special configurations, you may need to
edit certain Login Manager files before starting the desktop. See
chapter 2 of the Getting Started Guide:
* If the system console is a non-bitmap device.
* If the system is an X terminal or a host for X terminals.
* If the system has more than one display.
The Subprocess Control Daemon
=============================
If you are working in an environment where a CDE Desktop action needs
to start an application on another workstation running CDE, the
Subprocess Control Daemon configuration must be completed on both
workstations.
1. Log in as root.
2. For authentication, the user's home directory on a remote system
must be mounted to the local system.
3. To run an application with a WINDOW_TYPE of NO_STDIO (see Appendix
A, Advanced User's and System Administrator's Guide), you will need
to provide NFS-access by the local (client) system to the remote
(application server) system's /var directory (if /var is a distinct
volume), or / directory (if it is not). The mount point must be
/nfs/<remote_host>/var (again, if /var is a distinct volume) or
/nfs/<remote_host>/ (if it is not). Export the appropriate
directory in /etc/exports on both the local and remote hosts.
To Start And Stop the Desktop Manually
======================================
To Start the Desktop:
--------------------
1. Log in as root.
2. Enter:
/usr/dt/bin/dtlogin -daemon
This starts the Login Manager and displays the Login screen.
Logging in starts a desktop session.
To Stop the Desktop:
--------------------
When you stop the Login Manager, you automatically kill all
X servers and desktop sessions that it started.
1. In a terminal emulator window, log in as root.
2. Obtain the process id of the parent Login Manager by entering:
cat /var/dt/Xpid
3. Kill the Login Manager by entering:
kill -TERM <process_id>
where <process_id> is the value obtained from Xpid.
To Enable and Disable Desktop Auto-Start
========================================
When your system is configured to start the desktop automatically, the
desktop Login Manager runs when the system is booted.
To start the desktop automatically, you must edit /etc/inittab to:
* Add a line that starts the CDE Desktop.
* Set the default run level to the run level assigned to the CDE
Desktop.
NOTE: Edit /etc/inittab very carefully.
Errors in the file can prevent the system from booting
successfully.
To Enable Desktop Auto-Start
----------------------------
1. Log in as root.
2. If you are running HP VUE, shut it down by entering:
/etc/telinit <n>; exit
where <n> is a run level assigned to the console and not
assigned to HP VUE or to halting the system. You can find a
run level by examinining the lines beginning with cons and vue
in /etc/inittab. For example, the following lines indicate
that you can use run levels other than 3, 4, or 6.
halt:6:wait:/usr/lib/X11/ignition/shutdown.ksh
cons:012456:respawn:/etc/getty -h console console
vue :34:respawn:/etc/vuerc
3. Make a backup copy of /etc/inittab.
4. Open /etc/inittab for editing (in a diskless cluster, /etc/inittab
is a context-dependent file).
5. Look for the line that sets the default run level (starting with
init:). Set the default run level to 5.
init:5:initdefault:
6. Add a line that starts the desktop at that run level:
dt :5:respawn:/usr/dt/bin/dtrc
To Disable Desktop Auto-Start
-----------------------------
You can restore a console by changing to a run level assigned to a
console and not assigned to the desktop.
Switching Between CDE and HP VUE
--------------------------------
You can switch back and forth between CDE and HP VUE by executing:
/etc/telinit <n>; exit
where <n>=3 switches to HP VUE and <n>=5 switches to CDE.

View File

@@ -0,0 +1,285 @@
=================================
Instructions for IBM AIX Systems 04/11/94
=================================
The following instructions assume you have already installed the Common Desktop
Environment according to the Installation Instructions on the CD jacket. If
CDE is used in a networked environment, all systems should be upgraded at the
same time.
There are two ways to start the desktop:
* You can manually start the desktop Login Manager. This method can be used to
avoid rebooting the system. See the section To Start and Stop the Desktop
Manually .
* You can configure the system to start the desktop automatically upon reboot.
See the section To Enable and Disable Desktop Auto-Start..
Before You Start the Desktop
============================
******************************************************************************
If you have a previous Common Desktop Environment (CDE) version on the system:
******************************************************************************
Advise all CDE users on the system to remove or rename their $HOME/.dt directory
and their $HOME/.dtprofile. The new files are not compatible with the old
ones. If users have customized the $HOME/.dt/dtwmrc file and want to keep
it, they will need to cut and paste the appropriate pieces into the new dtwmrc
file provided.
Become the root user on the system. Make sure all other users on the system
are logged out of CDE. Kill the Login Manager.
cat /etc/opt/dt/Xpid (obtain Login Manager process_id)
kill -TERM <process_id>
Killing the Login Manager process works no matter how the process was started.
An alternate method is to stop the system resource control for the desktop.
This method should only be used if CDE was configured on the system with
/opt/dt/bin/dtconfig -e. If you don't know how CDE was configured on the
system, lssrc -s dtsrc will return the status of dtsrc. If no status
is returned, use the kill method in the previous paragraph.
stopsrc -c -s dtsrc
Completely remove the /etc/opt and /opt directory structures from the system.
The install script mentioned in the README should have already given you the
chance to remove these. Remove the dtsrc subsystem only if CDE was configured
on the system with /opt/dt/bin/dtconfig -e:
rmssys -s dtsrc
Default Configuration
The Instructions for IBM AIX Systems show basic installation information.
We recommend following these instructions before doing any personal
customization work except in the case of the Special Configurations.
Special Configurations
If your system has one of these special configurations, you may need to edit
certain Login Manager files before starting the desktop. More detailed
information is in the CDE Getting Started Guide.
* If the system console is a non-bitmap device (e.g. an ascii
terminal)i, comment out the following line in /usr/dt/config/Xservers that
starts the Xserver on the console.
# :0 Local local@console /path/X [options] :0
* If the system is an X terminal or a host for X terminals,
CDE must be running on the host and X Display Manager Control Protocol
(XDMCP) must be enabled for the X terminal and must direct the Xterminal to
contact the Login Manager on a specified host.
* If the system has more than one display, see Configuring
Multiple Displays in the CDE Getting Started Guide.
To Start and Stop the Desktop Manually
--------------------------------------
There are two manual methods to start the desktop:
* You can manually start the CDE Login Manager. To use this method, you must
have permission to log in as root. This method is preferable, because Login
Manager sets certain environment variables that are needed during desktop
sessions. See the section Manually Starting and Stopping Login Manager.
* You can log in using conventional methods, and then manually run the
CDE Session Manager, which starts a desktop session. See the section
Manually Starting and Stopping Session Manager.
Manually Starting and Stopping Login Manager
--------------------------------------------
To manually start Login Manager:
1. Log in as root.
2. Enter:
/usr/dt/bin/dtlogin -daemon
This starts the Login Manager and displays the Login screen.
Logging in starts a desktop session.
To manually stop Login Manager:
When you stop the Login Manager, you automatically kill all X servers and
desktop sessions that it started.
1. In a terminal emulator window, log in as root.
2. Obtain the process id of the Login Manager by entering:
cat /var/dt/Xpid
3. Kill the Login Manager by entering:
kill -TERM <process_id>
where <process_id> is the value obtained from Xpid.
Manually Starting and Stopping Session Manager
----------------------------------------------
Using this method
* leaves you responsible for setting certain environment variables to values
required by the desktop if suitable values are not already set in your
environment.
* allows you to use CDE while others serving from the same system, including
the console are not.
1. Log in. (You do not need to log in as root).
2. With no window system running, from the command line enter:
/usr/bin/X11/xinit /usr/dt/bin/Xsession
HINT: if a .Xinitrc file is enabled, make sure it is NOT starting another
window manager. Do NOT put the /usr/dt/bin/Xsession in your .profile!
Session Manager stops when you log out.
To Enable and Disable Desktop Auto-Start
----------------------------------------
AIX can be configured to start the CDE Desktop automatically when the system
is booted. This method starts CDE as the Session Manager for all users on
the system.
There are several ways to do this configuration:
* From a command line.
* Using SMIT menus.
* Using SMIT fastpath.
From a Command Line
-------------------
To Enable Desktop Auto-Start:
1. Log in as root.
2. From the command line, enter:
/usr/dt/bin/dtconfig -e
3. Reboot the machine.
When the system is rebooted, a dtlogin screen will appear. If you prefer not
to reboot at this time, this command will start the Login Manager now.
startsrc -s dtsrc
To Disable Desktop Auto-Start:
1. Log in as root.
2. From the command line, enter:
/usr/dt/bin/dtconfig -d
3. Reboot the machine.
When the system is rebooted, CDE is no longer configured. If you prefer not
to reboot at this time, this command will stop the Login Manager now.
stopsrc -c -s dtsrc
Using SMIT Menus
----------------
To Enable Desktop Auto-Start:
1. Log in as root.
2. From the command line, enter:
/usr/bin/smit
3. Go to System Environments.
4. Go to Change System User Interface.
5. Select CDE environment.
6. Press [Enter] when using ASCII SMIT or Click "Do" when using GUI
SMIT interface.
7. Exit SMIT.
8. Reboot the machine.
To Disable Desktop Auto-Start:
1. Log in as root.
2. From the command line, enter
/usr/bin/smit
3. Go to System Environments.
4. Go to Change System User Interface.
5. Select Command-line environment.
6. Press [Enter] when using ASCII SMIT or Click "Do" when
using GUI SMIT interface.
7. Exit out of SMIT.
8. Reboot the machine.
Using SMIT `fastpath'
---------------------
To Enable Desktop Auto-Start:
1. Log in as root.
2. From the command line, enter:
/usr/bin/smit dtconfig
3. Select CDE environment.
4. Press [Enter] when using ASCII SMIT or Click "Do" when using GUI
SMIT interface.
5. Exit SMIT.
6. Reboot the machine.
To Disable Desktop Auto-Start:
1. Log in as root.
2. From the command line, enter:
/usr/bin/smit dtconfig
3. Select Command-line environment.
4. Press [Enter] when using ASCII SMIT or Click "Do" when using GUI
SMIT interface.
5. Exit out of SMIT.
6. Reboot the machine.
Deinstall Instructions
======================
The CD also includes a script for deinstallation. With the CD-ROM mounted
according to the Installation Instructions on the CD jacket, enter:
./dinstall.dt
or
./DINSTALL.DT
Everything installed from the installation scripts will be deinstalled.

View File

@@ -0,0 +1,79 @@
####################################
### Instructions for SCO Systems ###
####################################
System Requirements
===================
* SCO Open Desktop or SCO Open Server Version 3.0
* 386-33, 486, or Pentium based processor
* 16MB memory
* 1024x768, 256 color graphics system
* 70MB free disk space
* 30MB Swap Space
Before You Start the Desktop
============================
If your system has one of these special configurations, you may need to
edit certain Login Manager files before starting the desktop. See
chapter 2 of the Getting Started Guide:
* If the system console is a non-bitmap device.
* If the system is an X terminal or a host for X terminals.
* If the system has more than one display.
To Start and Stop the Desktop
============================
1. Log in as the user who will use the desktop and be running the Korn or
Bourne shells (ksh or sh).
2. First, add the following two lines to your .profile:
PATH=$PATH:/opt/dt/bin
. /opt/dt/bin/dtsearchpath
These lines add the desktop search path to your PATH variable.
3. If you have a .startxrc file in your home directory, move it to a
backup location or name by entering:
mv .startxrc old.startxrc
4. Copy /etc/opt/dt/dt.startxrc to your home directory and rename it
to .startxrc by entering:
cp /etc/opt/dt/dt.startxrc .startxrc
5. Do one of the following:
* Log out of your ODT session and log in via Scologin.
* Or, at a shell prompt on a multiscreen not running the X
server, run startx by entering:
startx
Be sure to log out to reinvoke your .profile correctly.

View File

@@ -0,0 +1,207 @@
#################################################### 04/08/94
### Instructions for the Sun Solaris Environment ###
####################################################
Removing the October '93 Developer's Conference CDE Desktop
===========================================================
It is imperative that CDE Snapshot 1 and Snapshot 2 desktops do not
co-mingle. Installers and users should ensure that old clients and
configuration files are exited or removed. Use the instructions
in this section if the October '93 Snapshot 1 version of CDE is
installed on your system.
Upgrading systems in a networked environment
--------------------------------------------
If CDE is installed in a network environment, it is imperative that
all systems be upgraded at the same time.
Removing the Snapshot 1 desktop
-------------------------------
Installers are advised to remove the Snapshot 1 Desktop files from
their systems. Those clients and files are obsolete. The dinstall.dt
script which was provided on the Snapshot 1 CD may be used for this
purpose.
Stopping Desktop clients before installing Snapshot 2
-----------------------------------------------------
If the Snapshot 1 desktop is not removed, ensure that all desktop
clients are inactive before installing the Snapshot 2 desktop.
Removing the users's .dtprofile and .dt directory
-------------------------------------------------
It is strongly advised that all CDE users on the system remove or
rename their .dt directory and their .dtprofile. The Snapshot 2
Desktop is not compatible with the Snapshot 1 Desktop versions of
these files.
If users have customized their .dt/dtwmrc file and want to keep it,
they will need to cut and paste the appropriate pieces into the new
dtwmrc provided.
Before You Start the Desktop
============================
You can start the CDE Desktop by:
* Configuring the system to auto-start the CDE Desktop when
the system is booted.
* Or, manually starting the desktop Login Manager.
Special Configurations
----------------------
If your system has one of these special configurations, you may need to
edit certain Login Manager files before starting the desktop. See the
Advanced User's and System Administrator's Guide:
* If the system console is a non-bitmap device.
* If the system is an X terminal or a host for X terminals.
* If the system has more than one display.
To Enable and Disable Desktop Auto-Start
========================================
When auto-start is enabled, the CDE Login Manager runs automatically
each time the system is booted. You then log in using the
CDE Login Screen.
To Enable Desktop Auto-Start
----------------------------
1. Log in as root.
2. From the command line, enter:
/usr/dt/bin/dtconfig -e
A CDE Login screen will appear the next time the system is booted.
To Disable Desktop Auto-Start
-----------------------------
1. Log in as root.
2. From a command line, enter:
/usr/dt/bin/dtconfig -d
A conventional ascii login will appear the next time the system
is booted.
To Start and Stop the Desktop Manually
======================================
There are two ways to start the desktop manually:
* You can manually start the CDE Login Manager, which will display the
desktop Login screen. To use this method, you must have permission
to log in as root.
This method is the preferable manual method, since Login Manager sets
certain environment variables that are needed during desktop sessions.
* You can log in using conventional methods, and then manually run the CDE
Session Manager, which starts a desktop session.
Manually Starting and Stopping Login Manager
--------------------------------------------
When you use this method, you log in using the desktop Login screen.
When you log in, a desktop session starts.
To manually start Login Manager:
1. Log in as root.
2. With no window system running, from the command line enter:
/usr/dt/bin/dtlogin
To manually stop Login Manager:
1. If you are in a desktop session, exit (via front panel button).
2. On the Login screen, choose Options->Command Line
to return to a command line.
3. On the command line, enter [Ctrl]c (hold down [Ctrl] as
you press [c]).
You are now back to your root login with a command line prompt.
Manually Starting and Stopping Session Manager
----------------------------------------------
If you use this method, you are responsible for setting certain environment
variables to values required by the desktop if suitable values are
not already set in your environment. See the Advanced User's and System
Administrator's Guide.
1. Log in. (You do not need to log in as root).
If you set LD_LIBRARY_PATH (its not required for CDE), make sure the
/usr/dt/lib directory is at head of list. In addition, you should
set the environment variable OPENWINHOME to /usr/openwin.
2. With no window system running, from the command line enter:
/usr/openwin/bin/xinit /usr/dt/bin/Xsession
This starts your CDE desktop session. Exit button is on front panel.
To Configure Subprocess Control Daemon remote access
====================================================
If you are working in an environment where a CDE Desktop action needs to
start an application on another workstation running CDE, the Subprocess
Control Daemon must have access to the /tmp directory of the remote
workstation.
The following procedure will provide this.
1. Log in as root.
2. Provide NFS-access by the local (client) system to the remote (application
server) system's /tmp directory. The mount point must be
/nfs/<remote_host>/tmp.
On systems running automount, the following procedure provides this mount:
a. Enter:
mkdir /nfs
b. Add the following lines to /etc/auto_master:
/nfs -hosts -nosuid
c. To allow export of the /tmp directory, add the following line
to /etc/dfs/dfstab:
shared -F nfs -o rw /tmp
3. The subprocess control daemon will have correct access the next time
the workstation is booted.

View File

@@ -0,0 +1,207 @@
#########################################################################
# Configuration Instructions for the UnixWare 1.1 or later Environments #
#########################################################################
The following instructions assume you have already installed the Common Desktop
Environment according to the Installation Instructions on the CD jacket.
There are two ways to start the desktop:
* You can manually start the desktop Login Manager. This method can be used to
avoid rebooting the system. See the section To Start and Stop the Desktop
Manually .
* You can configure the system to start the desktop automatically upon reboot.
See the section To Enable and Disable Desktop Auto-Start..
Before You Start the Desktop
============================
******************************************************************************
If you have a previous Common Desktop Environment (CDE) version on the system:
******************************************************************************
*Advise all CDE users on the system to remove or rename their $HOME/.dt directory
and their $HOME/.dtprofile. The new files are not compatible with the old
ones. If users have customized the $HOME/.dt/dtwmrc file and want to keep
it, they will need to cut and paste the appropriate pieces into the new dtwmrc
file provided.
*Become the root user on the system. Make sure all other users on the system
are logged out of CDE. Kill the Login Manager if running.
kill -15 `cat /etc/opt/dt/Xpid`
Killing the Login Manager process works no matter how the process was started.
An alternate method is to stop the system resource control for the desktop.
This method should only be used if CDE was configured on the system by
replacing the /etc/rc2.d/S69xdm script. You can tell if CDE was configured
this way by checking the existence of /etc/S69xdm.old. If this file
exists, then do the following:
mv /etc/S69xdm.old /etc/rc2.d/S69xdm
Special Configurations
----------------------
If your system has one of these special configurations, you may need to
edit certain Login Manager files before starting the desktop. See the
Advanced User's and System Administrator's Guide:
* If the system console is not a UnixWare supported bitmap device.
* If the system is an X terminal or a host for X terminals.
* If the system has more than one display.
To Start and Stop the Desktop Manually
======================================
There are two ways to start the desktop manually:
* You can manually start the CDE Login Manager, which will
display the desktop Login screen. To use this method, you
must have permission to log in as root.
This method is preferable, since Login Manager sets certain
environment variables that are needed during desktop sessions.
* You can log in using conventional methods, and then manually
run the CDE Session Manager, which starts a desktop session.
See the section Manually Starting and Stopping the Session
Manager.
Manually Starting and Stopping Login Manager
--------------------------------------------
When you use this method, you log in using the CDE Login screen.
When you log in, a desktop session starts.
To manually start Login Manager:
1. Log in as root.
2. Type:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/dt/lib:/usr/X/lib export LD_LIBRARY_PATH
3. With no window system running, from the command line enter:
/usr/dt/bin/dtlogin -daemon
The CDE Graphical Login screen will appear.
4. For security reasons, you need to exit the shell that invoked dtlogin.
Type <Alt><SysRq> p
(i.e. Press the <Alt> and <SysRq> keys at the same time,
release both and then hit 'p'. )
You should return to an ASCII terminal session.
5. Type:
<return>
exit
6. You will be asked if you want your virtual terminals closed at once.
Type: n
The CDE Graphical Login screen will reappear.
To manually stop Login Manager:
1. Log out of the CDE Desktop.
2. From the options menu of the CDE Graphical Login choose Command Line.
This will give you the ASCII login screen.
3. Log in as root.
4. Type:
kill -15 `cat /usr/dt/config/Xpid`
Manually Starting and Stopping Session Manager
----------------------------------------------
If you use this method, you are responsible for setting certain
environment variables to values required by the desktop if suitable
values are not already set in your environment. Refer to the Getting
Started Guide for setting the necessary environment variables.
1. Log in. (You do not need to log in as root).
2. With no window system running, from the command line enter:
LD_LIBRARY_PATH=/usr/dt/lib:/usr/X/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
PATH=$PATH:/usr/X/bin
export PATH
/usr/X/bin/olinit /usr/dt/bin/Xsession
The Session Manager stops when you log out.
When auto-start is enabled, the CDE Login Manager runs
automatically each time the system is booted. You then log
in using the CDE Login Screen.
To Enable and Disable Desktop Auto-Start
========================================
UnixWare can be configured to start the CDE Desktop automatically when the system
is booted. This method starts CDE as the Session Manager for all users on
the system.
To Enable Desktop Auto-Start
----------------------------
1. Log in as root.
2. From the command line, enter:
NOTE: Step 'a' is necessay only if the /etc/rc2.d/S69xdm
script has been modified after UnixWare was
installed on your system and if the graphical login
is enabled. A copy of the S69xdm script that
came with the UnixWare installation is located
in /usr/X/adm.
a. cp /etc/rc2.d/S69xdm /etc/S69xdm.preCDE
b. cp /usr/dt/config/S69xdm /etc/rc2.d/S69xdm
A CDE Login screen will appear the next time the system is booted.
To Disable Desktop Auto-Start
-----------------------------
1. Log in as root.
2. From a command line, enter:
rm /etc/rc2.d/S69xdm
If you would like the original UnixWare Desktop Manager Login
to appear upon reboot:
/usr/X/bin/enable_glogin
- OR -
If a copy of S69xdm was saved as outlined in the section
"To Enable Desktop Auto-Start":
mv /etc/S69xdm.preCDE /etc/rc2.d/S69xdm
The UnixWare Desktop Manager Login will appear
the next time the system is rebooted.

View File

@@ -0,0 +1,207 @@
#########################################################################
# Configuration Instructions for the Fujitsu UXP/DS Environments #
#########################################################################
The following instructions assume you have already installed the Common Desktop
Environment according to the Installation Instructions on the CD jacket.
There are two ways to start the desktop:
* You can manually start the desktop Login Manager. This method can be used to
avoid rebooting the system. See the section To Start and Stop the Desktop
Manually .
* You can configure the system to start the desktop automatically upon reboot.
See the section To Enable and Disable Desktop Auto-Start..
Before You Start the Desktop
============================
******************************************************************************
If you have a previous Common Desktop Environment (CDE) version on the system:
******************************************************************************
*Advise all CDE users on the system to remove or rename their $HOME/.dt directory
and their $HOME/.dtprofile. The new files are not compatible with the old
ones. If users have customized the $HOME/.dt/dtwmrc file and want to keep
it, they will need to cut and paste the appropriate pieces into the new dtwmrc
file provided.
*Become the root user on the system. Make sure all other users on the system
are logged out of CDE. Kill the Login Manager if running.
kill -15 `cat /etc/opt/dt/Xpid`
Killing the Login Manager process works no matter how the process was started.
An alternate method is to stop the system resource control for the desktop.
This method should only be used if CDE was configured on the system by
replacing the /etc/rc2.d/S69xdm script. You can tell if CDE was configured
this way by checking the existence of /etc/S69xdm.old. If this file
exists, then do the following:
mv /etc/S69xdm.old /etc/rc2.d/S69xdm
Special Configurations
----------------------
If your system has one of these special configurations, you may need to
edit certain Login Manager files before starting the desktop. See the
Advanced User's and System Administrator's Guide:
* If the system console is not a UnixWare supported bitmap device.
* If the system is an X terminal or a host for X terminals.
* If the system has more than one display.
To Start and Stop the Desktop Manually
======================================
There are two ways to start the desktop manually:
* You can manually start the CDE Login Manager, which will
display the desktop Login screen. To use this method, you
must have permission to log in as root.
This method is preferable, since Login Manager sets certain
environment variables that are needed during desktop sessions.
* You can log in using conventional methods, and then manually
run the CDE Session Manager, which starts a desktop session.
See the section Manually Starting and Stopping the Session
Manager.
Manually Starting and Stopping Login Manager
--------------------------------------------
When you use this method, you log in using the CDE Login screen.
When you log in, a desktop session starts.
To manually start Login Manager:
1. Log in as root.
2. Type:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/dt/lib:/usr/X/lib export LD_LIBRARY_PATH
3. With no window system running, from the command line enter:
/usr/dt/bin/dtlogin -daemon
The CDE Graphical Login screen will appear.
4. For security reasons, you need to exit the shell that invoked dtlogin.
Type <Alt><SysRq> p
(i.e. Press the <Alt> and <SysRq> keys at the same time,
release both and then hit 'p'. )
You should return to an ASCII terminal session.
5. Type:
<return>
exit
6. You will be asked if you want your virtual terminals closed at once.
Type: n
The CDE Graphical Login screen will reappear.
To manually stop Login Manager:
1. Log out of the CDE Desktop.
2. From the options menu of the CDE Graphical Login choose Command Line.
This will give you the ASCII login screen.
3. Log in as root.
4. Type:
kill -15 `cat /usr/dt/config/Xpid`
Manually Starting and Stopping Session Manager
----------------------------------------------
If you use this method, you are responsible for setting certain
environment variables to values required by the desktop if suitable
values are not already set in your environment. Refer to the Getting
Started Guide for setting the necessary environment variables.
1. Log in. (You do not need to log in as root).
2. With no window system running, from the command line enter:
LD_LIBRARY_PATH=/usr/dt/lib:/usr/X/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
PATH=$PATH:/usr/X/bin
export PATH
/usr/X/bin/olinit /usr/dt/bin/Xsession
The Session Manager stops when you log out.
When auto-start is enabled, the CDE Login Manager runs
automatically each time the system is booted. You then log
in using the CDE Login Screen.
To Enable and Disable Desktop Auto-Start
========================================
UnixWare can be configured to start the CDE Desktop automatically when the system
is booted. This method starts CDE as the Session Manager for all users on
the system.
To Enable Desktop Auto-Start
----------------------------
1. Log in as root.
2. From the command line, enter:
NOTE: Step 'a' is necessay only if the /etc/rc2.d/S69xdm
script has been modified after UnixWare was
installed on your system and if the graphical login
is enabled. A copy of the S69xdm script that
came with the UnixWare installation is located
in /usr/X/adm.
a. cp /etc/rc2.d/S69xdm /etc/S69xdm.preCDE
b. cp /usr/dt/config/S69xdm /etc/rc2.d/S69xdm
A CDE Login screen will appear the next time the system is booted.
To Disable Desktop Auto-Start
-----------------------------
1. Log in as root.
2. From a command line, enter:
rm /etc/rc2.d/S69xdm
If you would like the original UnixWare Desktop Manager Login
to appear upon reboot:
/usr/X/bin/enable_glogin
- OR -
If a copy of S69xdm was saved as outlined in the section
"To Enable Desktop Auto-Start":
mv /etc/S69xdm.preCDE /etc/rc2.d/S69xdm
The UnixWare Desktop Manager Login will appear
the next time the system is rebooted.