I'm rehosting a TCL/TK app from Solaris to a RHEL 6 sytem (GNOME/gdm). It runs fine on Solaris, but not RHEL. When this app uses send command, I get the following error:
X server insecure (must use xauth-sytle authorization) command ignored while executing "send myapp myproc myarg"
I understand TK send uses Xauthority, and that might be why I get this error. I just don't know how to fix it. I also learned that I can recompile TK with -DNO_SECURITY. I'm saving that as a last resort.
I'm running the app locally, so I'm not using xhost+. However, I tried using xhost+ and it still fails with the same error.
A google search turned up several solutions but they haven't worked on my RHEL6 system.
Any suggestions? Anyone have experience with this on RHEL6?