From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Emacs hangs when using tramp with su Date: Tue, 03 Apr 2012 19:49:43 +0200 Message-ID: <87vclgaeo8.fsf@gmx.de> References: <4F7B161F.1010109@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1333475399 26335 80.91.229.3 (3 Apr 2012 17:49:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2012 17:49:59 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Mathias Millet Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 03 19:49:58 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SF7rh-0001pF-T1 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Apr 2012 19:49:58 +0200 Original-Received: from localhost ([::1]:55082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF7rh-0004tH-AN for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Apr 2012 13:49:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF7rZ-0004sO-3m for help-gnu-emacs@gnu.org; Tue, 03 Apr 2012 13:49:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SF7rX-0006lG-7X for help-gnu-emacs@gnu.org; Tue, 03 Apr 2012 13:49:48 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:58215) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SF7rW-0006iz-T7 for help-gnu-emacs@gnu.org; Tue, 03 Apr 2012 13:49:47 -0400 Original-Received: (qmail invoked by alias); 03 Apr 2012 17:49:44 -0000 Original-Received: from p57BB9705.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.151.5] by mail.gmx.net (mp020) with SMTP; 03 Apr 2012 19:49:44 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/EnYJedwfEydorl1x0imQxcoVm0PZ0edYeK7uvKj 3YjQI4vhcDL2Bj In-Reply-To: <4F7B161F.1010109@gmail.com> (Mathias Millet's message of "Tue, 03 Apr 2012 17:24:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84294 Archived-At: Mathias Millet writes: > Hi everyone, Hi Mathias, > After reinstalling my system, I found out that I couldnt have tramp > working anymore, it hangs right after i enter my password. > > Here is what exactly happens : I type in C-x C-f /su:root@localhost: > Here emacs asks for my password, which I provide. It then hangs, > showing the above string in the minibuffer, and after some time : > Tramp: Waiting for prompts from remote shell > > After i cancel the operation, i have : > > Here is what is in the tramp/su root@localhost buffer : > > Password: Password: > su: incorrect password > > Process *tramp/su root@localhost* exited abnormally with code 125 > > And here is what's in debug tramp/su root@localhost : > http://pastebin.com/0CKD1yM3 It is not the complete debug buffer. For further analysis. I would need the full Tramp traces (best send as attachment, non-ASCII chars matter!). If you do not want to show the traces publicly, you could send them to me off list. > So if anyone has an idea of what might cause this, I've been searching > but couldn't find anything really usefull... At least the first line of your trace looks very suspicious, a lot of escape sequences in the prompt. > Thanks Best regards, Michael.