Find the answer to your Linux question:
Results 1 to 5 of 5
I'm trying to install Wireshark but getting an error GTK-Warning **:cannot open display.. Does anyone has instructions on how to install wireshark.. Thanks you in advance, Rad...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6

    Wireshark


    I'm trying to install Wireshark but getting an error GTK-Warning **:cannot open display.. Does anyone has instructions on how to install wireshark..

    Thanks you in advance,
    Rad

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    What command(s) are you using to install it?


    I'm pretty sure you can install wireshark with apt:

    Code:
    apt-get install wireshark
    Don't forget that you need to su to root to install packages unless you use sudo, then it's this:

    Code:
    sudo apt-get install wireshark
    oz

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    oz, yes i used the :sudo apt-get install wireshark

    but can't get it to run.. I get this error GTK-Warning **:cannot open display

    thanks

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    I don't run wireshark myself so can't help much with it, but have you checked their user guide to see if it might offer any clues?

    Wireshark User's Guide

    Hopefully a wireshark user will chime in with more info.
    oz

  5. #5
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Try installing gksu and run it as so
    Code:
    gksu wireshark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •