it looks to me like you dont have X11 running, that is xemacs in running in your shell! I dont know where you installed the X11 app, look in Applications/X11 and double-click it. Once X11 is running, type xemacs in a terminal.