Re: Xfs from xinetd?
Torrey Lyons <[email protected]>
| Newsgroups | gmane.os.opendarwin.general |
|---|---|
| Message-ID | <p06110401bddd01a26bcf@[65.104.119.194]> |
At 6:56 AM -0800 12/8/04, Rob Braun wrote: >On Wed, Dec 08, 2004 at 12:10:27AM -0800, John Davidorff Pell wrote: >> I'm having terrible trouble trying to figure out some way to start xfs >> (X Font Server) from xinetd. I don't want it running all the time, and >> would like it to quit once the connection is closed. >> >> I'm trying to understand how xinetd works, it seems like xfs needs tcp >> wrappers support to work? What do I do? Help! >> >> I've been googling as best I can and can't find anything useful... >> pointers in the right direction are appreciated! > >You can't just take any network application and make it work out of >xinetd. The application needs to be written to support running out >of an inetd. I am not all that familiar with xfs, but from a cursory >examination of the man page, it does not support running from an inetd. This is actually a small can of worms that I'd be happy for some input on. The underlying issue is that its not clear how Xfs and Xprt (the X font and print servers) should be started in a Mac OS X environment. They are often started at boot time on other *nixen. However, on other platforms they are providing key services to the core window server (the X server). On Mac OS X the X server is run in a user context and without root privileges. Should the X server (XDarwin) just start Xfs and Xprt itself? (Some configuration options could be provided to turn on one or both.) Or should they be run as root daemons like other places using the Mac OS X specific StartupItems or new bootstrap daemon mechanisms? --Torrey