X11 forwarding via SSH does not work after upgrade to karmic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
I had a proper configuration on jaunty (sshd_config) so I could ssh into that machine and run X11 applications there with X11 forwarding, so I could use apps fromt here remotely. After upgrade to karmic (same sshd_config on the server, client is not changed) I got this (for example):
xterm Xt error: Can't open display:
xterm: DISPLAY is not set
I've tried ssh -X, -Y and -X -Y too together with no success.
So DISPLAY environment variable is not even set because of some reason, though I found this in /var/log/auth.log:
Sep 22 19:56:02 vega sshd[11206]: error: Failed to allocate internet-domain X11 display socket.
openssh-server:
Installed: 1:5.1p1-6ubuntu1
Candidate: 1:5.1p1-6ubuntu1
Version table:
*** 1:5.1p1-6ubuntu1 0
500 http://
100 /var/lib/
xauth:
Installed: 1:1.0.3-2
Candidate: 1:1.0.3-2
Version table:
*** 1:1.0.3-2 0
500 http://
100 /var/lib/
sshd_config file:
Port 22
ListenAddress 0.0.0.0
Protocol 2
HostKey /etc/ssh/
HostKey /etc/ssh/
UsePrivilegeSep
KeyRegeneration
ServerKeyBits 768
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 600
StrictModes yes
RSAAuthentication yes
PubkeyAuthentic
IgnoreRhosts yes
RhostsRSAAuthen
HostbasedAuthen
PermitEmptyPass
PasswordAuthent
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
Subsystem sftp /usr/lib/
UsePAM yes
PermitTunnel yes
PermitRootLogin forced-
Changed in openssh (Ubuntu): | |
status: | Invalid → Confirmed |
status: | Confirmed → Incomplete |
status: | Incomplete → New |
status: | New → Incomplete |
tags: | added: ipv6 |
Also I am not sure if it's related but if I do X forwarding via SSH _from_ that karmic box, it works, but I got this message too:
Warning: No xauth data; using fake authentication data for X11 forwarding.
But sine it works anyway it does not matter too much for me, the problem is about starting X apps on this box and have the forwarded X11 "output" on another machine.