setup emacs server
enable custom xsession WIP
add support for running under ansi-term in emacs