Solaris Starting and Stopping dtlogin (CDE)
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)
E-mail this to a Friend
Printable Version
You may also be interested in other helpful articles:
- Ubuntu Linux Install and configure Upstart to replace init
- Question: The Difference between Sun OS and Solaris
- Recover MySQL root password
- Ubuntu 6.10 available for download
- HP-UX: How Do I configure the new Lan card configuration?
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


I think with Solaris 10 though, dtlogin is integrated into SMF. The guy who posts to forums and blogs the most about this topic is Alan Coopersmith, e.g. see:
The Desktop Configuration rights profile in Solaris 10
Sounds interesting…
Lemme try it some time later
Thanks!