Alternate forms of this question often mention that Tk `send` is broken,
or ask how to use xauth.
Since Tk 3.3, the X11 xauth security mechanism is used. While this
provides more security, it does require the user to do a bit more setup
to use the `send` command. The man page for `send` describes how to
solve this question for the average user. For those interested in
further reading on auth, look at
You can configure Tk to not depend on xauth by modifying "Makefile.in"
to comment out the following:
# To turn off the security checks that disallow incoming sends when
# the X server appears to be insecure, reverse the comments on the
# following lines:
SECURITY_FLAGS = -DTK_NO_SECURITY
*Note:* It`s not a good idea to disable security if security is an issue
for you. You may want to consult your sysadmin before doing this.
`send` is supported on the Mac or Windows platforms as of Tk8.1.