Gnu Emacs on Windows 7 very slow when VPN connection is used

07
2014-07
  • Martin

    I'm using Gnu emasc 24.3 on Windows 7 and normally I don't have any problems with speed/responsiveness.

    I'm launching Emacs with the runemacs.exe

    However, when I am travelling and try to connect to my company network via VPN, Emacs often becomes incredibly slow - it might take many minutes to open a buffer and it just does not respond to keyboard commands.

    All relevant text and configuration files are saved in my user directory C:\Users\myusername.domainname\Documents which is located on the local hard disk (so should not need accessing remote servers), but I wonder if Windows 7 might try to sync those files with a server

    I'm also using the "offline files" feature for other directories and I wonder if this could have an effect on my problem

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    emacs and putty on windows 7
  • twilbrand

    My workstation was recently updated to Windows 7. I've downloaded putty and have configured it to the same settings I had under Vista.

    Whenever I ssh to a vm running Centos 5.4 and try to run emacs on a file, I'm getting an error about a connection to an X server:

    [ecto1 ~]$ emacs foo.bar
    Connection lost to X server `localhost:10.0'
    

    I never received this error message when I had Vista. I can get around it by aliasing emacs to 'emacs -nw', but I don't feel that I should have to do this.

    My co-worker has the same hardware that had the same upgrade and his sessions do not seem to be doing this.

    Any advice? I can't find anything on google and don't know where else to start.

    [ecto1 ~]$ emacs -version
    GNU Emacs 21.4.1
    

  • Related Answers
  • erichui

    Assuming that you do not want to run emacs as a client to an X server, double check your Putty configuration under Connection/SSH/X11 and make sure that "Enable X11 forwarding" is unchecked.

  • Justin Niessner

    Double check your PuTTy settings and make sure that the X11 Session is being forwarded properly and you have a X11 server running locally. If you don't want to have the GUI window opened, running emacs -nw is the best alternative.

    The default behavior for emacs is to try to open a GUI window. If you don't have X11 properly forwarded with a X11 Window Manager (like Hummerbird eXceed) running locally, the program will fail.