Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: EtherApe blijft onzichtbaar.  (gelezen 748 keer)

EtherApe blijft onzichtbaar.
« Gepost op: 2019/04/22, 15:56:40 »
OS: Ubuntu 18.04.2

In het blad LINUX MAGAZINE (jaargang 20 | april 2019 | blz. 60-61)  las ik een een artikel  over "Analyseer je netwerk"
Het artikel gaat o.a. over EtherApe.

Als ik dat installeer (via Ubuntu Software , of  via de command line) verloopt de installatie prima.

Maar...... bij het opstarten krijg ik niks te zien.   ???
Miscere utile dulci. (Ter leering ende vermaeck)
http://henk.oegema.com  (On RaspberryPi2)
Registered linux user 520520.  In gebruik: Ubuntu  22.04.3 Hobby's: Radio Amateur callsign: PA2HO.  Interesses: Raspberry Pi & Arduino & Jetson Nano (voor AI & ML)

nahjo

  • Gast
Re: EtherApe blijft onzichtbaar.
« Reactie #1 Gepost op: 2019/04/22, 18:28:13 »
Opstarten in de terminal geeft meer info waar het programma crasht  ;)
Die info kam je hier dan delen.

Re: EtherApe blijft onzichtbaar.
« Reactie #2 Gepost op: 2019/04/26, 17:32:34 »
henkoegema@HPHP:~$ etherape

(etherape:14358): libglade-WARNING **: 17:30:24.705: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory

(etherape:14358): libglade-WARNING **: 17:30:24.849: unknown widget class 'GnomeCanvas'

(etherape:14358): Gtk-WARNING **: 17:30:24.849: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
EtherApe-INFO: 17:30:24.865: sctp protocol not supported
EtherApe-INFO: 17:30:24.866: ddp protocol not supported
EtherApe-INFO: 17:30:24.866: ddp protocol not supported
EtherApe-INFO: 17:30:24.866: ddp protocol not supported
EtherApe-INFO: 17:30:24.866: ddp protocol not supported

(etherape:14358): GLib-GObject-WARNING **: 17:30:24.869: invalid cast from 'GtkLabel' to 'GnomeCanvas'

(etherape:14358): GnomeCanvas-CRITICAL **: 17:30:24.869: gnome_canvas_root: assertion 'GNOME_IS_CANVAS (canvas)' failed

(etherape:14358): GnomeCanvas-CRITICAL **: 17:30:24.869: gnome_canvas_item_new: assertion 'GNOME_IS_CANVAS_GROUP (parent)' failed
**
ERROR:diagram.c:250:addref_canvas_obj: assertion failed: (obj)
unexpected EOF in read_all()
critical: read_all() failed on control socket
Aborted (core dumped)
henkoegema@HPHP:~$

Miscere utile dulci. (Ter leering ende vermaeck)
http://henk.oegema.com  (On RaspberryPi2)
Registered linux user 520520.  In gebruik: Ubuntu  22.04.3 Hobby's: Radio Amateur callsign: PA2HO.  Interesses: Raspberry Pi & Arduino & Jetson Nano (voor AI & ML)

nahjo

  • Gast
Re: EtherApe blijft onzichtbaar.
« Reactie #3 Gepost op: 2019/04/26, 17:57:15 »
Hoi Henk

nou ik had dezelfde meldingen onder Xubuntu 18.04. We zullen nog iets op onze systemen moeten doen om het werkbaar te krijgen maar wat ....... lijkt iets met GNOME dingetjes.

gr. Johan


Offline jolo

  • Lid
Re: EtherApe blijft onzichtbaar.
« Reactie #4 Gepost op: 2019/04/26, 20:48:26 »
Deze foutmelding heeft te maken met deze bugmelding https://bugs.launchpad.net/ubuntu/+source/etherape/+bug/1752712
Om deze foutmelding weg te krijgen, is het nodig de vereiste afhankelijkheid te installeren
  sudo apt install libgnomeui-0 [Enter]

Dan zal deze nog niet willen starten, omdat de applicatie uitgevoerd moet worden als super user. De applicatie kan gestart worden via pkexec.

pkexec etherape [Enter]

Dat wil zeggen nadat deze workaround is uitgevoerd. Let wel deze workaround werkt niet, wanneer wayland actief is. Check of wayland actief is via commando
echo $XDG_SESSION_TYPE [Enter]

Hoofd PC januari 2018 HP Compaq Elite 8300 SFF Windows 10 & Xubuntu 18.04.3
PC 2011 Asus P8Z68-V Pro i7 2600K 8 GB RAM GT730 Xubuntu test pc
PC 2007 Asus P5B E6600 2GB RAM 8800GTS  
Notebook 2008 Lenovo ThinkPad R61i 8932GMG 2,5 GB RAM

nahjo

  • Gast
Re: EtherApe blijft onzichtbaar.
« Reactie #5 Gepost op: 2019/04/27, 16:14:57 »
Deze foutmelding heeft te maken met deze bugmelding https://bugs.launchpad.net/ubuntu/+source/etherape/+bug/1752712
Om deze foutmelding weg te krijgen, is het nodig de vereiste afhankelijkheid te installeren
  sudo apt install libgnomeui-0 [Enter]

bedankt jolo dit was inderdaad bij mij het ontbrekende stukje van de puzzel. Hopelijk heeft Henk er ook voldoende aan.

gr. Johan

Re: EtherApe blijft onzichtbaar.
« Reactie #6 Gepost op: 2019/04/27, 17:17:27 »
..................................................
.................................................
Dan zal deze nog niet willen starten, omdat de applicatie uitgevoerd moet worden als super user. De applicatie kan gestart worden via pkexec.

pkexec etherape [Enter]

henkoegema@HPHP:~$ pkexec etherape

(etherape:18587): Gtk-WARNING **: 17:06:45.430: cannot open display:
unexpected EOF in read_all()
critical: read_all() failed on control socket
henkoegema@HPHP:~$

henkoegema@HPHP:~$  echo $XDG_SESSION_TYPE
x11



Miscere utile dulci. (Ter leering ende vermaeck)
http://henk.oegema.com  (On RaspberryPi2)
Registered linux user 520520.  In gebruik: Ubuntu  22.04.3 Hobby's: Radio Amateur callsign: PA2HO.  Interesses: Raspberry Pi & Arduino & Jetson Nano (voor AI & ML)

Offline jolo

  • Lid
Re: EtherApe blijft onzichtbaar.
« Reactie #7 Gepost op: 2019/04/27, 18:20:29 »
Had je die workaround wel correct uitgevoerd? Dus had je in
gedit ~/.bash_aliases
deze onderstaande regel toegevoegd
  alias pkexec='pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY'
Gevolgd door het opslaan van het bestand, en afsluiten van de editor. En de desktop af - en aangemeld.

Die workaround is nodig omdat gksu niet meer beschikbaar is in Ubuntu 18.04.2 en ook omdat sudo in combinatie met grafische applicaties af te raden is.

Je onderste output is in orde.
Hoofd PC januari 2018 HP Compaq Elite 8300 SFF Windows 10 & Xubuntu 18.04.3
PC 2011 Asus P8Z68-V Pro i7 2600K 8 GB RAM GT730 Xubuntu test pc
PC 2007 Asus P5B E6600 2GB RAM 8800GTS  
Notebook 2008 Lenovo ThinkPad R61i 8932GMG 2,5 GB RAM

Re: EtherApe blijft onzichtbaar.
« Reactie #8 Gepost op: 2019/04/27, 19:37:30 »
Had je die workaround wel correct uitgevoerd? Dus had je in
gedit ~/.bash_aliases
deze onderstaande regel toegevoegd
  alias pkexec='pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY'
Gevolgd door het opslaan van het bestand, en afsluiten van de editor. En de desktop af - en aangemeld.

Die workaround is nodig omdat gksu niet meer beschikbaar is in Ubuntu 18.04.2 en ook omdat sudo in combinatie met grafische applicaties af te raden is.

Je onderste output is in orde.

Bedankt jolo.   ^-^

Nu werkt het (eindelijk).
Miscere utile dulci. (Ter leering ende vermaeck)
http://henk.oegema.com  (On RaspberryPi2)
Registered linux user 520520.  In gebruik: Ubuntu  22.04.3 Hobby's: Radio Amateur callsign: PA2HO.  Interesses: Raspberry Pi & Arduino & Jetson Nano (voor AI & ML)