How to start Wireshark not as root user on SLES

This document (7016607) is provided subject to the disclaimer at the end of this document.


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.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7016607
  • Creation Date: 15-Jun-2015
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center