Nmap Development mailing list archives

Please Help me to resolve this GTK error.


From: "Saravanan" <saravanan_kovai () HotPop com>
Date: Wed, 4 Feb 2004 09:59:21 +0530

Hello all,

I got the GTK connection error while running NMAPFE in HP-UX 11.11 PA RISC & 11.22 IPF machine.

# gdb ./nmapfe localhost


(gdb) b main
Breakpoint 1 (deferred) at "main" ("main" was not found).
Breakpoint deferred until a shared library containing "main" is loaded.
(gdb) info b
Num Type           Disp Enb Address    What
1   breakpoint     keep n   (deferred) in main
(gdb) n
The program is not being run.
(gdb) r
Starting program: /opt/iexpress/nmap/bin/./xnmap
warning: Unable to find _DLD_HOOK symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New process 26028]
warning: reading `r3' register: No data
Detaching after fork from process 26028
Pid of the forked process ################ 0
Pid of the forked process ################ 26028
Xlib: unexpected async reply (sequence 0x449)!
Gdk-ERROR **: X connection to 172.16.1.28:1.0 broken (explicit kill or
server shutdown).

Program exited with code 01.
warning: Temporarily disabling shared library breakpoints:
warning: breakpoint #1
(gdb)







Hai,

Thanks for ur immediate reply. Here I can't trace where my exact problem.

When i issue the command,

#nmap < IP Addr >
It works fine. Can see some port scanned output.

#nmapfe < IP Addr >
GUI window Nmap Front End 3.48 is appeared and waits for Target
specification by user. Here Target is default by Localhost...
so i din't change anything in GUI window & tried to press the scan button
available in the same window. Then GUI window is closed & control returned
back to 3 prompt and the following error is returned.

# ./nmapfe 172.16.1.33
--------> GUI Nmap front end is appeared ----> scan with default
Target ---> Error & returned back to Root prompt.

Gdk-ERROR **: X connection to 172.16.1.28:1.0 broken (explicit kill or
server shutdown).
#

I think the problem is not a XTERM problem. If it is a problem, how a GUI
window appears and waits for Target specification by user. So please let me
know what is the exact problem and how to solve this.

Thanks
Saravanan


nmapfe won't run with the following error:
# ./nmapfe 172.16.1.33
Gdk-ERROR **: X connection to 172.16.1.28:1.0 broken (explicit kill
or server shutdown).
#


Maybe it is an X Windows setup issue. Can you run an xterm from that
same root prompt?

Cheers,
-F



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004

Current thread: