Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108730 - do not work ssh X11 tunneling
Summary: do not work ssh X11 tunneling
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-10 07:44 UTC by Arthur I.
Modified: 2008-12-07 10:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
this problem on screen (xterm.png,587.23 KB, image/png)
2005-10-10 07:48 UTC, Arthur I.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur I. 2005-10-10 07:44:53 UTC
after some updates of gentoo i lost ssh-x11 tunneling, (every week and months i
update my gentoo, this problem is going to far in history when i using 2004.1
and after some sync + update system +world =  i get this problem, i think this
problem gone with some more updates, but problem still exist )

no information i cant find about this problem.
this problem affected only when i connect from gentoo to redhat (RHEL3).
RHEL3 to RHEL3 works fine



Reproducible: Always
Steps to Reproduce:
ai@ai ~ $ uname -a
Linux ai 2.6.13-gentoo #5 SMP Sat Sep 3 20:02:28 MSD 2005 i686 Intel(R)
Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
ai@ai ~ $ ssh -X database
[ai@database ai]$ uname -a
Linux database 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386
GNU/Linux
[ai@database ai]$ env | grep DISPLAY
DISPLAY=localhost:13.0
[ai@database ai]$ xterm

after this actions i get blank window of xterm without content.





on connect with verbose option i get 
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/bin/xauth -f /tmp/ssh-RQvEl30928/xauthfile generate
:0.0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
debug2: x11_get_proto: /usr/bin/xauth -f /tmp/ssh-RQvEl30928/xauthfile list :0.0
. 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 0
debug2: channel 0: request shell confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
[ai@database ai]$ xterm
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 47151
debug2: fd 7 setting O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
<<< at this moment window showing but without content and problem with drawing


additionaly i start xterm within strace
with output of strace which periodicaly print 

[pid 13975] read(3,
"\226\346\325\0\16\0@\3\16\0@\3\225\215\4\1\202\0\25\1\311"..., 32) = 32
[pid 13975] select(4, [3], [], [], {0, 0}) = 0 (Timeout)
[pid 13975] select(4, [3], [], [], {0, 0}) = 0 (Timeout)
[pid 13975] ioctl(3, FIONREAD, [0])     = 0
[pid 13975] ioctl(3, FIONREAD, [0])     = 0
[pid 13975] select(4, [3], [], [], {0, 0}) = 0 (Timeout)
[pid 13975] ioctl(3, FIONREAD, [0])     = 0
[pid 13975] ioctl(3, FIONREAD, [0])     = 0
[pid 13975] select(4, [3], [], [], {0, 0}) = 0 (Timeout)
[pid 13975] select(5, [3 4], [], NULL, NULL) = 1 (in [3])
[pid 13975] ioctl(3, FIONREAD, [32])    = 0
Comment 1 Arthur I. 2005-10-10 07:48:11 UTC
Created attachment 70294 [details]
this problem on screen
Comment 2 Arthur I. 2005-10-10 07:49:20 UTC
$ emerge info
Portage 2.0.53_rc4 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo i686)
=================================================================
System uname: 2.6.13-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.aiya.ru/pub/gentoo/
ftp://mirror.aiya.ru/pub/gentoo/ http://mir.zyrianes.net/gentoo/
ftp://mir.zyrianes.net/gentoo/"
LANG="ru_RU.koi8r"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi adns alsa apache2 artworkextra avi
bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo caps cdparanoia
cdr cpudetection crypt css cups curl dbus dga divx4linux dvd dvdr dvdread
dynagraph eds emboss encode esd exif expat extensions extras fam fame firefox
flac font-server foomaticdb gd gdbm ggi gif glitz gnome gnutls gphoto2 gpm
graphviz gstreamer gtk gtk2 hal idea imagemagick imap imlib ithreads java
javascript jbig jpeg jpeg2k junit kde kdeenablefinal kerberos largeterminal ldap
libcaca libg++ libwww logitech-mouse mad matrox mbox mikmod mmx mmx2 mng motif
mozilla mozsvg mp3 mpeg mplayer mpm-prefork mppe-mppc mysql nas ncurses nls nntp
noamazon nojoystick nowebdav nptl nsplugin offensive ogg oggvorbis oss pam pcre
pdflib perl php pic plotutils png python qt quicktime rar rdesktop readline real
ruby samba sdl sendfile slang snmp spell sql sqlite sse sse2 ssl stats
subversion svg svga syslog tcpd tga theora threads tiff timidity truetype
truetype-fonts type1-fonts ucs2 unicode usb vim-with-x visualization vorbis
win32codecs wma123 wmf wxgtk1 xine xinerama xml xml2 xmms xv xvid zlib
linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS

Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-10 11:45:12 UTC
Which ssh package are you using?
Comment 4 Arthur I. 2005-10-11 00:49:13 UTC
on gentoo side:
openssh-4.2_p1

on redhat side:
openssh-3.6.1p2-18

P.S: this problem exist also when i using openssh-3.x on gentoo side.
Comment 5 Patrick Kelly 2006-02-07 19:55:49 UTC
I've had the same problem recently forwarding x11 through ssh to a mac (window shows up, contentless), but this also causes my monitor to power off and ssh to (probably) crash (I can't reconnect or see anything on my screen without rebooting). So, I think its probably an X11 problem (I'm using X11R7 with composite/render/damage on), and not an ssh one.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-07-12 15:39:44 UTC
Mis-assigned stale bug.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-12-07 07:05:26 UTC
Please retest, and reopen if needed. There have been LOTS of changes since 2005.
Comment 8 Arthur I. 2008-12-07 10:53:32 UTC
solved at this moment (Dec-2008).
have no problem.