problems with emacs and X

Tod McQuillin devin at spamcop.net
Sun Jan 20 19:07:15 PST 2008


On Sat, 19 Jan 2008, Eric W. Bates wrote:

> 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?

Try using the -X or -Y options to ssh; it could be that this host's 
sshd_config is set up not to forward X connections by default.
-- 
Tod McQuillin


More information about the freebsd-x11 mailing list