How to X11 forwarding through ssh in 15.10Can I access Ubuntu desktop from PuTTY?SSH X11-Forwarding...

Is divisi notation needed for brass or woodwind in an orchestra?

How to preserve electronics (computers, ipads, phones) for hundreds of years?

Reason why a kingside attack is not justified

Showing mass murder in a kid's book

I keep switching characters, how do I stop?

Should I warn a new PhD Student?

Is there a distance limit for minecart tracks?

Highest stage count that are used one right after the other?

Should a narrator ever describe things based on a character's view instead of facts?

Hashing password to increase entropy

What is the meaning of "You've never met a graph you didn't like?"

"Oh no!" in Latin

Do people actually use the word "kaputt" in conversation?

How do you say "Trust your struggle." in French?

Would this string work as string?

What is it called when someone votes for an option that's not their first choice?

Relations between homogeneous polynomials

Has the laser at Magurele, Romania reached a tenth of the Sun's power?

Magnifying glass in hyperbolic space

Taking the numerator and the denominator

Center page as a whole without centering each element individually

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Why is participating in the European Parliamentary elections used as a threat?

Would a primitive species be able to learn English from reading books alone?



How to X11 forwarding through ssh in 15.10


Can I access Ubuntu desktop from PuTTY?SSH X11-Forwarding gnome-session/lightdm-sessionGUI application on (from ?) a server without X11Cannot use gedit on multiple remote machines using sshX11 forwarding in SSHEclipse over X11 forwarding is not showing all icons/assetsCan't Forward X11 from ubuntu 14.04ssh X forwarding doesn't workgnome-terminal not working over X11 (Ubuntu 14.04)What are good coding editors that can run without a GPU?X11Forwarding and reach to directory through 'file://$HOME'













1















Since I am on Ubuntu, I'll try to have X11 forwarding through ssh on a remote desktop. But unfortunately it does not work.
Before I do this :



ssh -X username@hostname


and then for example :



gedit


But now under Ubuntu 15.10 It does not work and I have this message :



$ gedit Failed to connect to **Mir**: Failed to connect to server socket: No files or folders of this type Unable to init server: Unable to connect: Connection refused

(gedit:2492): Gtk-WARNING **: cannot open display:


So my question is how to have X11 forwarding through ssh ?










share|improve this question
















bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1















    Since I am on Ubuntu, I'll try to have X11 forwarding through ssh on a remote desktop. But unfortunately it does not work.
    Before I do this :



    ssh -X username@hostname


    and then for example :



    gedit


    But now under Ubuntu 15.10 It does not work and I have this message :



    $ gedit Failed to connect to **Mir**: Failed to connect to server socket: No files or folders of this type Unable to init server: Unable to connect: Connection refused

    (gedit:2492): Gtk-WARNING **: cannot open display:


    So my question is how to have X11 forwarding through ssh ?










    share|improve this question
















    bumped to the homepage by Community 1 min ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      Since I am on Ubuntu, I'll try to have X11 forwarding through ssh on a remote desktop. But unfortunately it does not work.
      Before I do this :



      ssh -X username@hostname


      and then for example :



      gedit


      But now under Ubuntu 15.10 It does not work and I have this message :



      $ gedit Failed to connect to **Mir**: Failed to connect to server socket: No files or folders of this type Unable to init server: Unable to connect: Connection refused

      (gedit:2492): Gtk-WARNING **: cannot open display:


      So my question is how to have X11 forwarding through ssh ?










      share|improve this question
















      Since I am on Ubuntu, I'll try to have X11 forwarding through ssh on a remote desktop. But unfortunately it does not work.
      Before I do this :



      ssh -X username@hostname


      and then for example :



      gedit


      But now under Ubuntu 15.10 It does not work and I have this message :



      $ gedit Failed to connect to **Mir**: Failed to connect to server socket: No files or folders of this type Unable to init server: Unable to connect: Connection refused

      (gedit:2492): Gtk-WARNING **: cannot open display:


      So my question is how to have X11 forwarding through ssh ?







      15.10 x11-forwarding






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 18 '15 at 21:32









      RPiAwesomeness

      6,546196197




      6,546196197










      asked Nov 18 '15 at 21:27









      Sylvain POULAINSylvain POULAIN

      612




      612





      bumped to the homepage by Community 1 min ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 1 min ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          You need to enable X-Forwarding in the SSH server configuration, in
          /etc/ssh/sshd_config



          It should look like:



          X11Forwarding Yes


          Uncomment any comments before this line.



          After restarting the SSH Server everything should works fine.






          share|improve this answer
























          • I have already configure my /etc/ssh/sshd_config but it does not work. I still ahve the same error with Mir. I use X11 forwarding for a while but under 15.04 and 15.10 it does not work

            – Sylvain POULAIN
            Nov 19 '15 at 7:13











          • In fact it's a bug : bugs.launchpad.net/ubuntu/+bug/1463263

            – Sylvain POULAIN
            Nov 19 '15 at 7:26











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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%2faskubuntu.com%2fquestions%2f699789%2fhow-to-x11-forwarding-through-ssh-in-15-10%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 need to enable X-Forwarding in the SSH server configuration, in
          /etc/ssh/sshd_config



          It should look like:



          X11Forwarding Yes


          Uncomment any comments before this line.



          After restarting the SSH Server everything should works fine.






          share|improve this answer
























          • I have already configure my /etc/ssh/sshd_config but it does not work. I still ahve the same error with Mir. I use X11 forwarding for a while but under 15.04 and 15.10 it does not work

            – Sylvain POULAIN
            Nov 19 '15 at 7:13











          • In fact it's a bug : bugs.launchpad.net/ubuntu/+bug/1463263

            – Sylvain POULAIN
            Nov 19 '15 at 7:26
















          0














          You need to enable X-Forwarding in the SSH server configuration, in
          /etc/ssh/sshd_config



          It should look like:



          X11Forwarding Yes


          Uncomment any comments before this line.



          After restarting the SSH Server everything should works fine.






          share|improve this answer
























          • I have already configure my /etc/ssh/sshd_config but it does not work. I still ahve the same error with Mir. I use X11 forwarding for a while but under 15.04 and 15.10 it does not work

            – Sylvain POULAIN
            Nov 19 '15 at 7:13











          • In fact it's a bug : bugs.launchpad.net/ubuntu/+bug/1463263

            – Sylvain POULAIN
            Nov 19 '15 at 7:26














          0












          0








          0







          You need to enable X-Forwarding in the SSH server configuration, in
          /etc/ssh/sshd_config



          It should look like:



          X11Forwarding Yes


          Uncomment any comments before this line.



          After restarting the SSH Server everything should works fine.






          share|improve this answer













          You need to enable X-Forwarding in the SSH server configuration, in
          /etc/ssh/sshd_config



          It should look like:



          X11Forwarding Yes


          Uncomment any comments before this line.



          After restarting the SSH Server everything should works fine.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 18 '15 at 22:21









          ForJ9ForJ9

          14038




          14038













          • I have already configure my /etc/ssh/sshd_config but it does not work. I still ahve the same error with Mir. I use X11 forwarding for a while but under 15.04 and 15.10 it does not work

            – Sylvain POULAIN
            Nov 19 '15 at 7:13











          • In fact it's a bug : bugs.launchpad.net/ubuntu/+bug/1463263

            – Sylvain POULAIN
            Nov 19 '15 at 7:26



















          • I have already configure my /etc/ssh/sshd_config but it does not work. I still ahve the same error with Mir. I use X11 forwarding for a while but under 15.04 and 15.10 it does not work

            – Sylvain POULAIN
            Nov 19 '15 at 7:13











          • In fact it's a bug : bugs.launchpad.net/ubuntu/+bug/1463263

            – Sylvain POULAIN
            Nov 19 '15 at 7:26

















          I have already configure my /etc/ssh/sshd_config but it does not work. I still ahve the same error with Mir. I use X11 forwarding for a while but under 15.04 and 15.10 it does not work

          – Sylvain POULAIN
          Nov 19 '15 at 7:13





          I have already configure my /etc/ssh/sshd_config but it does not work. I still ahve the same error with Mir. I use X11 forwarding for a while but under 15.04 and 15.10 it does not work

          – Sylvain POULAIN
          Nov 19 '15 at 7:13













          In fact it's a bug : bugs.launchpad.net/ubuntu/+bug/1463263

          – Sylvain POULAIN
          Nov 19 '15 at 7:26





          In fact it's a bug : bugs.launchpad.net/ubuntu/+bug/1463263

          – Sylvain POULAIN
          Nov 19 '15 at 7:26


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f699789%2fhow-to-x11-forwarding-through-ssh-in-15-10%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...