Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.1.1 and xterm




On Dec 15, 2007, at 4:52 PM, Bill Janssen wrote:

DISPLAY :0 isn't meaningful when the X server isn't running, and
trying to connect to it will result in an error. The launchd business

Be nice if it did work, though. It's short-hand for "port 6000 on localhost" (or used to be). Launchd could watch that port, too.

Be nice to have as an option.  It would increase the number of things
that "just work", I'd guess.


Not to pick nits, but that's not precisely correct -- 'DISPLAY=:0' is short hand for "the unix socket for display 0, which is defined by Xtrans to be /tmp/.X11-unix/X0 on most platforms". 'DISPLAY=localhost: 0' is "port 6000 on localhost".

launchd is, among other things, a superset of inetd, and what you're suggesting is roughly equivalent to having X11 start from inetd. Yes, this would be possible, but probably not good. It would mean that a portscan would cause X11 to start on your machine, and X11 would have to be modified to accept X11 protocol talk on stdin / stdout. Yuck.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer


_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >Re: 2.1.1 and xterm (From: "John Koren" <email@hidden>)
 >Re: 2.1.1 and xterm (From: Merle Reinhart <email@hidden>)
 >Re: 2.1.1 and xterm (From: "John Koren" <email@hidden>)
 >Re: 2.1.1 and xterm (From: William Mortensen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.