For running root access GUI apps under user login desktop, you can do this at fedora, and other red hat based distro.
sudo gnome-terminal
This will not run correctly at ubuntu or debian based distro, you need to do this in ubuntu
gksudo gnome-terminal
As you can realized that such apps like wireshark needs root privilage but running sudo wireshark doesn’t seems to be working. Instead, you can run directly and it will ask for root password, this is done by consolehelper, you can check with this command
ls -l `which wireshark`
But I have no idea how consolehelper helps to achive this.