gnome-session doesn't start on remote X server

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












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


























    up vote
    1
    down vote

    favorite












    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
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      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.









      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 9 at 10:37









      Kevdog777

      2,062113257




      2,062113257










      asked Feb 9 at 10:19









      zakmck

      1083




      1083




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote














          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          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






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote














          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














          up vote
          0
          down vote














          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












          up vote
          0
          down vote










          up vote
          0
          down vote










          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,1071410




          1,1071410











          • 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


























           


          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













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay