wireshark - failed to get the current screen resources












2















I am using ssh with(-X) ssh -X 192.168.1.128 to connect the ubuntu server (16.04.1 LTS), when I try use wireshark with this command: controller@controller:~$ wireshark.



It return next error:



failed to get the current screen resources
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 2 (No such file or directory) on X server "localhost:10.0"
after 349 requests (349 known processed) with 0 events remaining.
controller@controller:~$


Can yo help me to solve this problem?



Thanks for you attention,
Carlos Silva



To install wireshark I use next commands:



sudo apt-get install -y software-properties-common python-software-properties
sudo add-apt-repository ppa:pi-rho/security
sudo apt-get update
sudo apt-get install wireshark









share|improve this question























  • I have exactly the same issue with wireshark 2.2.6+g32dac6a-2ubuntu0.16.04 over remote desktop (x2go)

    – Eiver
    Jun 20 '17 at 21:37
















2















I am using ssh with(-X) ssh -X 192.168.1.128 to connect the ubuntu server (16.04.1 LTS), when I try use wireshark with this command: controller@controller:~$ wireshark.



It return next error:



failed to get the current screen resources
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 2 (No such file or directory) on X server "localhost:10.0"
after 349 requests (349 known processed) with 0 events remaining.
controller@controller:~$


Can yo help me to solve this problem?



Thanks for you attention,
Carlos Silva



To install wireshark I use next commands:



sudo apt-get install -y software-properties-common python-software-properties
sudo add-apt-repository ppa:pi-rho/security
sudo apt-get update
sudo apt-get install wireshark









share|improve this question























  • I have exactly the same issue with wireshark 2.2.6+g32dac6a-2ubuntu0.16.04 over remote desktop (x2go)

    – Eiver
    Jun 20 '17 at 21:37














2












2








2


1






I am using ssh with(-X) ssh -X 192.168.1.128 to connect the ubuntu server (16.04.1 LTS), when I try use wireshark with this command: controller@controller:~$ wireshark.



It return next error:



failed to get the current screen resources
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 2 (No such file or directory) on X server "localhost:10.0"
after 349 requests (349 known processed) with 0 events remaining.
controller@controller:~$


Can yo help me to solve this problem?



Thanks for you attention,
Carlos Silva



To install wireshark I use next commands:



sudo apt-get install -y software-properties-common python-software-properties
sudo add-apt-repository ppa:pi-rho/security
sudo apt-get update
sudo apt-get install wireshark









share|improve this question














I am using ssh with(-X) ssh -X 192.168.1.128 to connect the ubuntu server (16.04.1 LTS), when I try use wireshark with this command: controller@controller:~$ wireshark.



It return next error:



failed to get the current screen resources
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 2 (No such file or directory) on X server "localhost:10.0"
after 349 requests (349 known processed) with 0 events remaining.
controller@controller:~$


Can yo help me to solve this problem?



Thanks for you attention,
Carlos Silva



To install wireshark I use next commands:



sudo apt-get install -y software-properties-common python-software-properties
sudo add-apt-repository ppa:pi-rho/security
sudo apt-get update
sudo apt-get install wireshark






ubuntu xorg wireshark






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 16 '17 at 0:02









user707965user707965

1113




1113













  • I have exactly the same issue with wireshark 2.2.6+g32dac6a-2ubuntu0.16.04 over remote desktop (x2go)

    – Eiver
    Jun 20 '17 at 21:37



















  • I have exactly the same issue with wireshark 2.2.6+g32dac6a-2ubuntu0.16.04 over remote desktop (x2go)

    – Eiver
    Jun 20 '17 at 21:37

















I have exactly the same issue with wireshark 2.2.6+g32dac6a-2ubuntu0.16.04 over remote desktop (x2go)

– Eiver
Jun 20 '17 at 21:37





I have exactly the same issue with wireshark 2.2.6+g32dac6a-2ubuntu0.16.04 over remote desktop (x2go)

– Eiver
Jun 20 '17 at 21:37










1 Answer
1






active

oldest

votes


















0














You could install wireshark-gtk and use it instead of wireshark:



ubuntu@mrouter02:~$ sudo apt install wireshark-gtk
...
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Setting up wireshark-gtk (2.2.6+g32dac6a-2ubuntu0.16.04)
...

ubuntu@mrouter02:~$ wireshark /tmp/dbus.pcap

failed to get the current screen resources
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 2 (No such file or directory) on X server "localhost:11.0"
after 349 requests (349 known processed) with 0 events remaining.

ubuntu@mrouter02:~$ wireshark-gtk /tmp/dbus.pcap

** (wireshark-gtk:8621): WARNING **: Couldn't register with accessibility
bus: Did not receive a reply. Possible causes include: the remote application did not send a reply,
the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

ubuntu@mrouter02:~$


Warnings are not affecting wireshark-gtk usability.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1189139%2fwireshark-failed-to-get-the-current-screen-resources%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You could install wireshark-gtk and use it instead of wireshark:



    ubuntu@mrouter02:~$ sudo apt install wireshark-gtk
    ...
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Setting up wireshark-gtk (2.2.6+g32dac6a-2ubuntu0.16.04)
    ...

    ubuntu@mrouter02:~$ wireshark /tmp/dbus.pcap

    failed to get the current screen resources
    The X11 connection broke: I/O error (code 1)
    XIO: fatal IO error 2 (No such file or directory) on X server "localhost:11.0"
    after 349 requests (349 known processed) with 0 events remaining.

    ubuntu@mrouter02:~$ wireshark-gtk /tmp/dbus.pcap

    ** (wireshark-gtk:8621): WARNING **: Couldn't register with accessibility
    bus: Did not receive a reply. Possible causes include: the remote application did not send a reply,
    the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

    ubuntu@mrouter02:~$


    Warnings are not affecting wireshark-gtk usability.






    share|improve this answer




























      0














      You could install wireshark-gtk and use it instead of wireshark:



      ubuntu@mrouter02:~$ sudo apt install wireshark-gtk
      ...
      0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      Setting up wireshark-gtk (2.2.6+g32dac6a-2ubuntu0.16.04)
      ...

      ubuntu@mrouter02:~$ wireshark /tmp/dbus.pcap

      failed to get the current screen resources
      The X11 connection broke: I/O error (code 1)
      XIO: fatal IO error 2 (No such file or directory) on X server "localhost:11.0"
      after 349 requests (349 known processed) with 0 events remaining.

      ubuntu@mrouter02:~$ wireshark-gtk /tmp/dbus.pcap

      ** (wireshark-gtk:8621): WARNING **: Couldn't register with accessibility
      bus: Did not receive a reply. Possible causes include: the remote application did not send a reply,
      the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

      ubuntu@mrouter02:~$


      Warnings are not affecting wireshark-gtk usability.






      share|improve this answer


























        0












        0








        0







        You could install wireshark-gtk and use it instead of wireshark:



        ubuntu@mrouter02:~$ sudo apt install wireshark-gtk
        ...
        0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
        Setting up wireshark-gtk (2.2.6+g32dac6a-2ubuntu0.16.04)
        ...

        ubuntu@mrouter02:~$ wireshark /tmp/dbus.pcap

        failed to get the current screen resources
        The X11 connection broke: I/O error (code 1)
        XIO: fatal IO error 2 (No such file or directory) on X server "localhost:11.0"
        after 349 requests (349 known processed) with 0 events remaining.

        ubuntu@mrouter02:~$ wireshark-gtk /tmp/dbus.pcap

        ** (wireshark-gtk:8621): WARNING **: Couldn't register with accessibility
        bus: Did not receive a reply. Possible causes include: the remote application did not send a reply,
        the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

        ubuntu@mrouter02:~$


        Warnings are not affecting wireshark-gtk usability.






        share|improve this answer













        You could install wireshark-gtk and use it instead of wireshark:



        ubuntu@mrouter02:~$ sudo apt install wireshark-gtk
        ...
        0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
        Setting up wireshark-gtk (2.2.6+g32dac6a-2ubuntu0.16.04)
        ...

        ubuntu@mrouter02:~$ wireshark /tmp/dbus.pcap

        failed to get the current screen resources
        The X11 connection broke: I/O error (code 1)
        XIO: fatal IO error 2 (No such file or directory) on X server "localhost:11.0"
        after 349 requests (349 known processed) with 0 events remaining.

        ubuntu@mrouter02:~$ wireshark-gtk /tmp/dbus.pcap

        ** (wireshark-gtk:8621): WARNING **: Couldn't register with accessibility
        bus: Did not receive a reply. Possible causes include: the remote application did not send a reply,
        the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

        ubuntu@mrouter02:~$


        Warnings are not affecting wireshark-gtk usability.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 16 '17 at 14:02









        kenga13kenga13

        13




        13






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1189139%2fwireshark-failed-to-get-the-current-screen-resources%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Сан-Квентин

            8-я гвардейская общевойсковая армия

            Алькесар