In most cases the x11-server service is not run via SMF.
While we converted some of the common configuration to SMF,
startup and shutdown is still normally handled by either
dtlogin or gdm, using their own mechanisms, not SMF, so it
won't show up in the svcs output.   Only if you've specially
configured your system to run a raw X server, without a login
gui, will you see an SMF service instance for it.

        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Zhu Xiao wrote:
> Hi All,
> How do I find out if X server service is running or not?
> 
> I was checkin x-11 server. "svcs -a | grep x11-server" returns nothing. 
> But svcprop certainly found such a service:
> 
> # svcs -a | grep x11-server
> #
> 
> # svcprop x11-server
> options/default_depth integer 24
> options/server astring /usr/openwin/bin/Xsun
> options/server_args astring ""
> options/stability astring Evolving
> options/tcp_listen boolean true
> options/value_authorization astring solaris.smf.manage.x11
> fs-local/entities fmri svc:/system/filesystem/local
> fs-local/grouping astring require_all
> fs-local/restart_on astring none
> fs-local/type astring service
> network-service/entities fmri svc:/network/service
> network-service/grouping astring require_all
> ....
> 
> 
> Thanks,
> 
> -Zhu
> 
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org

Reply via email to