Stopping and Starting CDE

The Solaris Common Desktop Environment (CDE), compatible among various workstation manufacturers, provides users with a desktop graphical interface on a Sun Workstation running Solaris operating system.

This is a simple procedure to disable and enable CDE

Stop/Suspend CDE

To temporary stop/suspend CDE (not persistent across reboots):

# /usr/dt/bin/dtconfig -kill

Disable CDE

To completely disable CDE (persistent across reboots):

# /usr/dt/bin/dtconfig -d
# /usr/dt/bin/dtconfig -kill

Start CDE

To start the desktop environment:

# /usr/dt/bin/dtlogin -daemon ; exit

Enable CDE

To start and persistently enable CDE across reboots:

# /etc/init.d/dtlogin start
(Wait a while)
# /usr/dt/bin/dtconfig -e