I am running an instance on amazon EC2 with the Amazon linux AMI,
I installed xemacs from sources and I can't get it to run on X.
I connect to the server through ssh -X and I can run xclock and xterm without any problem, but when i type xemacs it doesn't open a window, it displays in the terminal instead.

Any idea where that could come from?