[Opm] How to suppress message "Invalid MIT-MAGIC-COOKIE-1 key"

Tsuyoshi Matsuura tsuyoshi.matsuura at sigmaenergy.nl
Tue Aug 4 20:31:41 UTC 2020


Hi Markus,

Thanks for the hint on the DISPLAY variable. It made me look in the 
right direction.

It seems the proprietary driver for the nvidia card in my setup was 
causing the problem. By changing the video driver from the proprietary 
nvidia driver to the Xorg one, the error message disappeared.

Best regards,

Tsuyoshi

On 04/08/2020 11:05, Markus Blatt wrote:
> Hi Tsuyoshi,
>
> On Tue, Aug 04, 2020 at 10:50:46AM +0200, Tsuyoshi Matsuura wrote:
>> Ok, but I am not working remotely, but directly on the desktop where OPM is
>> installed (so no ssh).
>>
> But MPI could be configure to always use ssh. But this is just a guess. What was the
> exact error message?
>
>> Could you resend the link? It seems broken.
> Sure:
>
> https://www.linuxquestions.org/questions/linux-general-1/mit-magic-cookie-1-a-761445/
>
> Like I said, check the DISPLAY variable. You can where if it is set by running
>
> find . -maxdepth 1 -name \.[a-Z]\* -type f | xargs grep DISPLAY
>
> Markus
>
>> Thanks & Best regards,
>>
>> Tsuyoshi
>>
>> On 04/08/2020 10:38, Markus Blatt wrote:
>>> Hi,
>>>
>>> it has nothing to do with OPM but rather with your remote session via ssh. It seems like
>>> MPI might be using ssh.
>>>
>>> https://www.linuxquestions.org/questions/linux-general-1/mit-magic-cookie-1-a-761445/
>>>
>>> Please check whether you did set the DISPLAY variable (is there output from "echo $DISPLAY")
>>> and unset it (e.g. by deleting lines in .bashrc or .profile or wherever your shell environment is
>>> configured).
>>>
>>> Cheers,
>>>
>>> Markus
>>>
>>> On Tue, Aug 04, 2020 at 10:32:53AM +0200, Tsuyoshi Matsuura wrote:
>>>> Hi,
>>>>
>>>> Thanks for picking up my query.
>>>>
>>>> Attached are the output of the following two commands:
>>>>
>>>>    * flow SPE1CASE1.DATA > spe1.out 2> spe1.err
>>>>    * flow --help > help.out 2> help.err
>>>>
>>>> The error 'Invalid MIT-MAGIC-COOKIE-1 key' is written to 'stderr'.
>>>>
>>>> I googled around a bit and found comments that openmpi might be generating
>>>> the error, but unclear to me how to fix this. In my environment 'mpirun'
>>>> also throws the same error.
>>>>
>>>> Best regards,
>>>>
>>>> Tsuyoshi
>>>>
>>>> On 04/08/2020 08:59, OPM User wrote:
>>>>> Tsuyoshi,
>>>>>
>>>>> I'm running the exact same configuration in a VM and I don't have this,
>>>>> can you post a short example so we can see what is happening.
>>>>>
>>>>>
>>>>> OPM User
>>>>> opmuser0 at gmail.com
>>>>>
>>>>> On 03-Aug-20 20:00, opm-request at opm-project.org wrote:
>>>>>> Send Opm mailing list submissions to
>>>>>>       opm at opm-project.org
>>>>>>
>>>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>>>>       https://opm-project.org/cgi-bin/mailman/listinfo/opm
>>>>>> or, via email, send a message with subject or body 'help' to
>>>>>>       opm-request at opm-project.org
>>>>>>
>>>>>> You can reach the person managing the list at
>>>>>>       opm-owner at opm-project.org
>>>>>>
>>>>>> When replying, please edit your Subject line so it is more specific
>>>>>> than "Re: Contents of Opm digest..."
>>>>>>
>>>>>> Today's Topics:
>>>>>>
>>>>>>       1. How to suppress message "Invalid MIT-MAGIC-COOKIE-1 key"
>>>>>>          (Tsuyoshi Matsuura)
>>>>>>       2. Re: Build of intersectio.cpp (Phani Narasimham)
>>>>>>
>>>>>> _______________________________________________
>>>>>> Opm mailing list
>>>>>> Opm at opm-project.org
>>>>>> https://opm-project.org/cgi-bin/mailman/listinfo/opm
>>>>> _______________________________________________
>>>>> Opm mailing list
>>>>> Opm at opm-project.org
>>>>> https://opm-project.org/cgi-bin/mailman/listinfo/opm
>>>> _______________________________________________
>>>> Opm mailing list
>>>> Opm at opm-project.org
>>>> https://opm-project.org/cgi-bin/mailman/listinfo/opm
>>> _______________________________________________
>>> Opm mailing list
>>> Opm at opm-project.org
>>> https://opm-project.org/cgi-bin/mailman/listinfo/opm
>> _______________________________________________
>> Opm mailing list
>> Opm at opm-project.org
>> https://opm-project.org/cgi-bin/mailman/listinfo/opm
> _______________________________________________
> Opm mailing list
> Opm at opm-project.org
> https://opm-project.org/cgi-bin/mailman/listinfo/opm


More information about the Opm mailing list