When I open my terminal and type "emacs", a new emacs window opens. But after using ssh to log in to another host, typing "emacs" creates an emacs buffer inside the terminal.
Is there any way I can specify when using ssh that I want windows to be opened outside of the terminal? Perhaps inserting something into my .bashrc?
NOTE: I already tried using "ssh -Y" instead of "ssh". It didn't work.
EDIT: I don't know why it didn't work before, but now both "ssh -Y" and "ssh -X" solve my problem.