Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    1

    emacs and putty

    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

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    It's trying to launch the X/graphical version of emacs. You probably want to go into your putty settings and turn OFF X forwarding. Log in afresh after you do this and see if the problem goes away.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...