Timeline for "Invalid MIT-MAGIC-COOKIE-1 key" when trying to run program remotely
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 27, 2024 at 3:04 | comment | added | Jay Prall |
If this works for you, you should consider using xhost +localhost instead because it's more secure.
|
|
| Jun 14, 2024 at 4:44 | comment | added | Antti Rytsölä | @aaa DISPLAY= doesn't work because it's not inherited by default. Try exporting it first, i.e. export DISPLAY=:0 | |
| Jun 16, 2022 at 14:22 | comment | added | aaa |
$ DISPLAY=:0 xhost +local: gives Invalid MIT-MAGIC-COOKIE-1 key
|
|
| Mar 2, 2022 at 15:52 | comment | added | AlexC | @Moberg: It disables authentication control. It allows any user to open graphical windows on your display. So it's not something you want to do all the time! But when you know you want to run some graphical app as a different user, it's what you need to do. | |
| Apr 29, 2021 at 10:36 | comment | added | Moberg | What does the command do? | |
| Jan 23, 2021 at 3:10 | comment | added | Mona Jalal | $ xhost +local: xhost: unable to open display "desktop:0" | |
| Jul 26, 2019 at 16:19 | comment | added | loved.by.Jesus | it did the trick. Thanks, I think it is the shortest answer! | |
| Jan 26, 2019 at 13:40 | history | edited | Jeff Schaller♦ | CC BY-SA 4.0 |
Added formatting
|
| Jan 26, 2019 at 13:40 | review | Low quality posts | |||
| Jan 26, 2019 at 13:40 | |||||
| Jan 26, 2019 at 13:24 | history | answered | user175477 | CC BY-SA 4.0 |