He descargado glassfish-3.1.2.2-unix.sh desde glassfish.java.net. Para instalar hice
chmod +x glassfish-3.1.2.2-unix.sh
entonces probé a ejecutarlo:
$ ./glassfish-3.1.2.2-unix.sh
This program requires DISPLAY environment variable to be set.
Please re-run after assigning an appropriate value to DISPLAY.
¿Alguna idea?
Gracias