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)


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 3 comments so far... add one


CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
3 comments… add one
  • Eric Mar 6, 2006 @ 20:49

    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

  • LinuxTitli Mar 7, 2006 @ 0:32

    Sounds interesting…

    Lemme try it some time later 🙂 Thanks!

  • John Jun 4, 2012 @ 18:33

    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.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum