Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I cannot open wireshark
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
beyondkmp
n00b
n00b


Joined: 14 Jan 2014
Posts: 28

PostPosted: Sat Sep 13, 2014 3:57 pm    Post subject: I cannot open wireshark Reply with quote

I run wireshark in terminal,the error is
Code:

beyond@beyond ~ $ wireshark

(wireshark:10964): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed

(wireshark:10964): Gtk-WARNING **: Error loading theme icon 'gtk-select-color' for stock: 图标加载失败

(wireshark:10964): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed

(wireshark:10964): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(wireshark:10964): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(wireshark:10964): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(wireshark:10964): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
**
Gdk:ERROR:gdkcairo.c:193:gdk_cairo_surface_paint_pixbuf: assertion failed: (cairo_image_surface_get_format (surface) == CAIRO_FORMAT_RGB24 || cairo_image_surface_get_format (surface) == CAIRO_FORMAT_ARGB32)
已放弃
beyond@beyond ~ $



my wireshark's version is
Code:

beyond@beyond ~ $ wireshark --version
wireshark 1.10.9 (Git Rev Unknown from unknown)

Copyright 1998-2014 Gerald Combs <gerald@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 3.10.8, with Cairo 1.12.16, with Pango 1.36.5, with
GLib 2.40.0, with libpcap, with libz 1.2.8, with POSIX capabilities (Linux),
with libnl 3, without SMI, without c-ares, without ADNS, without Lua, without
Python, with GnuTLS 2.12.23, with Gcrypt 1.5.4, without Kerberos, without GeoIP,
without PortAudio, without AirPcap.

Running on Linux 3.12.21-gentoo-r1, with locale zh_CN.utf8, with libpcap version
1.5.3, with libz 1.2.8, GnuTLS 2.12.23, Gcrypt 1.5.4.
       Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz

Built using gcc 4.7.3.
beyond@beyond ~ $


The version of gtk+ is 3.10.8,has anybody meet this problem? please help me
Back to top
View user's profile Send private message
fernan82
n00b
n00b


Joined: 24 Jul 2014
Posts: 70

PostPosted: Sat Sep 13, 2014 4:15 pm    Post subject: Reply with quote

Try to run it as root. For KDE:

Code:

kdesu wireshark


For GNOME:
Code:

gksu wireshark


I get similar output as yours when I run it as an user. However it does start, I just don't have access to the network interfaces.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Sat Sep 13, 2014 4:39 pm    Post subject: Reply with quote

It looks like the problem is in GTK itself. Wireshark has a fairly nice Qt4 GUI, you could try that instead.

Oh, and ignore the above advice; never run wireshark as root - it's entirely unnecessary on a properly configured system. The huge warning it gives at startup when you do that is there for good reason.
Back to top
View user's profile Send private message
beyondkmp
n00b
n00b


Joined: 14 Jan 2014
Posts: 28

PostPosted: Sun Sep 14, 2014 1:05 am    Post subject: Reply with quote

fernan82 wrote:
Try to run it as root. For KDE:

Code:

kdesu wireshark


For GNOME:
Code:

gksu wireshark


I get similar output as yours when I run it as an user. However it does start, I just don't have access to the network interfaces.


Thank you, but this cannot help me
Back to top
View user's profile Send private message
beyondkmp
n00b
n00b


Joined: 14 Jan 2014
Posts: 28

PostPosted: Sun Sep 14, 2014 6:56 am    Post subject: Reply with quote

Ant P. wrote:
It looks like the problem is in GTK itself. Wireshark has a fairly nice Qt4 GUI, you could try that instead.

Oh, and ignore the above advice; never run wireshark as root - it's entirely unnecessary on a properly configured system. The huge warning it gives at startup when you do that is there for good reason.


Thank you!! I solve it. I use compile wireshark with gtk3. But gtk3.10.8 has a bug in compliing. I update gtk3 to gtk3.12,wireshark can work well. Thank you very much!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum