McMyAdmin2 no ubunto 19.04

Boa noite pessoal.

Eu uso o McMyAdmin 2 para gerir o meu servidor minecraft. Ao mudar do mint para o Ubuntu 19.04, ao tentar iniciar o McMyAdmin2 começou a dar erro e a não funcionar.

djtriplef@djtriplef-X550CC:/media/djtriplef/D48449F38449D91E/Users/fabio/AppData/Local/McMyAdmin/LINUX$ ./MCMA2_Linux_x86_64

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Console —> System.TypeInitializationException: An exception was thrown by the type initializer for System.ConsoleDriver —> System.Exception: Magic number is wrong: 542
at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00000] in :0
at System.TermInfoReader…ctor (System.String term, System.String filename) [0x00000] in :0
at System.TermInfoDriver…ctor (System.String term) [0x00000] in :0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in :0
at System.ConsoleDriver…cctor () [0x00000] in :0
— End of inner exception stack trace —
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00000] in :0
at System.Console…cctor () [0x00000] in :0
— End of inner exception stack trace —
at d4.a (System.String[] A_0) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Console —> System.TypeInitializationException: An exception was thrown by the type initializer for System.ConsoleDriver —> System.Exception: Magic number is wrong: 542
at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00000] in :0
at System.TermInfoReader…ctor (System.String term, System.String filename) [0x00000] in :0
at System.TermInfoDriver…ctor (System.String term) [0x00000] in :0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in :0
at System.ConsoleDriver…cctor () [0x00000] in :0
— End of inner exception stack trace —
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00000] in :0
at System.Console…cctor () [0x00000] in :0
— End of inner exception stack trace —

A solução que encontrei foi usar 2 comandos antes de iniciar o McMyAdmin2 cada vez que reinicio o ubuntu:

export TERM=xterm

echo $TERM

Depois desses 2 comandos já tudo funciona normalmente.

Fica aqui a minha experienca do McMyAdmin2 no ubuntu que poderá vir a ser util para alguem que precise do programa e aconteça o mesmo problema.

Cumpz

1 Curtida