Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Solaris 10 box I recently put the latest recommended patch set on. X is running, along with cde-login. When I do a "svcs" I can see the cde-login service, but x11-server does not show up as a service, even if I do a "svcs -a". In the process list, X shows up as:

/usr/openwin/bin/Xsun :0 -defdepth 24 -nobanner -auth /var/dt/blah

x11-server is not listed in inetadm, so I don't think it's being run legacy style.

How is X getting started if it's not being run by SMF?

share|improve this question
add comment

3 Answers 3

What happens if you disable the cde-login service? I would expect that X is actually started by the cde-login service itself.

share|improve this answer
    
I think you might be right, but on other servers I actually see x11-server as a separate service. I ended up solving my problem by switching to gdm as the display manager (instead of cde-login) which seems to behave much cleaner. –  Anonymous Jun 30 '09 at 19:02
add comment

You can do a pstree (or equivalent) to see what started it. That might help.

share|improve this answer
add comment

X is started by either dtlogin or gdm, which run the /usr/X11/bin/Xserver script that reads the properties from the x11-server SMF service to determine which X server to start (Xsun or Xorg) and what flags to start it with. x11-server only shows up in the svcs -a output if an instance has been created to start it up directly, instead of via the display manager - that may be done for machines running a kiosk-type service that don't want the login screen from the display manager, or machines running Xvfb for web services to use for rendering images, etc.

share|improve this answer
add comment

Your Answer

 
discard

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