0

Recently I upgraded to ubuntu 17.10, now whenever I try to launch xampp it gives error:

Initially error was:

Invalid MIT-MAGIC-COOKIE-1 keyError: cannot open display ':0'

After this I ran:

export DISPLAY=desktop:0

Error:

Unknown Error couldn't connect to display "desktop:0"

Later on tried this:

export DISPLAY=0:0

Error:

Unknown Error couldn't connect to display "0:0

NOTE: It is showing single line error as posted above.

1 Answers1

0

use xhost + in /opt/lampp or in the installed directory
This should solve it.