This discussion is archived
3 Replies Latest reply: Sep 25, 2012 6:07 AM by muvvas RSS

Enable gdm in Solaris 11 non-global zone

591807 Newbie
Currently Being Moderated
I am trying to enable gdm in a fresh solaris 11 NGZ. I installed slim_install and solaris-desktop. gdm will not start, and shows the following:

# svcs -xv gdm
svc:/application/graphical-login/gdm:default (GNOME Display Manager)
State: offline since Thu Jun 14 10:56:54 2012
Reason: Service svc:/system/hal:default is in an invalid state.
Path: svc:/application/graphical-login/gdm:default
Reason: Service svc:/system/dbus:default is temporarily disabled.
Path: svc:/application/graphical-login/gdm:default
See: man -M /usr/share/man -s 1m gdm
Impact: This service is not running.

# svcs -xv dbus
svc:/system/dbus:default (D-BUS message bus)
State: disabled since Thu Jun 14 12:47:15 2012
Reason: Temporarily disabled by an administrator.
See: man -M /usr/man -s 1 dbus-daemon
See: /var/svc/log/system-dbus:default.log
Impact: 2 dependent services are not running:

# uname -a
SunOS test-host 5.11 11.0 sun4v sparc sun4v

I gather from reading other threads that dbus will not run in a NGZ, so how can I get gnome desktop manager to start?
  • 1. Re: Enable gdm in Solaris 11 non-global zone
    591807 Newbie
    Currently Being Moderated
    I contacted Oracle and found out that Gnome Desktop Manager will not run in a zone. I needed it because I was going to install Oracle Database Turns out that the only way I could do it was to run the installer using a response file in silent mode, or by using a terminal emulator. I went for the terminal emulator choice, using putty and xming. It's actually heaps better because I didn't really want to install GDM just so that I could run the Oracle installer... now my system is much cleaner.
  • 2. Re: Enable gdm in Solaris 11 non-global zone
    userCIP Newbie
    Currently Being Moderated

    if you still have not got any answer from oracle support like us, perhaps i can give you a hin to fix this ...

    First we changed /etc/gdm/custom.conf

    Then we changed smf service layout for svc:/application/graphical-login/gdm:default

    We deleted dependencies for hal, consolekit and dbus in /lib/svc/manifest/application/graphical-login/gdm.xml

    After that we started gdm service, but it failed. THe gdm-binary needs a socket from dbus ...
    So we modified dbus start script.

    Just comment check for "non-global zone" out in /lib/svc/method/svc-dbus

    #if smf_is_nonglobalzone; then
    # /usr/sbin/svcadm disable -t svc:/system/dbus
    # echo "dbus-daemon cannot be run in non-global zones"
    # sleep 5 &
    # exit $SMF_EXIT_OK

    then start dbus service and gdm service ...

    hope that helps...

    Just contact Oracle to deliver update for you !

  • 3. Re: Enable gdm in Solaris 11 non-global zone
    muvvas Explorer
    Currently Being Moderated
    their is one more option run vnc server in zone..that will do ,we use vnc server to install thr db/cc related insatallations

    you need to run vncserver

    before running configure path for vnc as follow



  • Correct Answers - 10 points
  • Helpful Answers - 5 points