I have a problem when running a certain program. The execution works perfectly fine, but there is an additional line that appears before the execution : Invalid MIT-MAGIC-COOKIE-1 key.
Is there a way to prevent this message from appearing?
With some research, I tried different commands:
Try
xhost +local:before running.Change the variable
DISPLAYwith theexportcommand.Check if the
XAUTHORITYenvironment exists (it does not.)
Do you have any other suggestions that I can try?
xauth listandhostnamectl statusplease. – nobody Jun 09 '20 at 09:09octave), is trying to be smart and pipe the internal X11 display through ssh to the remote computer, and fails. Are you passing the-Xparameter to ssh? Take that off, and try passing the-Yas in:ssh -Y youruser@yourhostname, or if that fails try running octave from a logged in user that has access to the primary monitor display. – Eric Leschinski Jan 02 '22 at 03:00