Re: why is xsun running?
From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 11/14/05
- Next message: Oscar del Rio: "Re: how to find patchlevel of specific file"
- Previous message: Darren Dunham: "Re: ufsdump/ufsrestore without tape"
- In reply to: Shea Martin: "why is xsun running?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Nov 2005 18:36:14 GMT
Shea Martin <sheam@ns.sympatico.ca> wrote:
> On my U10, running S10:
> I booted without keyboard and monitor out plugged in.
> eeprom showed output-device=screen, and input-device=keyboard.
> I thought last time I did such a thing output-device and input-device were
> automatically set to ttyX, and Xsun was not started?
While the console is redirected to ttya, the actual eeprom values do not
change at boot. So if you later put the keyboard in and boot, the
console will move back.
As long as the system appears to have a framebuffer (and you haven't
modified Xservers) dtlogin will try to start a local server. Without
the keyboard, it'll usually try and fail 3 times. (This was the old
behavior. I haven't noticed if there's a difference on S10).
Note that running an X server on the local keyboard/framebuffer and the
location of the console are independent.
> So I manually set them both to ttyb, and rebooted. Upon reboot Xsun (and
> xfs) was still running? I thought booting without a keyboard and mouse
> plugged in would prevent Xsun from starting?
It won't prevent it from *trying* to start, but I would also expect it
to eventually fail becuase it can't find the keybaord.
> What am I missing here? Why is Xsun starting? Do I have to disable
> dtloging with svcadm?
If you don't need remote X logins, then yes I would probably disable
dtlogin. (In the first release of S10 I don't think it was yet a
service, so you'd still use 'dtconfig').
If you want to support remote logins but not local ones, cp
/usr/dt/config/Xservers into /etc/dt/config and comment out the line at
the bottom. 'dtlogin' will launch and respond to XDMCP queries, but
will not start a local X server.
On many of my machines, I don't bother. The server will try and fail to
start, so there's no resources used. And if I reattach a
keyboard/screen, then I'll get an X server without modifying any files.
-- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
- Next message: Oscar del Rio: "Re: how to find patchlevel of specific file"
- Previous message: Darren Dunham: "Re: ufsdump/ufsrestore without tape"
- In reply to: Shea Martin: "why is xsun running?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|