Install failed of SOC EDS 18 on Ubuntu 16

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 xenial InRelease
Hit:2 xenial-security InRelease
Hit:3 xenial-updates InRelease
Hit:4 xenial-backports InRelease
Reading package lists… Done

yakov@ubuntu:~/Utilities/SOC_EDS_install$ chmod +x ./
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*
yakov@ubuntu:~/Utilities/SOC_EDS_install$ sudo ./
[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:


I did reinstall of Linux and the problem has disappeared.