GNU emacs via ssh

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Fri Jan 23 11:57:09 EST 2009


When I ssh -X <host>, and run /usr/bin/emacs everything works fine:
(emacs)
Loading disp-table...done
Loading tool-bar...done
Loading image...done
Loading tooltip...done
Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el=20
(source)...done
Loading=20
/usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el=20
(source)...
Loading encoded-kb...done
Loading=20
/usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el=20
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el=20
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el=20
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/python-mode-init.el=20
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el=20
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/tramp-init.el=20
(source)...done
Loading mwheel...done
Loading jka-compr...done

But, when I run emacs using ssh -X -f <host> /usr/bin/emacs, it fails=20
while reading lang-coding-systems-init.el.
(emacs)
Loading disp-table...done
Loading tool-bar...done
Loading image...done
Loading tooltip...done
Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el=20
(source)...done
Loading=20
/usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el=20
(source)...
or: Wrong type argument: stringp, nil

In both cases the <host> I was coming from and going to are the same.=20
The target system is running RHEL 5.2. I actually deleted=20
/usr/share/emacs and deinstalled and reinstalled emacs just in case=20
there were some artifacts from a previous installation, though the RHEL=20
5.2 was a clean install. The reason I can't run emacs on my workstation=20
is that it is an IA64 system and I usually compile from emacs, so I need =

to be on an x86 system since I am using a pre-built set of compilation=20
tools. I've tested this on a number of different systems we have here,=20
and with a couple of different ~/.emacs files (and no ~/.emacs). I=20
specified /usr/bin/emacs just to eliminate any hidden aliases. I suspect =

that the issue might be that it cannot detect the keyboard using the ssh =

-f (which implies -n) option.

 --=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846







More information about the Discuss mailing list