From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xiao-Yong Jin Newsgroups: gmane.emacs.help Subject: Re: Connecting to remote Emacs? Date: Thu, 15 Jun 2006 22:15:52 -0400 Organization: Columbia University Message-ID: <87ac8drgkn.fsf@photon.homelinux.org> References: <1150277991.614774.87970@y41g2000cwy.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150425635 2190 80.91.229.2 (16 Jun 2006 02:40:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jun 2006 02:40:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 16 04:40:34 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fr4G2-0003Jz-EP for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jun 2006 04:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fr4G1-0002u3-SA for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jun 2006 22:40:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsfeed.nyu.edu!newsmaster.cc.columbia.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: dyn-carl-201-40.dyn.columbia.edu Original-X-Trace: newsmaster.cc.columbia.edu 1150424153 11933 160.39.201.40 (16 Jun 2006 02:15:53 GMT) Original-X-Complaints-To: postmaster@columbia.edu Original-NNTP-Posting-Date: 16 Jun 2006 02:15:53 GMT User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:gA3o9oyH3fQGZ5rX3VVUT9Gw/sc= Original-Xref: shelby.stanford.edu gnu.emacs.help:139869 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35493 Archived-At: Andrea Russo writes: > alistair_happencross@hotmail.com writes: > >> I'd like to be able to reconnect to the running Emacs process and have >> it display on my X server at home. Is this possible? > > In the X11 forwarded ssh shell: > > $ emacsclient -e "(make-frame-on-display \"$DISPLAY\")" > > Of course you should have started the emacs server with (server-start) > in your .emacs file. > > Andrea. > > -- > ((lambda (x) (list x x)) (lambda (x) (list x x))) After I use C-x 5 0 to close this frame, it seems some background process is still connected -- I cannot close the ssh connection by just exiting shell. And when I close the ssh by C-c, the remote emacs process crashes. I tried C-x #, but it didn't help. -- Xiao-Yong