7.04: X11 remote display problem

Peter Garrett peter.garrett at optusnet.com.au
Fri Nov 16 17:16:27 UTC 2007


On Fri, 16 Nov 2007 16:40:06 +0000
bill purvis <bil at beeb.net> wrote:

> I can access it fine using ssh, but when I
> try to open emacs or any other X applications I get
> 	Error: Can't open display: felix:0.0
> felix is my laptop, and I had remembered to type 'xhost +' first.
> Do I need to tell something, if so, what?

xhost + is not a good idea...

For example:

http://www.google.com/search?hl=en&safe=off&q=xhost+%2B+security+hole&btnG=Search

Have you tried

ssh -X you at your-server   ?

man 1 ssh

 -X      Enables X11 forwarding.  This can also be specified on a per-host
             basis in a configuration file.

Is X forwarding enabled ?

$ grep -i forward /etc/ssh/sshd_config 
X11Forwarding yes

Peter
-- 
"INX Is Not X" based on Ubuntu 7.04 Live CD: http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html




More information about the ubuntu-users mailing list