7.04: X11 remote display problem

Smoot Carl-Mitchell smoot at tic.com
Fri Nov 23 21:41:21 UTC 2007

On Wed, 2007-11-21 at 17:09 +0000, bill purvis wrote:

> bohuslav bill$ emacs &
> [1] 20965
> bohuslav bill$ emacs: Cannot connect to X server felix:0.0.
> Check the DISPLAY environment variable or use `-d'.
> Also use the `xhost' program to verify that it is set to permit
> connections from your machine.

This is odd.  It looks like X11 forwarding is working from your debug
output, but it appears the DISPLAY environment variable is getting set
to felix:0.0.  It should be something like localhost:10.0.  Are you sure
you are not setting DISPLAY in your shell startup script?
Smoot Carl-Mitchell
System/Network Architect
email: smoot at tic.com
cell: +1 602 421 9005
home: +1 480 922 7313

More information about the ubuntu-users mailing list