7.04: X11 remote display problem
smoot at tic.com
Wed Nov 21 12:43:37 UTC 2007
On Wed, 2007-11-21 at 12:18 +0000, bill purvis wrote:
> I'm still having no joy with getting anything to open a remote X11
> window on my laptop since I changed to Ubuntu from Mandrake.
> I'm using ssh to log in to my server (and yes I've tried using ssh -X
> but that makes no difference). Once I'm logged in I try to start an
> emacs window on the laptop:
> server$ echo $DISPLAY
> server$ emacs &
> server$ 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.
Turn on X11 port forwarding on your ssh client and server. The X session
will be port forwarded over the SSH connection which is a more secure
way to run X remotely. The relevant configuration files
are /etc/ssh/ssh_config and /etc/ssh/sshd_config.
email: smoot at tic.com
cell: +1 602 421 9005
home: +1 480 922 7313
More information about the ubuntu-users