Solaris Starting and Stopping dtlogin (CDE)

Posted on in Categories News last updated March 6, 2006

It is always good idea not to use the X windows system on dedicated Solaris servers. GUI consumes more resources (such as CPU, Memory). However, Solaris by default installs CDE or Gnome desktop.

If your Linux system boot to a shell prompt, you can start X window (GUI system) by typing following command:

$ startx

dtlogin script
Solaris do not use startx command. It comes with dtlogin script located in /etc/init.d directory. It is a display manager for the X Window System

Stopping dtlogin

# /etc/init.d/dtlogin stop

Starting dtlogin
If your Solaris system boot to a shell prompt, you can start X/dtlogin with following command:

# /etc/init.d/dtlogin start

Restart dtlogin
If dtlogin is not responding then you can restart it using ssh:

# /etc/init.d/dtlogin restart

Permanently disable dtlogin
If you wish to disable dtlogin, use dtconfig command. It is a desktop configuration utility for Solaris. This command is located at /usr/dt/bin/dtconfig. Login as a root user before using dtconfig command.

To disabled dtlogin type command:

# /usr/dt/bin/dtconfig -d

To enable dtlogin type command:

# /usr/dt/bin/dtconfig -e

To kill dtlogin type command:

# /usr/dt/bin/dtconfig -kill

Read man page of dtlogin for more information.

(Check out all of our posts on Solaris)

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 3 comments/add one below):

3 comment

  1. The Solaris 10 update 3 system I just looked at has the /etc/init.d/dtlogin script, but it is a wrapper around the SMF service cde-login.

    Have a question? Post it on our forum!