Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Solaris 11 on VMWare Workstation host machine Windows 7. Here is my OS and system details: SunOS solaris 5.11 11.0 i86pc i386 i86pc

I want to boot Solaris 11 in text mode only i.e make it persistently boot in text mode and not boot into GUI. I tried editing menu.lst. My menu.lst is as follows:

default 0
timeout 30
splashimage /boot/grub/splash.xpm.gz
foreground 343434
background F7FBFF
title Oracle Solaris 11 11/11
bootfs rpool/ROOT/solaris
kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS,console=text
module$ /platform/i86pc/amd64/boot_archive
title solaris-backup-1
bootfs rpool/ROOT/solaris-backup-1
kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS,console=text
module$ /platform/i86pc/amd64/boot_archive

My problem is that when I reboot Solaris 11 it initially shows up with a command line login asking for username, but as I'm typing the username in, it just boots into GUI anyway showing up a GUI login screen. How can I make Solaris persistently boot into text mode. I have tried boot time grub parameter editing and that way doesn't work either.

share|improve this question
up vote 2 down vote accepted

svcadm disable gdm to stop the login GUI service from running automatically on boot.

share|improve this answer

This has nothing to do with booting OS as you stated that when you try to login there's X11 starting. This is post-boot scenario. I'm not Solaris expert but if it uses runlevels then you have to change runlevel not to start X11 (gdm, xdm, whatever). If it does not have separate runlevel for X11 mode, then you have to disable X11 (gdm, xdm...) to start after boot.

share|improve this answer
You are correct. I have mainly used CentOS previously and only had to change runlevel in /etc/inittab, but found Solaris's /etc/inittab a little different. That's why I was confused. Will research more on it though. – mk_gocs Oct 18 '13 at 9:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.