Install failed of SOC EDS 18 on Ubuntu 16

Hello,
A work whit Achilles board (Arria 10 SoC) of Reflex.
They recommend use SoC EDS PRO, v18.1.0.222 on Ubuntu 16.04 LTS.

According whith that I tried to install this SOC EDS 18.1 on the Ubuntu 16.04 and I get whe following error on the beginig: “Invalid MIT-MAGIC-COOKIE-1 key”.
Please help to fix this problem.

Please see below the full log.

yakov@ubuntu:~$ sudo apt-get update
[sudo] password for yakov:
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists… Done


yakov@ubuntu:~/Utilities/SOC_EDS_install$ chmod +x ./SoCEDSProSetup-18.1.0.222-linux.run
yakov@ubuntu:~/Utilities/SOC_EDS_install$ ls -l
total 2764572
drwxrwxr-x 2 yakov yakov 4096 Nov 12 07:03 ./
drwxrwxr-x 3 yakov yakov 4096 Nov 12 07:03 …/
-rwxrwxr-x 1 yakov yakov 2830908212 Nov 12 07:00 SoCEDSProSetup-18.1.0.222-linux.run*
yakov@ubuntu:~/Utilities/SOC_EDS_install$ sudo ./SoCEDSProSetup-18.1.0.222-linux.run
[sudo] password for yakov:
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyWarning: This installer detects you either don’t have a display set up or don’t
have the necessary GUI libraries installed, this installation will run in
console mode.
Press [Enter] to continue:

Regards,
Yakov

I did reinstall of Linux and the problem has disappeared.