On Thu, Feb 21, 2002 at 11:18:25AM -0600, Dave Williss wrote:
> How do I determine if my X connection is local

This may be a bit naieve, but how about just checking your display
string (ie env var DISPLAY or whatever you passed to XOpenDisplay)? 
If the first character is a ':' it's local, else it's tcp or decnet,
right?
But, as stated elsewhere in the thread, localness does not guarantee
shm availability.

-- 
Frank v Waveren                                      Fingerprint: 0EDB 8787
fvw@[var.cx|dse.nl|stack.nl|chello.nl] ICQ#10074100     09B9 6EF5 6425 B855
Public key: http:[EMAIL PROTECTED]     7179 3036 E136 B85D
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to