Software >> OS >> Unix >> Solaris >> 10 >> How to switch between dtlogin (CDE) and GDM (Gnome) for graphical login

To switch from dtlogin to GDM:

  1. Log out of X session, and login as root at command line login.

  2. Stop dtlogin, by running '/etc/init.d/dtlogin stop'

  3. If running Solaris Express builds prior to Solaris 10 GA 03/05, modify /etc/X11/gdm/gdm.conf as follows: under "Definition of the standard X server" change `command=/usr/X11R68/bin/X -audit 0` to `command=/usr/X11/bin/Xorg -audit 0`

  4. Disable dtlogin by running `/usr/dt/bin/dtconfig -d`

  5. Enable GDM by running `svcadm enable application/gdm2-login`

  6. Get a GDM prompt, by exiting out of root console login, back to login prompt.

To switch from GDM to dtlogin:

  1. Log out of X session, and login as root at command line login.

  2. Disable GDM by running `svcadm disable application/gdm2-login`

  3. Enable dtlogin by running `/usr/dt/bin/dtconfig -e`

  4. Start dtlogin, by running '/etc/init.d/dtlogin start'

  5. Get a dtlogin prompt, by exiting out of root console login, back to login prompt.

References

[1] Oracle Doc ID Doc ID 1007937.1