Minix machine: cannot sudo wireshark

Minix machine: cannot sudo wireshark

par Tom Louis Demont,
Number of replies: 2

Hello,

For the lab1, I'd like to launch wireshark on the host machine of the VM. This one is the Minix machine borrowed to the lab. However by just launching wireshark I can't see all the interfaces of the machine.

Therefore I tried to use

sudo wireshark
but got
Sorry, user iew is not allowed to execute '/usr/bin/wireshark' as root on iew.iew.epfl.ch

 
Still motivated I tried the bad practice of
su -; chmod 777 /usr/bin/wireshark
for testing but still got the same error

Finally, even

su -; wireshark
didn't work and gave me
qt.qpa.screen: QXcbConnection: could not connect to display. Could not connect to any X display.

Do you have any idea?

Thanks

In reply to Tom Louis Demont

Re: Minix machine: cannot sudo wireshark

par Marc Fabien Egli,

Hello Tom,

The pdf of lab1 contains, on page 2, instructions on how to launch wireshark without sudo on Minix.

I'd suggest you have a look at that.

Marc