Of about a dozen machines this problem is unique to only one of them. When I ssh into this machine and run xterm, I have no trouble. However, when I try to run emacs it says: emacs: Cannot connect to X server localhost:11.0 I have rebuilt emacs and ALL the dependencies twice. portupgrade -fR emacs Any suggestions? Thanks.