Timeline for Why can't I run GUI apps as root: "No protocol specified"?
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 5, 2022 at 22:01 | comment | added | Flo | if anyone came here having issues with xrdp, just keep in mind that only the user you logged in with has the rights to start X apps. so e.g. your default ubuntu user is logged in, you cannot start GUI apps as root user.... | |
| Aug 23, 2020 at 20:59 | comment | added | Seff |
On Ubuntu 18, I had to export XAUTHORITY=/run/user/1000/gdm/Xauthority
|
|
| Jul 18, 2019 at 6:29 | comment | added | David Cowden |
xhost +si:localuser:root seems to work similar.
|
|
| Jul 18, 2019 at 6:22 | comment | added | David Cowden |
Now that Debian 10 (Buster) is out, how do you do this with wayland?
|
|
| Mar 26, 2019 at 21:28 | comment | added | michas |
@marinara use sudo -i instead of sudo su -.
|
|
| Mar 26, 2019 at 21:22 | comment | added | marinara | for debian, do I type the XAUTHORITY export as root? because it's not working on deb10? I login with sudo su | |
| Apr 24, 2018 at 14:14 | comment | added | michas |
Be aware that xhost + completely deactivates authentication and allows everyone to access all application on your screen...
|
|
| Apr 24, 2018 at 11:31 | comment | added | Melroy van den Berg |
xhost + fixed my problem
|
|
| Apr 7, 2015 at 7:11 | comment | added | Tomas Tomecek |
xauth info shows path to authority file
|
|
| Mar 9, 2014 at 9:34 | vote | accept | Octopus | ||
| Mar 9, 2014 at 9:17 | history | answered | michas | CC BY-SA 3.0 |