all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: remote tramp hangs
Date: Wed, 02 Dec 2009 21:15:27 +1100	[thread overview]
Message-ID: <871vjdhebk.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: yzvocmhk8bw.fsf@did75-11-82-231-40-223.fbx.proxad.net

raphael.berbain@gmail.com (Raphaël Berbain) writes:

> * Michael Albinus:
>
>> You have posted the contents of the *Messages* buffer, and the backtrace
>> when you have quit Tramp. I do not see the *debug tramp/scp root@harry*
>> buffer.
>
> Have a look at line 180 & after in my first post.
>
>> Am I blind?
>
> Either that, or I am dense <g>.

Not sure about anyone else, but I am blind! I have possibly missed the
vital post, but the one I saw with debug was only the debug stuff from
ssh, nothing from tramp. 

However, I did have a thought....

If you can connect via tramp to a user account OK, but it appears to
fail when you attempt to connect as root AND if you are able to connect
as root just using ssh outside of emacs/tramp, then my guess would be
that tramp may be having problem detecting the shell prompt. 

On most Linux boxes, the prompt you get as a regular user is slightly
different from the prompt you get when logged in as the root user. I
have had problems with tramp in the past where the prompt was different
from what you normally get (so different that tramp got confused and
failed to connect). 

This is just a shot in the dark and may not be the issue, but thought it
was worth mentioning. 

The tramp debug output may shed more accurate info.

Tim

-- 
tcross (at) rapttech dot com dot au


  reply	other threads:[~2009-12-02 10:15 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-01 11:03 remote tramp hangs Raphaël Berbain
2009-12-01 18:16 ` Andreas Politz
2009-12-01 19:04 ` Peter Dyballa
2009-12-01 19:47 ` Harry Putnam
2009-12-01 20:12 ` Michael Albinus
     [not found] ` <mailman.11972.1259694305.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:46   ` Raphaël Berbain
     [not found] ` <mailman.11976.1259697012.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:54   ` Raphaël Berbain
     [not found] ` <mailman.11977.1259698390.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:55   ` Raphaël Berbain
2009-12-02  9:23     ` Michael Albinus
     [not found]     ` <mailman.12019.1259745826.2239.help-gnu-emacs@gnu.org>
2009-12-02  9:56       ` Raphaël Berbain
2009-12-02 10:15         ` Tim X [this message]
2009-12-02 13:56           ` Raphaël Berbain
2009-12-02 13:01         ` Michael Albinus
2009-12-02 17:02           ` Andreas Politz
     [not found]         ` <mailman.12025.1259758918.2239.help-gnu-emacs@gnu.org>
2009-12-02 13:56           ` Raphaël Berbain
2009-12-02 21:33             ` Michael Albinus
     [not found]             ` <mailman.12053.1259789634.2239.help-gnu-emacs@gnu.org>
2009-12-03  9:35               ` Raphaël Berbain
2009-12-03 11:22                 ` Raphaël Berbain
2009-12-03 20:58                   ` Michael Albinus
     [not found]                   ` <mailman.12120.1259873928.2239.help-gnu-emacs@gnu.org>
2009-12-03 22:50                     ` Raphaël Berbain
2009-12-07  6:43                       ` Michael Albinus
     [not found]                       ` <mailman.12409.1260168197.2239.help-gnu-emacs@gnu.org>
2009-12-14 14:20                         ` Raphaël Berbain
2009-12-15  6:27                           ` Michael Albinus
     [not found]                           ` <mailman.12991.1260858434.2239.help-gnu-emacs@gnu.org>
2009-12-15  8:14                             ` Raphaël Berbain
2009-12-15 21:17                               ` Michael Albinus
2009-12-02 22:03 ` notbob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871vjdhebk.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.