Unable to run wireshark as root on libertine
-
Hello,
So i am new in Ubuntu touch, and also libertine.
I just installed wireshark, but unfortunately I must run it as root.
When i try to run root via terminal ( exec -i xenial -c wireshark ) it said Gtk warning, so I cant launch it since I run it via terminal.
When i try to run via desktop shortcut, its running in normal mode
Also when I tried to follow guide online on the internet about how to run wireshark without root, its ended with making usergroup, and I cant even find what username used in Libertine /etc/passwd ( I guess Libertine doesn't have any user account ? )
I so confused about how to run wireshark with root on libertine. -
Hi,
This has already been mentioned in several topics
@pulsar33 said in Gently setup a Libertine container and some applications:Wireshark (NPA) is a special case. When installing from the GUI, the process asks a question and you can't answer it, unfortunately. So the installation process never ends. And if you try to install it otherwise, you can't create the Wireshark group that is required for it to work. it's really a shame.
@fakeshell said in Libertine tested apps, hacks, tips and tricks:
wireshark (can open already existing captured packets file but cannot capture packets on interfaces because libertine is running in an unprivileged container)
currently only the gtk3 version of wireshark work: cd /usr/share/applications && mv wireshark-gtk.desktop wireshark.desktopHere is what seems to be a definitive answer from @dobey
Best regards
Pulsar33 -
I don't know what you hope to do with WireShark but while waiting for a possible solution, netstat works under Libertine and can display the accesses in real time. Here is an example of netstat trace wrapped in a Gtk3 GUI that I coded.
BR
Pulsar33 -
@danayaal said in Unable to run wireshark as root on libertine:
I so confused about how to run wireshark with root on libertine.
You cannot run anything as root in libertine, as it is an unprivileged container.