Why doesn't xhost +localhost work any longer to run an X application as root?

Extreme flexible working hours: how to control people and activities?

SQL counting distinct over partition

Overlapping String-Blocks

Did Milano or Benatar approve or comment on their namesake MCU ships?

Is White controlling this game?

Has there been a multiethnic Star Trek character?

English word for "product of tinkering"

Someone whose aspirations exceed abilities or means

Rebus with 20 song titles

How to use memset in c++?

Why doesn't Adrian Toomes give up Spider-Man's identity?

What speaks against investing in precious metals?

Certain search in list

Fixing obscure 8080 emulator bug?

How can this tool find out registered domains from an IP?

How to tell your grandparent to not come to fetch you with their car?

What ways have you found to get edits from non-LaTeX users?

What makes Ada the language of choice for the ISS's safety-critical systems?

Geopandas and QGIS Calulating Different Polygon Area Values?

Is a lack of character descriptions a problem?

Check if three arrays contains the same element

Using "subway" as name for London Underground?

Why are trash cans referred to as "zafacón" in Puerto Rico?

What is the purpose of the goat for Azazel, as opposed to conventional offerings?



Why doesn't xhost +localhost work any longer to run an X application as root?







.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Debian 9.9.



I want to run an application as root, locally.



In the old days, I could simply as the regular user issue:



xhost +localhost


Then switch back to root, run the application, and it would work. This doesn't seem to work any longer.



Why not?



Yes, there are other ways to do this, such as at ones outlined here: https://wiki.archlinux.org/index.php/Running_GUI_applications_as_root



However, I'm simply curious why the old method stopped working. What has changed, and why?










share|improve this question























  • Are you using X, or Wayland?

    – muru
    41 mins ago


















0















Debian 9.9.



I want to run an application as root, locally.



In the old days, I could simply as the regular user issue:



xhost +localhost


Then switch back to root, run the application, and it would work. This doesn't seem to work any longer.



Why not?



Yes, there are other ways to do this, such as at ones outlined here: https://wiki.archlinux.org/index.php/Running_GUI_applications_as_root



However, I'm simply curious why the old method stopped working. What has changed, and why?










share|improve this question























  • Are you using X, or Wayland?

    – muru
    41 mins ago














0












0








0








Debian 9.9.



I want to run an application as root, locally.



In the old days, I could simply as the regular user issue:



xhost +localhost


Then switch back to root, run the application, and it would work. This doesn't seem to work any longer.



Why not?



Yes, there are other ways to do this, such as at ones outlined here: https://wiki.archlinux.org/index.php/Running_GUI_applications_as_root



However, I'm simply curious why the old method stopped working. What has changed, and why?










share|improve this question














Debian 9.9.



I want to run an application as root, locally.



In the old days, I could simply as the regular user issue:



xhost +localhost


Then switch back to root, run the application, and it would work. This doesn't seem to work any longer.



Why not?



Yes, there are other ways to do this, such as at ones outlined here: https://wiki.archlinux.org/index.php/Running_GUI_applications_as_root



However, I'm simply curious why the old method stopped working. What has changed, and why?







x






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 1 hour ago









AlphaCentauriAlphaCentauri

2731212




2731212













  • Are you using X, or Wayland?

    – muru
    41 mins ago



















  • Are you using X, or Wayland?

    – muru
    41 mins ago

















Are you using X, or Wayland?

– muru
41 mins ago





Are you using X, or Wayland?

– muru
41 mins ago










0






active

oldest

votes












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%2f523185%2fwhy-doesnt-xhost-localhost-work-any-longer-to-run-an-x-application-as-root%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 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f523185%2fwhy-doesnt-xhost-localhost-work-any-longer-to-run-an-x-application-as-root%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

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...