ssh - Error: couldn't get an RGB, Double-buffered visual












0















I am trying to run an indirect GLX program through X11 forwarded ssh. Where the graphics are rendered on the X server side. The ssh server is running on Ubuntu 16.04 LTS (will refer to as ubuntu), and ssh client Arch Linux (will refer to as arch).



I start the Xserver on arch with xinit xfce4-session -- +iglx, and connect to ubuntu with ssh connor@server -Xp 23, I then run export LIBGL_ALWAYS_INDIRECT=1 then proceed to start glx clients. Below I tried running some glx programs:



connor@server:~$ glxinfo
name of display: localhost:10.0
Error: couldn't find RGB GLX visual or fbconfig
connor@server:~$ glxgears
Error: couldn't get an RGB, Double-buffered visual


These are the graphics devices for arch:



[connor@archlinux ~]$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)


In the SSH session the graphical devices are as follows:



connor@server:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)


Ubuntu seems to be suggessful on X connections, such as running xterm or xeyes, its sshd config contains:



X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes


I have tried to run the X server with -listen tcp also allowiing remore with xhost +. On ubuntu, instead set DISPLAY=arch:0.0. But still no success with the exact same results. Strangely, connecting through the windows port of Xorg; VcXsrv, I am able to connect with putty with what I assume to be indirect rendering, as frame-rates are reaching levels of 60fps on full 1920p display on the same hardware and connection (comparable to my previous results of 5fps at low-res).



I ask for potential solutions and help, my frustration has developed over a week after trying everything I can think of with the same results. My last resort is installing Arch linux on the Ubuntu server, as it may be some comparability issue of sorts.










share|improve this question



























    0















    I am trying to run an indirect GLX program through X11 forwarded ssh. Where the graphics are rendered on the X server side. The ssh server is running on Ubuntu 16.04 LTS (will refer to as ubuntu), and ssh client Arch Linux (will refer to as arch).



    I start the Xserver on arch with xinit xfce4-session -- +iglx, and connect to ubuntu with ssh connor@server -Xp 23, I then run export LIBGL_ALWAYS_INDIRECT=1 then proceed to start glx clients. Below I tried running some glx programs:



    connor@server:~$ glxinfo
    name of display: localhost:10.0
    Error: couldn't find RGB GLX visual or fbconfig
    connor@server:~$ glxgears
    Error: couldn't get an RGB, Double-buffered visual


    These are the graphics devices for arch:



    [connor@archlinux ~]$ lspci | grep VGA
    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
    01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)


    In the SSH session the graphical devices are as follows:



    connor@server:~$ lspci | grep VGA
    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)


    Ubuntu seems to be suggessful on X connections, such as running xterm or xeyes, its sshd config contains:



    X11Forwarding yes
    X11DisplayOffset 10
    X11UseLocalhost yes


    I have tried to run the X server with -listen tcp also allowiing remore with xhost +. On ubuntu, instead set DISPLAY=arch:0.0. But still no success with the exact same results. Strangely, connecting through the windows port of Xorg; VcXsrv, I am able to connect with putty with what I assume to be indirect rendering, as frame-rates are reaching levels of 60fps on full 1920p display on the same hardware and connection (comparable to my previous results of 5fps at low-res).



    I ask for potential solutions and help, my frustration has developed over a week after trying everything I can think of with the same results. My last resort is installing Arch linux on the Ubuntu server, as it may be some comparability issue of sorts.










    share|improve this question

























      0












      0








      0








      I am trying to run an indirect GLX program through X11 forwarded ssh. Where the graphics are rendered on the X server side. The ssh server is running on Ubuntu 16.04 LTS (will refer to as ubuntu), and ssh client Arch Linux (will refer to as arch).



      I start the Xserver on arch with xinit xfce4-session -- +iglx, and connect to ubuntu with ssh connor@server -Xp 23, I then run export LIBGL_ALWAYS_INDIRECT=1 then proceed to start glx clients. Below I tried running some glx programs:



      connor@server:~$ glxinfo
      name of display: localhost:10.0
      Error: couldn't find RGB GLX visual or fbconfig
      connor@server:~$ glxgears
      Error: couldn't get an RGB, Double-buffered visual


      These are the graphics devices for arch:



      [connor@archlinux ~]$ lspci | grep VGA
      00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
      01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)


      In the SSH session the graphical devices are as follows:



      connor@server:~$ lspci | grep VGA
      00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)


      Ubuntu seems to be suggessful on X connections, such as running xterm or xeyes, its sshd config contains:



      X11Forwarding yes
      X11DisplayOffset 10
      X11UseLocalhost yes


      I have tried to run the X server with -listen tcp also allowiing remore with xhost +. On ubuntu, instead set DISPLAY=arch:0.0. But still no success with the exact same results. Strangely, connecting through the windows port of Xorg; VcXsrv, I am able to connect with putty with what I assume to be indirect rendering, as frame-rates are reaching levels of 60fps on full 1920p display on the same hardware and connection (comparable to my previous results of 5fps at low-res).



      I ask for potential solutions and help, my frustration has developed over a week after trying everything I can think of with the same results. My last resort is installing Arch linux on the Ubuntu server, as it may be some comparability issue of sorts.










      share|improve this question














      I am trying to run an indirect GLX program through X11 forwarded ssh. Where the graphics are rendered on the X server side. The ssh server is running on Ubuntu 16.04 LTS (will refer to as ubuntu), and ssh client Arch Linux (will refer to as arch).



      I start the Xserver on arch with xinit xfce4-session -- +iglx, and connect to ubuntu with ssh connor@server -Xp 23, I then run export LIBGL_ALWAYS_INDIRECT=1 then proceed to start glx clients. Below I tried running some glx programs:



      connor@server:~$ glxinfo
      name of display: localhost:10.0
      Error: couldn't find RGB GLX visual or fbconfig
      connor@server:~$ glxgears
      Error: couldn't get an RGB, Double-buffered visual


      These are the graphics devices for arch:



      [connor@archlinux ~]$ lspci | grep VGA
      00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
      01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)


      In the SSH session the graphical devices are as follows:



      connor@server:~$ lspci | grep VGA
      00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)


      Ubuntu seems to be suggessful on X connections, such as running xterm or xeyes, its sshd config contains:



      X11Forwarding yes
      X11DisplayOffset 10
      X11UseLocalhost yes


      I have tried to run the X server with -listen tcp also allowiing remore with xhost +. On ubuntu, instead set DISPLAY=arch:0.0. But still no success with the exact same results. Strangely, connecting through the windows port of Xorg; VcXsrv, I am able to connect with putty with what I assume to be indirect rendering, as frame-rates are reaching levels of 60fps on full 1920p display on the same hardware and connection (comparable to my previous results of 5fps at low-res).



      I ask for potential solutions and help, my frustration has developed over a week after trying everything I can think of with the same results. My last resort is installing Arch linux on the Ubuntu server, as it may be some comparability issue of sorts.







      linux ssh xorg xforwarding






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 26 at 4:08









      Arcane BlackwoodArcane Blackwood

      35




      35






















          0






          active

          oldest

          votes












          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%2f1409421%2fssh-error-couldnt-get-an-rgb-double-buffered-visual%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1409421%2fssh-error-couldnt-get-an-rgb-double-buffered-visual%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

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix