Using GDM, you can check by running:

    gdmflexiserver --command=ALL_SERVERS

This will return a comma separated list of displays and users
after "OK ". as follows

OK :0,user1,:1,user2,...

I'm not sure how to check if using CDE login, but you can check
with the CDE login folks.  Lin Ma is a contact person you could
ask who works on CDE login at the moment.

Brian


> 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
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org


Reply via email to