Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81079 - nessus fails with BadWindow when run over ssh -X host
Summary: nessus fails with BadWindow when run over ssh -X host
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-07 01:11 UTC by rajesh
Modified: 2005-02-19 15:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rajesh 2005-02-07 01:11:58 UTC
When nessus is run over a ssh -X session, it fails with the following error. Running it over a ssh -Y host session does not cause this error. It may just be a documentation issue. 

rajesh@g1 ~ $nessus  
The program 'nessus' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 1363 error_code 3 request_code 38 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Versions
nessus (Nessus) 2.0.12 for Linux
OpenSSH_3.9p1, OpenSSL 0.9.7d 17 Mar 2004


Reproducible: Always
Steps to Reproduce:
1. Open ssh session ssh -X host
2. Run nessus
3. Crash occurs

Actual Results:  
nessus terminates with the above error.

Expected Results:  
It should have continued the nessus session

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 29 2005, 07:59:20)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://open-systems.ufl.edu/mirrors/gentoo ftp://194.117.143.71/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apache2 avi bash-completion berkdb bitmap-fonts crypt cups curl dga
dvd encode ethereal evo exif f77 faad fam fastcgi flac flash font-server
foomaticdb fortran freetds ftp gdbm gif gphoto2 gpm gstreamer hardened
hardenedphp imagemagick imap imlib ipv6 java jikes jpeg kde kdexdeltas kerberos
ldap libg++ libwww mad maildir mailwrapper matroska mbox memlimit mikmod mime
ming mmap mod_php motif mozilla mpeg mysql mysqli nas ncurses nls nocd nptl ogg
oggvorbis opengl pam pdflib perl php png python qt quicktime readline samba sdl
soap sockets spell ssl svg svga symlink tcpd threads tidy tiff truetype
truetype-fonts type1-fonts vhosts wxwindows xine xml2 xmms xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Marco Morales 2005-02-07 10:54:56 UTC
Maybe this link will help you:
http://www.openssh.com/faq.html#3.13
Comment 2 Marco Morales 2005-02-15 03:05:07 UTC
Did the link help you?
Comment 3 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-02-19 12:25:10 UTC
I had the same issue running nessus and it was quickly resolved by following the described steps. If you are using Cygwin, please make note that you must run ssh-host-config before you start mucking with ssh settings 
Comment 4 Daniel Black (RETIRED) gentoo-dev 2005-02-19 15:57:48 UTC
thanks Marco and Omkhar