7.04: X11 remote display problem

bill purvis bil at beeb.net
Fri Nov 16 19:51:25 UTC 2007


On Friday 16 November 2007, Peter Garrett wrote:
> 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   ?
>
tried that.

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

Still no joy

Bill
-- 
+---------------------------------------+
| Bill Purvis, Amateur Mathematician    |
|  email: bil at beeb.net                  |
|  http://bil.members.beeb.net          |
+---------------------------------------+




More information about the ubuntu-users mailing list