gnome-session doesn't start on remote X server












1














I'm reposting Gnome Session Doesn't Start on Remote X Server, here, because I believe it's a Gnome question, not just an Ubuntu one.



I have an Ubuntu host, which I reach via ssh -Y. The client is my macOS laptop, running XQuartz. I can do xclock or other X apps from the host and see them on my laptop. What I cannot run is gnome-session, which, as far as I understand, should be the whole thing that comes up when I login to the machine from the local console. DISPLAY is correctly set, but seems to be ignored.



Passing --display="$DISPLAY" to gnome-session yields:



** (gnome-session-binary:5943): WARNING **: Unknown option --display=localhost:10.0


Indeed, my manpage for gnome-session doesn't mention --display, while manpages around Internet do. So, I guess, it was removed at some point, do I still have a way to do it?



I've also discovered that other gnome applications (e.g., gnome-software) have a --display option, but they ignore it and the application runs on the console desktop, rather than on my laptop.










share|improve this question





























    1














    I'm reposting Gnome Session Doesn't Start on Remote X Server, here, because I believe it's a Gnome question, not just an Ubuntu one.



    I have an Ubuntu host, which I reach via ssh -Y. The client is my macOS laptop, running XQuartz. I can do xclock or other X apps from the host and see them on my laptop. What I cannot run is gnome-session, which, as far as I understand, should be the whole thing that comes up when I login to the machine from the local console. DISPLAY is correctly set, but seems to be ignored.



    Passing --display="$DISPLAY" to gnome-session yields:



    ** (gnome-session-binary:5943): WARNING **: Unknown option --display=localhost:10.0


    Indeed, my manpage for gnome-session doesn't mention --display, while manpages around Internet do. So, I guess, it was removed at some point, do I still have a way to do it?



    I've also discovered that other gnome applications (e.g., gnome-software) have a --display option, but they ignore it and the application runs on the console desktop, rather than on my laptop.










    share|improve this question



























      1












      1








      1







      I'm reposting Gnome Session Doesn't Start on Remote X Server, here, because I believe it's a Gnome question, not just an Ubuntu one.



      I have an Ubuntu host, which I reach via ssh -Y. The client is my macOS laptop, running XQuartz. I can do xclock or other X apps from the host and see them on my laptop. What I cannot run is gnome-session, which, as far as I understand, should be the whole thing that comes up when I login to the machine from the local console. DISPLAY is correctly set, but seems to be ignored.



      Passing --display="$DISPLAY" to gnome-session yields:



      ** (gnome-session-binary:5943): WARNING **: Unknown option --display=localhost:10.0


      Indeed, my manpage for gnome-session doesn't mention --display, while manpages around Internet do. So, I guess, it was removed at some point, do I still have a way to do it?



      I've also discovered that other gnome applications (e.g., gnome-software) have a --display option, but they ignore it and the application runs on the console desktop, rather than on my laptop.










      share|improve this question















      I'm reposting Gnome Session Doesn't Start on Remote X Server, here, because I believe it's a Gnome question, not just an Ubuntu one.



      I have an Ubuntu host, which I reach via ssh -Y. The client is my macOS laptop, running XQuartz. I can do xclock or other X apps from the host and see them on my laptop. What I cannot run is gnome-session, which, as far as I understand, should be the whole thing that comes up when I login to the machine from the local console. DISPLAY is correctly set, but seems to be ignored.



      Passing --display="$DISPLAY" to gnome-session yields:



      ** (gnome-session-binary:5943): WARNING **: Unknown option --display=localhost:10.0


      Indeed, my manpage for gnome-session doesn't mention --display, while manpages around Internet do. So, I guess, it was removed at some point, do I still have a way to do it?



      I've also discovered that other gnome applications (e.g., gnome-software) have a --display option, but they ignore it and the application runs on the console desktop, rather than on my laptop.







      ubuntu x11 gnome3






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 9 at 10:37









      Kevdog777

      2,092123259




      2,092123259










      asked Feb 9 at 10:19









      zakmck

      1084




      1084






















          1 Answer
          1






          active

          oldest

          votes


















          0















          I've also discovered that other gnome applications (e.g., gnome-software) have a --display option, but they ignore it and the application runs on the console desktop, rather than on my laptop.




          I assume you are running Gnome 3 on the server, too, not only per SSH? I assume it runs as a wayland session. The Gnome apps may use WAYLAND_DISPLAY instead of DISPLAY. Check XDG_SESSION_TYPE. If it is set to wayland, Gnome apps will use the wayland display instead of your SSH display.
          Try to run them with XDG_SESSION_TYPE=x11.




          Indeed, my manpage for gnome-session doesn't mention --display, while manpages around Internet do. So, I guess, it was removed at some point, do I still have a way to do it?




          gnome-session should regard DISPLAY, you don't need --display. However, gnome-shell has option --display.




          What I cannot run is gnome-session




          I found that gnome-session and libmutter often have segfaults if not running with native display hardware. Check dmesg on your server.



          Maybe you can run env XDG_SESSION_TYPE=x11 gnome-session, but I suspect it will segfault, too. Also, you can try gnome-shell instead of gnome-session.



          I recommend to use another and more lightweight desktop environment for SSH, for example lxde (lxsession) or xfce (startxfce4), or just a window manager like openbox (openbox --sm-disable).






          share|improve this answer





















          • Thanks, tried XDG_SESSION_TYPE and WAYLAND_DISPLAY, nothing work. I think I'll give up, at least with gnome.
            – zakmck
            Feb 11 at 21:42











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f422998%2fgnome-session-doesnt-start-on-remote-x-server%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















          I've also discovered that other gnome applications (e.g., gnome-software) have a --display option, but they ignore it and the application runs on the console desktop, rather than on my laptop.




          I assume you are running Gnome 3 on the server, too, not only per SSH? I assume it runs as a wayland session. The Gnome apps may use WAYLAND_DISPLAY instead of DISPLAY. Check XDG_SESSION_TYPE. If it is set to wayland, Gnome apps will use the wayland display instead of your SSH display.
          Try to run them with XDG_SESSION_TYPE=x11.




          Indeed, my manpage for gnome-session doesn't mention --display, while manpages around Internet do. So, I guess, it was removed at some point, do I still have a way to do it?




          gnome-session should regard DISPLAY, you don't need --display. However, gnome-shell has option --display.




          What I cannot run is gnome-session




          I found that gnome-session and libmutter often have segfaults if not running with native display hardware. Check dmesg on your server.



          Maybe you can run env XDG_SESSION_TYPE=x11 gnome-session, but I suspect it will segfault, too. Also, you can try gnome-shell instead of gnome-session.



          I recommend to use another and more lightweight desktop environment for SSH, for example lxde (lxsession) or xfce (startxfce4), or just a window manager like openbox (openbox --sm-disable).






          share|improve this answer





















          • Thanks, tried XDG_SESSION_TYPE and WAYLAND_DISPLAY, nothing work. I think I'll give up, at least with gnome.
            – zakmck
            Feb 11 at 21:42
















          0















          I've also discovered that other gnome applications (e.g., gnome-software) have a --display option, but they ignore it and the application runs on the console desktop, rather than on my laptop.




          I assume you are running Gnome 3 on the server, too, not only per SSH? I assume it runs as a wayland session. The Gnome apps may use WAYLAND_DISPLAY instead of DISPLAY. Check XDG_SESSION_TYPE. If it is set to wayland, Gnome apps will use the wayland display instead of your SSH display.
          Try to run them with XDG_SESSION_TYPE=x11.




          Indeed, my manpage for gnome-session doesn't mention --display, while manpages around Internet do. So, I guess, it was removed at some point, do I still have a way to do it?




          gnome-session should regard DISPLAY, you don't need --display. However, gnome-shell has option --display.




          What I cannot run is gnome-session




          I found that gnome-session and libmutter often have segfaults if not running with native display hardware. Check dmesg on your server.



          Maybe you can run env XDG_SESSION_TYPE=x11 gnome-session, but I suspect it will segfault, too. Also, you can try gnome-shell instead of gnome-session.



          I recommend to use another and more lightweight desktop environment for SSH, for example lxde (lxsession) or xfce (startxfce4), or just a window manager like openbox (openbox --sm-disable).






          share|improve this answer





















          • Thanks, tried XDG_SESSION_TYPE and WAYLAND_DISPLAY, nothing work. I think I'll give up, at least with gnome.
            – zakmck
            Feb 11 at 21:42














          0












          0








          0







          I've also discovered that other gnome applications (e.g., gnome-software) have a --display option, but they ignore it and the application runs on the console desktop, rather than on my laptop.




          I assume you are running Gnome 3 on the server, too, not only per SSH? I assume it runs as a wayland session. The Gnome apps may use WAYLAND_DISPLAY instead of DISPLAY. Check XDG_SESSION_TYPE. If it is set to wayland, Gnome apps will use the wayland display instead of your SSH display.
          Try to run them with XDG_SESSION_TYPE=x11.




          Indeed, my manpage for gnome-session doesn't mention --display, while manpages around Internet do. So, I guess, it was removed at some point, do I still have a way to do it?




          gnome-session should regard DISPLAY, you don't need --display. However, gnome-shell has option --display.




          What I cannot run is gnome-session




          I found that gnome-session and libmutter often have segfaults if not running with native display hardware. Check dmesg on your server.



          Maybe you can run env XDG_SESSION_TYPE=x11 gnome-session, but I suspect it will segfault, too. Also, you can try gnome-shell instead of gnome-session.



          I recommend to use another and more lightweight desktop environment for SSH, for example lxde (lxsession) or xfce (startxfce4), or just a window manager like openbox (openbox --sm-disable).






          share|improve this answer













          I've also discovered that other gnome applications (e.g., gnome-software) have a --display option, but they ignore it and the application runs on the console desktop, rather than on my laptop.




          I assume you are running Gnome 3 on the server, too, not only per SSH? I assume it runs as a wayland session. The Gnome apps may use WAYLAND_DISPLAY instead of DISPLAY. Check XDG_SESSION_TYPE. If it is set to wayland, Gnome apps will use the wayland display instead of your SSH display.
          Try to run them with XDG_SESSION_TYPE=x11.




          Indeed, my manpage for gnome-session doesn't mention --display, while manpages around Internet do. So, I guess, it was removed at some point, do I still have a way to do it?




          gnome-session should regard DISPLAY, you don't need --display. However, gnome-shell has option --display.




          What I cannot run is gnome-session




          I found that gnome-session and libmutter often have segfaults if not running with native display hardware. Check dmesg on your server.



          Maybe you can run env XDG_SESSION_TYPE=x11 gnome-session, but I suspect it will segfault, too. Also, you can try gnome-shell instead of gnome-session.



          I recommend to use another and more lightweight desktop environment for SSH, for example lxde (lxsession) or xfce (startxfce4), or just a window manager like openbox (openbox --sm-disable).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 10 at 14:30









          mviereck

          1,1871410




          1,1871410












          • Thanks, tried XDG_SESSION_TYPE and WAYLAND_DISPLAY, nothing work. I think I'll give up, at least with gnome.
            – zakmck
            Feb 11 at 21:42


















          • Thanks, tried XDG_SESSION_TYPE and WAYLAND_DISPLAY, nothing work. I think I'll give up, at least with gnome.
            – zakmck
            Feb 11 at 21:42
















          Thanks, tried XDG_SESSION_TYPE and WAYLAND_DISPLAY, nothing work. I think I'll give up, at least with gnome.
          – zakmck
          Feb 11 at 21:42




          Thanks, tried XDG_SESSION_TYPE and WAYLAND_DISPLAY, nothing work. I think I'll give up, at least with gnome.
          – zakmck
          Feb 11 at 21:42


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2funix.stackexchange.com%2fquestions%2f422998%2fgnome-session-doesnt-start-on-remote-x-server%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

          Morgemoulin

          Scott Moir

          Souastre