Starting GUI program over SSH in wayland (Ubuntu 17.10)How to disable wayland in 17.10 in gdm3 login...

What is "desert glass" and what does it do to the PCs?

Too soon for a plot twist?

Dukha vs legitimate need

Why is the electrolytic capacitor not polarity sensitive?

PTiJ: How should animals pray?

Is this nominative case or accusative case?

Why is there an extra space when I type "ls" on the Desktop?

Is there a way to find out the age of climbing ropes?

Can inspiration allow the Rogue to make a Sneak Attack?

Sundering Titan and basic normal lands and snow lands

What is a term for a function that when called repeatedly, has the same effect as calling once?

Are small insurances worth it

Why aren't there more gauls like Obelix?

How spaceships determine each other's mass in space?

ESPP--any reason not to go all in?

Python 3.6+ function to ask for a multiple-choice answer

What's the difference between Compensation, Indemnity, and Reparations?

Are there other characters in the Star Wars universe who had damaged bodies and needed to wear an outfit like Darth Vader?

Paper published similar to PhD thesis

Is divide-by-zero a security vulnerability?

Why are special aircraft used for the carriers in the United States Navy?

Infinitive vs Gerund

Do natural melee weapons (from racial traits) trigger Improved Divine Smite?

How do we objectively assess if a dialogue sounds unnatural or cringy?



Starting GUI program over SSH in wayland (Ubuntu 17.10)


How to disable wayland in 17.10 in gdm3 login screenWill Wayland have network transparency?Wayland in Kubuntu 17.10Ubuntu 17.10 freezes after login on waylandNo wayland preinstalled on Ubuntu 17.10No Wayland available on Ubuntu 17.10how does X11 forwarding with Ubuntu 17.10/Wayland?xprintidle on Ubuntu 17.10 WaylandMouse can't click on Wayland ubuntu 17.10Vnc using Ubuntu 17.10 with WaylandBroken LCD - Resize Desktop in Ubuntu 17.10 (Wayland)













2















I have not found this exact question but I could be using incorrect terms.
In Ubuntu 16.04 I was able to start graphical applications over SSH by first running:



export DISPLAY=0.0


then any graphical program will open when launched in the same SSH session.



For example nohup sudo -u $LOCALUSER gedit & will open up gedit for the local user to use.



I am aware that the switch from the aging X11 to Wayland is the reason this no longer works.



What would be the current way to do this in 17.10/Wayland?
Most of my workstations are managed remotely for local operators with limited access. A one liner solution for this would be desirable.
We cannot do any complicated modifications from the initial install.
The lack of information makes me think this is not possible in the default install, and requires system modification.
Is a "one liner" on a default system possible to allow launching of GUI applications via SSH?



If not possible, we can wait until this update is made before upgrading.










share|improve this question




















  • 2





    The easiest way to do this would be to disable the Wayland session, and force X11 (which will be the default in 18.04)

    – Charles Green
    Feb 13 '18 at 21:18











  • Please see https://askubuntu.com/a/975098/283721

    – Charles Green
    Feb 13 '18 at 21:19











  • Very much agreed the lowest friction solution is to disable Wayland.

    – Pretorious
    Feb 13 '18 at 21:30











  • I would have marked the question as a duplicate, but what you asked really was quite different.

    – Charles Green
    Feb 13 '18 at 21:32











  • However another team on the project is very excited about Wayland (not sure why), so I have been asked to make this happen /without/ disabling it. I understand this is an odd request and maybe outside of the scope of Wayland... or maybe my understanding of what it is has been incorrect.

    – Pretorious
    Feb 13 '18 at 21:33
















2















I have not found this exact question but I could be using incorrect terms.
In Ubuntu 16.04 I was able to start graphical applications over SSH by first running:



export DISPLAY=0.0


then any graphical program will open when launched in the same SSH session.



For example nohup sudo -u $LOCALUSER gedit & will open up gedit for the local user to use.



I am aware that the switch from the aging X11 to Wayland is the reason this no longer works.



What would be the current way to do this in 17.10/Wayland?
Most of my workstations are managed remotely for local operators with limited access. A one liner solution for this would be desirable.
We cannot do any complicated modifications from the initial install.
The lack of information makes me think this is not possible in the default install, and requires system modification.
Is a "one liner" on a default system possible to allow launching of GUI applications via SSH?



If not possible, we can wait until this update is made before upgrading.










share|improve this question




















  • 2





    The easiest way to do this would be to disable the Wayland session, and force X11 (which will be the default in 18.04)

    – Charles Green
    Feb 13 '18 at 21:18











  • Please see https://askubuntu.com/a/975098/283721

    – Charles Green
    Feb 13 '18 at 21:19











  • Very much agreed the lowest friction solution is to disable Wayland.

    – Pretorious
    Feb 13 '18 at 21:30











  • I would have marked the question as a duplicate, but what you asked really was quite different.

    – Charles Green
    Feb 13 '18 at 21:32











  • However another team on the project is very excited about Wayland (not sure why), so I have been asked to make this happen /without/ disabling it. I understand this is an odd request and maybe outside of the scope of Wayland... or maybe my understanding of what it is has been incorrect.

    – Pretorious
    Feb 13 '18 at 21:33














2












2








2








I have not found this exact question but I could be using incorrect terms.
In Ubuntu 16.04 I was able to start graphical applications over SSH by first running:



export DISPLAY=0.0


then any graphical program will open when launched in the same SSH session.



For example nohup sudo -u $LOCALUSER gedit & will open up gedit for the local user to use.



I am aware that the switch from the aging X11 to Wayland is the reason this no longer works.



What would be the current way to do this in 17.10/Wayland?
Most of my workstations are managed remotely for local operators with limited access. A one liner solution for this would be desirable.
We cannot do any complicated modifications from the initial install.
The lack of information makes me think this is not possible in the default install, and requires system modification.
Is a "one liner" on a default system possible to allow launching of GUI applications via SSH?



If not possible, we can wait until this update is made before upgrading.










share|improve this question
















I have not found this exact question but I could be using incorrect terms.
In Ubuntu 16.04 I was able to start graphical applications over SSH by first running:



export DISPLAY=0.0


then any graphical program will open when launched in the same SSH session.



For example nohup sudo -u $LOCALUSER gedit & will open up gedit for the local user to use.



I am aware that the switch from the aging X11 to Wayland is the reason this no longer works.



What would be the current way to do this in 17.10/Wayland?
Most of my workstations are managed remotely for local operators with limited access. A one liner solution for this would be desirable.
We cannot do any complicated modifications from the initial install.
The lack of information makes me think this is not possible in the default install, and requires system modification.
Is a "one liner" on a default system possible to allow launching of GUI applications via SSH?



If not possible, we can wait until this update is made before upgrading.







ssh 17.10 wayland






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 14 '18 at 11:40









Yaron

9,17871940




9,17871940










asked Feb 13 '18 at 21:09









PretoriousPretorious

113




113








  • 2





    The easiest way to do this would be to disable the Wayland session, and force X11 (which will be the default in 18.04)

    – Charles Green
    Feb 13 '18 at 21:18











  • Please see https://askubuntu.com/a/975098/283721

    – Charles Green
    Feb 13 '18 at 21:19











  • Very much agreed the lowest friction solution is to disable Wayland.

    – Pretorious
    Feb 13 '18 at 21:30











  • I would have marked the question as a duplicate, but what you asked really was quite different.

    – Charles Green
    Feb 13 '18 at 21:32











  • However another team on the project is very excited about Wayland (not sure why), so I have been asked to make this happen /without/ disabling it. I understand this is an odd request and maybe outside of the scope of Wayland... or maybe my understanding of what it is has been incorrect.

    – Pretorious
    Feb 13 '18 at 21:33














  • 2





    The easiest way to do this would be to disable the Wayland session, and force X11 (which will be the default in 18.04)

    – Charles Green
    Feb 13 '18 at 21:18











  • Please see https://askubuntu.com/a/975098/283721

    – Charles Green
    Feb 13 '18 at 21:19











  • Very much agreed the lowest friction solution is to disable Wayland.

    – Pretorious
    Feb 13 '18 at 21:30











  • I would have marked the question as a duplicate, but what you asked really was quite different.

    – Charles Green
    Feb 13 '18 at 21:32











  • However another team on the project is very excited about Wayland (not sure why), so I have been asked to make this happen /without/ disabling it. I understand this is an odd request and maybe outside of the scope of Wayland... or maybe my understanding of what it is has been incorrect.

    – Pretorious
    Feb 13 '18 at 21:33








2




2





The easiest way to do this would be to disable the Wayland session, and force X11 (which will be the default in 18.04)

– Charles Green
Feb 13 '18 at 21:18





The easiest way to do this would be to disable the Wayland session, and force X11 (which will be the default in 18.04)

– Charles Green
Feb 13 '18 at 21:18













Please see https://askubuntu.com/a/975098/283721

– Charles Green
Feb 13 '18 at 21:19





Please see https://askubuntu.com/a/975098/283721

– Charles Green
Feb 13 '18 at 21:19













Very much agreed the lowest friction solution is to disable Wayland.

– Pretorious
Feb 13 '18 at 21:30





Very much agreed the lowest friction solution is to disable Wayland.

– Pretorious
Feb 13 '18 at 21:30













I would have marked the question as a duplicate, but what you asked really was quite different.

– Charles Green
Feb 13 '18 at 21:32





I would have marked the question as a duplicate, but what you asked really was quite different.

– Charles Green
Feb 13 '18 at 21:32













However another team on the project is very excited about Wayland (not sure why), so I have been asked to make this happen /without/ disabling it. I understand this is an odd request and maybe outside of the scope of Wayland... or maybe my understanding of what it is has been incorrect.

– Pretorious
Feb 13 '18 at 21:33





However another team on the project is very excited about Wayland (not sure why), so I have been asked to make this happen /without/ disabling it. I understand this is an odd request and maybe outside of the scope of Wayland... or maybe my understanding of what it is has been incorrect.

– Pretorious
Feb 13 '18 at 21:33










1 Answer
1






active

oldest

votes


















0














Late to the party, but for anyone reading this, Wayland's decision to emulate Windows is at fault. This problem can't be corrected. Its a result of abandoning the proven power of a client server architecture. Most people do not even know you can export DISPLAY=0:0. I'm wondering if the Wayland fanboys do. If they do, then they must be awfully arrogant to think that breaking this is trivial. BTW, I just got hit by Wayland today. I am not a happy camper after my research, which is what brought me here.





share








New contributor




Robert Barror is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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%2f1005919%2fstarting-gui-program-over-ssh-in-wayland-ubuntu-17-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














    Late to the party, but for anyone reading this, Wayland's decision to emulate Windows is at fault. This problem can't be corrected. Its a result of abandoning the proven power of a client server architecture. Most people do not even know you can export DISPLAY=0:0. I'm wondering if the Wayland fanboys do. If they do, then they must be awfully arrogant to think that breaking this is trivial. BTW, I just got hit by Wayland today. I am not a happy camper after my research, which is what brought me here.





    share








    New contributor




    Robert Barror is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      Late to the party, but for anyone reading this, Wayland's decision to emulate Windows is at fault. This problem can't be corrected. Its a result of abandoning the proven power of a client server architecture. Most people do not even know you can export DISPLAY=0:0. I'm wondering if the Wayland fanboys do. If they do, then they must be awfully arrogant to think that breaking this is trivial. BTW, I just got hit by Wayland today. I am not a happy camper after my research, which is what brought me here.





      share








      New contributor




      Robert Barror is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        Late to the party, but for anyone reading this, Wayland's decision to emulate Windows is at fault. This problem can't be corrected. Its a result of abandoning the proven power of a client server architecture. Most people do not even know you can export DISPLAY=0:0. I'm wondering if the Wayland fanboys do. If they do, then they must be awfully arrogant to think that breaking this is trivial. BTW, I just got hit by Wayland today. I am not a happy camper after my research, which is what brought me here.





        share








        New contributor




        Robert Barror is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Late to the party, but for anyone reading this, Wayland's decision to emulate Windows is at fault. This problem can't be corrected. Its a result of abandoning the proven power of a client server architecture. Most people do not even know you can export DISPLAY=0:0. I'm wondering if the Wayland fanboys do. If they do, then they must be awfully arrogant to think that breaking this is trivial. BTW, I just got hit by Wayland today. I am not a happy camper after my research, which is what brought me here.






        share








        New contributor




        Robert Barror is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        Robert Barror is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 9 mins ago









        Robert BarrorRobert Barror

        1




        1




        New contributor




        Robert Barror is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Robert Barror is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Robert Barror is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            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%2f1005919%2fstarting-gui-program-over-ssh-in-wayland-ubuntu-17-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...