1

I have managed to get X-forwarding running to use xemacs on my local Windows machine. Now I can start xemacs from the ssh terminal to my remote linux machine. This results in xemacs running in a window on my windows machine:

enter image description here

I would very much prefer to use emacs in a windows window, but what happens is that emacs opens in terminal mode.

Since this works for xemacs I would assume some setting is wrong on the linux machine.

According to this question it seems setting up x-forwarding is sufficient.

I am stuck - can you give me a hint how to get this working?


Edit: the solution in the duplicate question opens a window which contains again the text only version of emacs. After

sudo yum install emacs

the nicer graphical version opens correctly!

Beginner
  • 237
  • 3
  • 9
  • 1
    Could you please clarify which machine, if any is running Unix or Linux? Are you connecting to a Windows machine from a *nix one? What do you mean by "client window"? Please [edit] and clarify what you are trying to do. – terdon Oct 14 '14 at 14:24
  • @terdon is this better? – Beginner Oct 14 '14 at 14:33
  • Better but veering off topic I'm afraid. Your question seems to be about configuring a Windows machine and not the *nix side but I'm not sure. How are you connecting to the Linux machine? – terdon Oct 14 '14 at 14:42
  • @terdon I am connecting via putty ssh. Since xemacs works, I would assume there is some switch to get emacs to behave similarly to xemacs? – Beginner Oct 14 '14 at 14:49
  • @terdon I found the answer here: http://unix.stackexchange.com/questions/126367/osx-server-windows-client-running-emacs-opens-it-on-server-not-client?rq=1 – Beginner Oct 14 '14 at 14:51
  • @terdon Should I delete the question or flag it as duplicate? – Beginner Oct 14 '14 at 14:51
  • 1
    Ah! OK, now I understand. Please add the output of `readlink -f /usr/bin/emacs` (run from the Linux machine) to your question. Also tell us what distribution the Linux machine is running. Do you have a graphical version of emacs installed? – terdon Oct 14 '14 at 14:52
  • Oh, if that solved your issue, I'll close it as a dupe. Make sure you actually have a graphical emacs installed though, you might not. Leave me a comment here if it doesn't work and I'll reopen. – terdon Oct 14 '14 at 14:53
  • @terdon Your comments helped me find the answer, thank you! – Beginner Oct 14 '14 at 14:53
  • @terdon You were right, the real solution was > sudo yum install emacs – Beginner Oct 14 '14 at 14:57

0 Answers0