how to change x11 socket name

Alan Coopersmith Alan.Coopersmith at Sun.COM
Tue Jun 24 09:17:56 PDT 2008

Zhaohui Wang wrote:
> Can I change the domain socket name from /tmp/.X11-unix/X0 to something else?I search the start up script, and found that I can change the directory /tmp/.X11-unix to something else. Can I also change the name X0?or pointing this socket file reference to some other pre-create socket file?

These are generally compiled into both the libX11 library and
X server (via the libxtrans "library" of shared code), and if
both sides don't know the same name, they can't communicate
over it.   Why do you want to change it?

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

More information about the xorg mailing list