local/remote how to detect?

Alan Coopersmith alan.coopersmith at sun.com
Mon Jul 9 12:15:20 PDT 2007


Bert Wesarg wrote:
> I just see that the mplayer checks for a display number < 10 to decide
> whether the display is local or remote. how reliable is this? is this
> somewhere documented?

Completely unreliable - one could imagine a simple system with more
than 10 virtual terminals running X, or Xvnc running on :0.   And
if you ever want to support sites with Sun Ray terminals, they have
X servers running locally on the server machine with display numbers
running into the 100's.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg mailing list