ssh X-forwarding problem

Marius Gedminas marius at pov.lt
Wed Mar 7 17:47:19 UTC 2007


On Wed, Mar 07, 2007 at 12:40:15PM -0500, Carl Alexander wrote:
> I have a newly installed 6.06.1 LTS server on which I've installed
> the opednssh-server, xorg, and xterm packages.  I've edited 
> /etc/ssh/sshd_config to allow X forwarding:

I think it is enabled by default, isn't it?

>     xela at ubu:~$ grep -i x1 /etc/ssh/sshd_config 
>     X11Forwarding yes
>     X11DisplayOffset 10
>     xela at ubu:~$ 
> 
> But when I ssh into it I get:
> 
>     xela at ubu:~$ xterm &
>     [1] 18593
>     xterm Xt error: Can't open display: 
>     xterm:  DISPLAY is not set
>     [1]+  Exit 1                  xterm

You need xauth installed on the server, IIRC.

Marius Gedminas
-- 
Look!  Before our very eyes, the future is becoming the past.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070307/18c90818/attachment.sig>


More information about the ubuntu-users mailing list