How to X11 forwarding through ssh in 15.10Can 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'

Why does a 97 / 92 key piano exist by Bosendorfer?

Magnifying glass in hyperbolic space

Are all namekians brothers?

Why do Radio Buttons not fill the entire outer circle?

What do the positive and negative (+/-) transmit and receive pins mean on Ethernet cables?

Started in 1987 vs. Starting in 1987

Writing in a Christian voice

Can a Knock spell open the door to Mordenkainen's Magnificent Mansion?

Can you describe someone as luxurious? As in someone who likes luxurious things?

Derivative of an interpolated function

Pre-Employment Background Check With Consent For Future Checks

Air travel with refrigerated insulin

Make a Bowl of Alphabet Soup

How would a solely written language work mechanically

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

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

Hashing password to increase entropy

How do I lift the insulation blower into the attic?

Why can't I get pgrep output right to variable on bash script?

Asserting that Atheism and Theism are both faith based positions

Is there a distance limit for minecart tracks?

Would this string work as string?

"Marked down as someone wanting to sell shares." What does that mean?

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?



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 16 mins 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 16 mins 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 16 mins 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 16 mins 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

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»