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 12
SUSE Linux Enterprise Desktop 11 Service Pack 3 (SLED 11 SP3)
Situation
If that is not desired, users have to start wireshark from a terminal.
Resolution
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 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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com