Re: ssh X-forwarding problem



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@ubu:~$ grep -i x1 /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
xela@ubu:~$

But when I ssh into it I get:

xela@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.

Attachment: signature.asc
Description: Digital signature

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages