Starting GUI program over SSH in wayland (Ubuntu 17.10)












4















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

















This question has an open bounty worth +100
reputation from Seth ending in 6 days.


Looking for an answer drawing from credible and/or official sources.


If this is not possible an authoritative, referenced answer would be nice.












  • 3





    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






  • 1





    Eh - I cannot say, obviously. I have been told Wayland is 'faster lighter betterer and will butter the bread' but the reality seems to be that the tools people use to run their computers are not quite present in the Ubuntu implementation of Wayland, yet. https://insights.ubuntu.com/2018/01/26/bionic-beaver-18-04-lts-to-use-xorg-by-default/

    – Charles Green
    Feb 13 '18 at 21:36
















4















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

















This question has an open bounty worth +100
reputation from Seth ending in 6 days.


Looking for an answer drawing from credible and/or official sources.


If this is not possible an authoritative, referenced answer would be nice.












  • 3





    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






  • 1





    Eh - I cannot say, obviously. I have been told Wayland is 'faster lighter betterer and will butter the bread' but the reality seems to be that the tools people use to run their computers are not quite present in the Ubuntu implementation of Wayland, yet. https://insights.ubuntu.com/2018/01/26/bionic-beaver-18-04-lts-to-use-xorg-by-default/

    – Charles Green
    Feb 13 '18 at 21:36














4












4








4








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

214




214






This question has an open bounty worth +100
reputation from Seth ending in 6 days.


Looking for an answer drawing from credible and/or official sources.


If this is not possible an authoritative, referenced answer would be nice.








This question has an open bounty worth +100
reputation from Seth ending in 6 days.


Looking for an answer drawing from credible and/or official sources.


If this is not possible an authoritative, referenced answer would be nice.










  • 3





    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






  • 1





    Eh - I cannot say, obviously. I have been told Wayland is 'faster lighter betterer and will butter the bread' but the reality seems to be that the tools people use to run their computers are not quite present in the Ubuntu implementation of Wayland, yet. https://insights.ubuntu.com/2018/01/26/bionic-beaver-18-04-lts-to-use-xorg-by-default/

    – Charles Green
    Feb 13 '18 at 21:36














  • 3





    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






  • 1





    Eh - I cannot say, obviously. I have been told Wayland is 'faster lighter betterer and will butter the bread' but the reality seems to be that the tools people use to run their computers are not quite present in the Ubuntu implementation of Wayland, yet. https://insights.ubuntu.com/2018/01/26/bionic-beaver-18-04-lts-to-use-xorg-by-default/

    – Charles Green
    Feb 13 '18 at 21:36








3




3





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




1




1





Eh - I cannot say, obviously. I have been told Wayland is 'faster lighter betterer and will butter the bread' but the reality seems to be that the tools people use to run their computers are not quite present in the Ubuntu implementation of Wayland, yet. https://insights.ubuntu.com/2018/01/26/bionic-beaver-18-04-lts-to-use-xorg-by-default/

– Charles Green
Feb 13 '18 at 21:36





Eh - I cannot say, obviously. I have been told Wayland is 'faster lighter betterer and will butter the bread' but the reality seems to be that the tools people use to run their computers are not quite present in the Ubuntu implementation of Wayland, yet. https://insights.ubuntu.com/2018/01/26/bionic-beaver-18-04-lts-to-use-xorg-by-default/

– Charles Green
Feb 13 '18 at 21:36










0






active

oldest

votes











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

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局