My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

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.

Environment

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)

Situation

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.

Resolution

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)!

On SLES/SLED 11:

For a global change, edit as root:

/usr/share/applications/wireshark.desktop

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

X-KDE-SubstituteUID=true

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

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

$USER/.local/share/applications/

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

SLES/SLED12:

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.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/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-15
  • Modified Date:15-JUN-15
    • SUSESUSE Linux Enterprise Desktop
      SUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

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