Can't run emacs (specifically) on X over ssh

Charles Curley charlescurley at charlescurley.com
Sat Feb 14 00:01:02 UTC 2004


On Fri, Feb 13, 2004 at 02:51:43PM -0500, Greg Brigley wrote:
> I'm having problems running emacs via ssh on FC1.  
> 
> Running emacs directly works fine, but if I ssh to localhost and try to run 
> emacs, it just stops and waits (apparently indefinitely) until I kill it.  
> There are no error messages.
> 
> The same thing happens if I ssh to the FC1 box from elsewhere.
> 
> Other x clients work fine including, for example: xclock, gedit, and nautilus.
> 
> Within the ssh session:
> 
> echo $DISPLAY gives me:
> localhost:13.0

Hmmm, is 13 the display it should be on? Check to see if the offset is
13 in /etc/ssh/ssh_config. In mine, X11DisplayOffset is 10. You are
probably OK here if other programs launch sucessfully, but that struck
me as odd.

Also, try running emacs with no .emacs file. "emacs -q". If that
works, then you have a problem in your .emacs.

> 
> emacs works fine if I bypass ssh forwarding, such as:
> >emacs -display :0.0
> or
> >emacs -display anothermachine:0.0
> but not if I do:
> >emacs -display localhost:13.0
> 
> 
> Any ideas?
> 
> Greg
> 
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040213/b1fddcbd/attachment-0001.sig>


More information about the fedora-list mailing list