Re: Xfs from xinetd?

John Davidorff Pell <[email protected]>
Newsgroups gmane.os.opendarwin.general
Message-ID <[email protected]>
I would like it if X was configured to use only a font-server, and then 
have the font-server run as a root daemon at boot. I'd
like that to be the default, I don't want to be messing with X to try 
and turn off the X server searching for fonts. If I can't, then its 
pointless to run xfs for a local X session at all, as the local xfs has 
access to exactly the same fonts as the local X server.

Actually, what would be *really* cool is an xfs-look-alike wrapper 
(that may support xinetd) that interfaces to the apple font server, 
ATSServer(?)! That would rock. Since X11 uses system fonts anyway (in 
addition to X fonts), this shouldn't be too hard. I don't know what X 
specific fonts are required or expected by whom, so that might not be a 
good idea, but it would kick arse if it could do it. :-D

Any ideas on getting it to start dynamically? :-?

JP


On 8 Dec 2004, at 11:24, Torrey Lyons wrote:



> 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
>





--
A common mistake that people make when trying to design something 
completely foolproof is to underestimate the ingenuity of complete 
fools. - Douglas Adams, Mostly Harmless
smime.p7s (application/pkcs7-signature, 2.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.