all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathias Millet <mathiasmillet@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Emacs hangs when using tramp with su
Date: Tue, 03 Apr 2012 17:24:15 +0200	[thread overview]
Message-ID: <4F7B161F.1010109@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]

Hi everyone,
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

The last line :

|  17:13:59.988240 tramp-file-name-handler (1) # Interrupt received in operation (file-exists-p /su:root@localhost:)|

seems to say that the hangs happens inside *tramp-file-name-handler* or 
*file-exists-p /su:root@localhost:*, but i don't really know what to do 
with that...

I have no idea of what might cause this, the installation is just really 
new (I don't remember if this worked at some point, but there was no 
problem at all before I reinstall).
So if anyone has an idea of what might cause this, I've been searching 
but couldn't find anything really usefull...

Thanks


[-- Attachment #2: Type: text/html, Size: 1947 bytes --]

             reply	other threads:[~2012-04-03 15:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 15:24 Mathias Millet [this message]
2012-04-03 17:49 ` Emacs hangs when using tramp with su Michael Albinus
2012-04-03 18:47   ` Mathias Millet
2012-04-03 19:01     ` Michael Albinus

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=4F7B161F.1010109@gmail.com \
    --to=mathiasmillet@gmail.com \
    --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.