Large
display numbers may conflict with other services (such as IRC at port 6667), so it is
best to keep display numbers under 100.
1.14 Local Connection Mechanisms
TCP/IP is a great network transport, but it??™s overkill for connecting programs running
on the same computer. Most X servers provide a faster alternative for local
connections.
Unfortunately, there are at least five different local connection schemes in use,
including Unix domain sockets, named pipes, and various types of Streams pipes.
Open source operating systems use Unix domain sockets without exception.
A displayspec with a blank host field will automatically select the default local connection
scheme; if the default isn??™t a Unix domain socket, then some systems permit
a host value of unix to force a domain socket to be used.
Unix domain sockets for the X server are created in /tmp/.X11-unix and are named
according to the display number (therefore, /tmp/.X11-unix/X0 is the Unix domain
socket for local display :0).
1.15
22 Chapter 1: Introduction to the X Window System
After a local connection has been established, the client and server can negotiate the
use of shared memory for faster communication of large blocks of data; this requires
the MIT SHM extension.
Pages:
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60