title: How to open emacs in new window after using ssh login
body: <p>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.</p>
  
  <p>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?</p>
  
  <p>NOTE: I already tried using "ssh -Y" instead of "ssh". It didn't work.</p>
  
  <p>EDIT: I don't know why it didn't work before, but now both "ssh -Y" and "ssh -X" solve my problem.</p>