[Bug 434799] Re: X11 forwarding via SSH does not work after upgrade to karmic

H.-Dirk Schmitt dirk at computer42.org
Fri Jun 29 12:36:58 UTC 2012


*** This bug is a duplicate of bug 882878 ***
    https://bugs.launchpad.net/bugs/882878

** This bug has been marked a duplicate of bug 882878
   With IPv6 disabled, openssh will not forward X connections

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/434799

Title:
  X11 forwarding via SSH does not work after upgrade to karmic

Status in “openssh” package in Ubuntu:
  Confirmed

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://archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status
  xauth:
    Installed: 1:1.0.3-2
    Candidate: 1:1.0.3-2
    Version table:
   *** 1:1.0.3-2 0
          500 http://archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status

  sshd_config file:

  Port 22
  ListenAddress 0.0.0.0
  Protocol 2
  HostKey /etc/ssh/ssh_host_rsa_key
  HostKey /etc/ssh/ssh_host_dsa_key
  UsePrivilegeSeparation yes
  KeyRegenerationInterval 3600
  ServerKeyBits 768
  SyslogFacility AUTH
  LogLevel INFO
  LoginGraceTime 600
  StrictModes yes
  RSAAuthentication yes
  PubkeyAuthentication yes
  IgnoreRhosts yes
  RhostsRSAAuthentication no
  HostbasedAuthentication no
  PermitEmptyPasswords no
  PasswordAuthentication no
  X11Forwarding yes
  X11DisplayOffset 10
  PrintMotd no
  PrintLastLog yes
  TCPKeepAlive yes
  Subsystem sftp /usr/lib/openssh/sftp-server
  UsePAM yes
  PermitTunnel yes
  PermitRootLogin forced-commands-only

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/434799/+subscriptions




More information about the foundations-bugs mailing list