How to start Wireshark not as root user on SLES

  • 7016607
  • 15-Jun-2015
  • 15-Jun-2015


SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 11 Service Pack 3 (SLED 11 SP3)


Starting wireshark via Gnome or KDE startmenu always asks for the root password.
If that is not desired, users have to start wireshark from a terminal.


There's are more elegant way to do that and afterwards wireshark will start only with user rights. To obtain a live capture it needs to be started from a superuser terminal then (can't have both)!


For a global change, edit as root:


and either remove the whole line, or add a "#" at beginning of the line:


That change will be undone with each wireshark update, though.

To do this permanently for a user, copy the above  wireshark.desktop file to:


and proceed as above. Then make sure the user logs off and on again.


Same configuration file, only the necessary changes differ. Edit   /usr/share/applications/wireshark.desktop and search for:

Exec=/usr/bin/xdg-su -c /usr/bin/wireshark %f

Change the line to:

Exec=/usr/bin/wireshark %f

Save the file and log off and on again.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.