Recently I have been working on an iSCSI target using SUN’s OpenSolaris and SUN’s iSCSI target, COMSTAR. After installing and configuring OpenSolaris I wanted to disable the GUI to save on resources. Forunately this is easy with OpenSolaris.
To disable the GUI, type the following command in a terminal window:
pfexec svcadm disable gdm
To enable the GUI, type the following command at the terminal prompt:
pfexec svcadm enable gdm