Re: 2.1.1 and xterm
Re: 2.1.1 and xterm
- Subject: Re: 2.1.1 and xterm
- From: Ben Byer <email@hidden>
- Date: Sun, 16 Dec 2007 05:13:36 -0800
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)
This email sent to email@hidden