* tramp does not work when using athena
@ 2011-06-23 11:34 Ralf Schmitt
2011-06-23 13:24 ` Michael Albinus
0 siblings, 1 reply; 16+ messages in thread
From: Ralf Schmitt @ 2011-06-23 11:34 UTC (permalink / raw)
To: emacs-devel
I'm using emacs trunk on a 64 bit archlinux box, and noticed that tramp
does not work when configuring emacs to use the athena toolkit.
The following does not work:
,----
| ./configure --with-x-toolkit=athena --with-xft
| make
| src/emacs -Q --load ~/doit.el
`----
where doit.el contains:
,----[ doit.el ]
| (require 'tramp)
| (setq tramp-verbose 5)
| (setq tramp-default-method "ssh")
| (find-file "/root@mail:/etc/aliases")
`----
The emacs modelines says "Opening connection for root@mail using ssh..."
and it hangs there. C-g does work however.
If I change the configure line to any of the following two, it works:
./configure --with-x-toolkit=gtk3 --with-xft
./configure --with-x-toolkit=athena --with-xft --without-gconf --without-rsvg
--
Cheers,
Ralf
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-06-23 11:34 tramp does not work when using athena Ralf Schmitt
@ 2011-06-23 13:24 ` Michael Albinus
2011-06-23 20:40 ` Ralf Schmitt
0 siblings, 1 reply; 16+ messages in thread
From: Michael Albinus @ 2011-06-23 13:24 UTC (permalink / raw)
To: Ralf Schmitt; +Cc: emacs-devel
Ralf Schmitt <ralf@systemexit.de> writes:
> I'm using emacs trunk on a 64 bit archlinux box, and noticed that tramp
> does not work when configuring emacs to use the athena toolkit.
> The following does not work:
>
> ,----
> | ./configure --with-x-toolkit=athena --with-xft
> | make
> | src/emacs -Q --load ~/doit.el
> `----
>
> where doit.el contains:
> ,----[ doit.el ]
> | (require 'tramp)
> | (setq tramp-verbose 5)
> | (setq tramp-default-method "ssh")
> | (find-file "/root@mail:/etc/aliases")
> `----
>
> The emacs modelines says "Opening connection for root@mail using ssh..."
> and it hangs there. C-g does work however.
Could you, please, increase tramp-verbose to 6 in your doit.el, and
rerun the test? Tramp's debug buffer shall tell us what's happening.
> Cheers,
> Ralf
Best regards, Michael.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-06-23 13:24 ` Michael Albinus
@ 2011-06-23 20:40 ` Ralf Schmitt
2011-06-26 7:26 ` Michael Albinus
0 siblings, 1 reply; 16+ messages in thread
From: Ralf Schmitt @ 2011-06-23 20:40 UTC (permalink / raw)
To: emacs-devel
Michael Albinus <michael.albinus@gmx.de> writes:
> Could you, please, increase tramp-verbose to 6 in your doit.el, and
> rerun the test? Tramp's debug buffer shall tell us what's happening.
I noticed that sometimes tramp works fine even when using athena.
That's the contents of the debug buffer when it fails:
,----
| ;; GNU Emacs: 24.0.50.1 Tramp: 2.2.2-pre -*- mode: outline; -*-
| 22:21:06.701320 tramp-maybe-open-connection (3) # Opening connection for root@mail using ssh...
| 22:22:06.705598 tramp-wait-for-regexp (1) # File error: [[Regexp `\(^[^#$%>
| ]*[#$%>] *\|\(?:^\|\)[^#$%>
| ]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 60 secs]]
| 22:22:06.705848 tramp-wait-for-regexp (3) # Opening connection for root@mail using ssh...done
`----
Is it waiting for a prompt from the local shell here?
--
Cheers,
Ralf
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-06-23 20:40 ` Ralf Schmitt
@ 2011-06-26 7:26 ` Michael Albinus
2011-06-27 8:15 ` Ralf Schmitt
0 siblings, 1 reply; 16+ messages in thread
From: Michael Albinus @ 2011-06-26 7:26 UTC (permalink / raw)
To: Ralf Schmitt; +Cc: emacs-devel
Ralf Schmitt <ralf@systemexit.de> writes:
> That's the contents of the debug buffer when it fails:
>
> ,----
> | ;; GNU Emacs: 24.0.50.1 Tramp: 2.2.2-pre -*- mode: outline; -*-
> | 22:21:06.701320 tramp-maybe-open-connection (3) # Opening connection
> | for root@mail using ssh...
> | 22:22:06.705598 tramp-wait-for-regexp (1) # File error: [[Regexp `\(^[^#$%>
> | ]*[#$%>] *\|\(?:^\|\)[^#$%>
> | ]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 60 secs]]
> | 22:22:06.705848 tramp-wait-for-regexp (3) # Opening connection for
> | root@mail using ssh...done
> `----
>
> Is it waiting for a prompt from the local shell here?
Yes. If you would set tramp-verbose to 6, we could see more details.
> Cheers,
> Ralf
Best regards, Michael.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-06-26 7:26 ` Michael Albinus
@ 2011-06-27 8:15 ` Ralf Schmitt
2011-06-27 8:26 ` Ralf Schmitt
0 siblings, 1 reply; 16+ messages in thread
From: Ralf Schmitt @ 2011-06-27 8:15 UTC (permalink / raw)
To: emacs-devel; +Cc: michael.albinus
Michael Albinus <michael.albinus@gmx.de> writes:
>> Is it waiting for a prompt from the local shell here?
>
> Yes. If you would set tramp-verbose to 6, we could see more details.
Sorry, about that. Here's the debug buffer at level 10:
,----[ debug-tramp-ssh ]
| ;; GNU Emacs: 24.0.50.5 Tramp: 2.2.2-pre -*- mode: outline; -*-
| 10:03:45.566024 tramp-maybe-open-connection (3) # Opening connection for root@mail using ssh...
| 10:03:45.575693 tramp-get-connection-property (7) # process-name nil
| 10:03:45.575818 tramp-get-connection-property (7) # process-buffer nil
| 10:03:45.578332 tramp-maybe-open-connection (6) # /bin/sh
| 10:03:45.578535 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:45.578656 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:45.578829 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:46.579160 tramp-accept-process-output (10) #
| 10:03:46.579315 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:46.579421 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:46.579537 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:47.584783 tramp-accept-process-output (10) #
| 10:03:47.584937 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:47.585061 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:47.585167 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:48.585626 tramp-accept-process-output (10) #
| 10:03:48.585776 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:48.585880 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:48.585996 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:49.590917 tramp-accept-process-output (10) #
| 10:03:49.591063 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:49.591174 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:49.591274 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:50.596608 tramp-accept-process-output (10) #
| 10:03:50.596757 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:50.596862 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:50.596974 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:51.602322 tramp-accept-process-output (10) #
| 10:03:51.602469 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:51.602580 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:51.602686 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:52.608041 tramp-accept-process-output (10) #
| 10:03:52.608182 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:52.608290 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:52.608396 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:53.613728 tramp-accept-process-output (10) #
| 10:03:53.613870 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:53.613984 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:53.614084 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:54.615098 tramp-accept-process-output (10) #
| 10:03:54.615246 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:54.615352 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:54.615470 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:55.620814 tramp-accept-process-output (10) #
| 10:03:55.620958 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:55.621059 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:55.621157 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:56.625136 tramp-accept-process-output (10) #
| 10:03:56.625281 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:56.625382 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:56.625496 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:57.630893 tramp-accept-process-output (10) #
| 10:03:57.631026 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:57.631138 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:57.631237 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:58.631746 tramp-accept-process-output (10) #
| 10:03:58.631872 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:58.631977 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:58.632098 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:03:59.637464 tramp-accept-process-output (10) #
| 10:03:59.637607 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:59.637706 tramp-get-connection-property (7) # check-remote-echo nil
| 10:03:59.637804 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:00.641805 tramp-accept-process-output (10) #
| 10:04:00.641934 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:00.642041 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:00.642146 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:01.645118 tramp-accept-process-output (10) #
| 10:04:01.645274 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:01.645403 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:01.645503 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:02.648429 tramp-accept-process-output (10) #
| 10:04:02.648576 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:02.648677 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:02.648791 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:03.654129 tramp-accept-process-output (10) #
| 10:04:03.654277 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:03.654380 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:03.654482 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:04.659838 tramp-accept-process-output (10) #
| 10:04:04.659980 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:04.660085 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:04.660186 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:05.665659 tramp-accept-process-output (10) #
| 10:04:05.665806 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:05.665919 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:05.666019 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:06.671388 tramp-accept-process-output (10) #
| 10:04:06.671532 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:06.671651 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:06.671766 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:07.677120 tramp-accept-process-output (10) #
| 10:04:07.677237 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:07.677342 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:07.677444 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:08.680800 tramp-accept-process-output (10) #
| 10:04:08.680948 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:08.681049 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:08.681151 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:09.681427 tramp-accept-process-output (10) #
| 10:04:09.681584 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:09.681694 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:09.681812 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:10.682116 tramp-accept-process-output (10) #
| 10:04:10.682265 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:10.682407 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:10.682524 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:11.683410 tramp-accept-process-output (10) #
| 10:04:11.683564 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:11.683664 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:11.683767 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:12.684407 tramp-accept-process-output (10) #
| 10:04:12.684558 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:12.684659 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:12.684760 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:13.686179 tramp-accept-process-output (10) #
| 10:04:13.686331 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:13.686448 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:13.686552 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:14.691727 tramp-accept-process-output (10) #
| 10:04:14.691869 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:14.691972 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:14.692072 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:15.697442 tramp-accept-process-output (10) #
| 10:04:15.697608 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:15.697710 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:15.697810 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:16.703188 tramp-accept-process-output (10) #
| 10:04:16.703340 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:16.703452 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:16.703552 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:17.703918 tramp-accept-process-output (10) #
| 10:04:17.704067 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:17.704171 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:17.704292 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:18.709568 tramp-accept-process-output (10) #
| 10:04:18.709718 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:18.709819 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:18.709922 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:19.711766 tramp-accept-process-output (10) #
| 10:04:19.711912 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:19.712013 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:19.712120 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:20.717467 tramp-accept-process-output (10) #
| 10:04:20.717627 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:20.717730 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:20.717845 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:21.723197 tramp-accept-process-output (10) #
| 10:04:21.723345 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:21.723448 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:21.723563 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:22.728948 tramp-accept-process-output (10) #
| 10:04:22.729090 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:22.729195 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:22.729304 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:23.731023 tramp-accept-process-output (10) #
| 10:04:23.731170 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:23.731272 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:23.731376 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:24.731765 tramp-accept-process-output (10) #
| 10:04:24.731886 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:24.731997 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:24.732099 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:25.735096 tramp-accept-process-output (10) #
| 10:04:25.735244 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:25.735362 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:25.735466 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:26.737511 tramp-accept-process-output (10) #
| 10:04:26.737655 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:26.737760 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:26.737875 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:27.741765 tramp-accept-process-output (10) #
| 10:04:27.741909 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:27.742013 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:27.753046 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:28.758488 tramp-accept-process-output (10) #
| 10:04:28.758624 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:28.758728 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:28.758828 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:29.764178 tramp-accept-process-output (10) #
| 10:04:29.764321 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:29.764421 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:29.764520 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:30.769862 tramp-accept-process-output (10) #
| 10:04:30.770005 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:30.770106 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:30.770207 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:31.775561 tramp-accept-process-output (10) #
| 10:04:31.775706 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:31.775806 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:31.775904 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:32.781245 tramp-accept-process-output (10) #
| 10:04:32.781387 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:32.781485 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:32.781585 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:33.787508 tramp-accept-process-output (10) #
| 10:04:33.787653 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:33.787755 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:33.787855 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:34.793214 tramp-accept-process-output (10) #
| 10:04:34.793355 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:34.793453 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:34.793552 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:35.798889 tramp-accept-process-output (10) #
| 10:04:35.799030 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:35.799138 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:35.799237 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:36.804580 tramp-accept-process-output (10) #
| 10:04:36.804722 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:36.804820 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:36.804922 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:37.810279 tramp-accept-process-output (10) #
| 10:04:37.810421 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:37.810523 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:37.810620 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:38.811766 tramp-accept-process-output (10) #
| 10:04:38.811908 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:38.812006 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:38.812108 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:39.812684 tramp-accept-process-output (10) #
| 10:04:39.812835 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:39.812935 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:39.813033 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:40.816091 tramp-accept-process-output (10) #
| 10:04:40.816233 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:40.816332 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:40.816435 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:41.821770 tramp-accept-process-output (10) #
| 10:04:41.821915 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:41.822013 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:41.822113 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:42.822779 tramp-accept-process-output (10) #
| 10:04:42.822917 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:42.823038 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:42.823140 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:43.823824 tramp-accept-process-output (10) #
| 10:04:43.823965 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:43.824065 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:43.824164 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:44.825087 tramp-accept-process-output (10) #
| 10:04:44.825230 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:44.825331 tramp-get-connection-property (7) # check-remote-echo nil
| 10:04:44.825429 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
| 10:04:45.582826 tramp-wait-for-regexp (6) #
| 10:04:45.582958 tramp-wait-for-regexp (1) # File error: [[Regexp `\(^[^#$%>
| ]*[#$%>] *\|\(?:^\|\)[^#$%>
| ]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 60 secs]]
| 10:04:45.583134 tramp-wait-for-regexp (3) # Opening connection for root@mail using ssh...done
`----
--
Cheers,
- Ralf
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-06-27 8:15 ` Ralf Schmitt
@ 2011-06-27 8:26 ` Ralf Schmitt
2011-06-27 20:34 ` Jan Djärv
0 siblings, 1 reply; 16+ messages in thread
From: Ralf Schmitt @ 2011-06-27 8:26 UTC (permalink / raw)
To: emacs-devel; +Cc: michael.albinus
Ralf Schmitt <ralf@systemexit.de> writes:
> Michael Albinus <michael.albinus@gmx.de> writes:
>
>>> Is it waiting for a prompt from the local shell here?
>>
>> Yes. If you would set tramp-verbose to 6, we could see more details.
>
> Sorry, about that. Here's the debug buffer at level 10:
>
> ,----[ debug-tramp-ssh ]
> | 10:04:44.825087 tramp-accept-process-output (10) #
> | 10:04:44.825230 tramp-get-connection-property (7) # check-remote-echo nil
> | 10:04:44.825331 tramp-get-connection-property (7) # check-remote-echo nil
> | 10:04:44.825429 tramp-accept-process-output (10) # *tramp/ssh root@mail* run
> | 10:04:45.582826 tramp-wait-for-regexp (6) #
> | 10:04:45.582958 tramp-wait-for-regexp (1) # File error: [[Regexp `\(^[^#$%>
> | ]*[#$%>] *\|\(?:^\|\)[^#$%>
> | ]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 60 secs]]
> | 10:04:45.583134 tramp-wait-for-regexp (3) # Opening connection for root@mail using ssh...done
> `----
One more info: Running emacs inside gdb makes my tramp work reliably!
--
Cheers,
Ralf
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-06-27 8:26 ` Ralf Schmitt
@ 2011-06-27 20:34 ` Jan Djärv
2011-06-27 20:53 ` Michael Albinus
0 siblings, 1 reply; 16+ messages in thread
From: Jan Djärv @ 2011-06-27 20:34 UTC (permalink / raw)
To: Ralf Schmitt; +Cc: michael.albinus, emacs-devel
Ralf Schmitt skrev 2011-06-27 10.26:
>
> One more info: Running emacs inside gdb makes my tramp work reliably!
>
Sounds like a timing problem.
Jan D.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-06-27 20:34 ` Jan Djärv
@ 2011-06-27 20:53 ` Michael Albinus
2011-07-16 15:06 ` David Engster
0 siblings, 1 reply; 16+ messages in thread
From: Michael Albinus @ 2011-06-27 20:53 UTC (permalink / raw)
To: Jan Djärv; +Cc: Ralf Schmitt, emacs-devel
Jan Djärv <jan.h.d@swipnet.se> writes:
> Ralf Schmitt skrev 2011-06-27 10.26:
>
>> One more info: Running emacs inside gdb makes my tramp work reliably!
>
> Sounds like a timing problem.
Likely not. Ralf has performed more tests (communicated off the list);
the problem is the (missing) tty.
We are working on a solution.
> Jan D.
Thanks, and best regards, Michael.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-06-27 20:53 ` Michael Albinus
@ 2011-07-16 15:06 ` David Engster
2011-07-18 8:31 ` Ralf Schmitt
2011-07-18 20:50 ` Michael Albinus
0 siblings, 2 replies; 16+ messages in thread
From: David Engster @ 2011-07-16 15:06 UTC (permalink / raw)
To: Michael Albinus; +Cc: Ralf Schmitt, Jan Djärv, emacs-devel
Michael Albinus writes:
> Jan Djärv <jan.h.d@swipnet.se> writes:
>
>> Ralf Schmitt skrev 2011-06-27 10.26:
>>
>>> One more info: Running emacs inside gdb makes my tramp work reliably!
>>
>> Sounds like a timing problem.
>
> Likely not. Ralf has performed more tests (communicated off the list);
> the problem is the (missing) tty.
>
> We are working on a solution.
Hi Michael,
are there any news on that front? I'm afraid I'm struggling with the
same problem on GNU/Linux with a Lucid-build. While using 'sshx' works
in principal, it fails to use a shared ssh connection, which is pretty
important for me when using Tramp in eshell, otherwise it's just too
slow. (Emacs/GTK works fine, though.)
-David
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-07-16 15:06 ` David Engster
@ 2011-07-18 8:31 ` Ralf Schmitt
2011-07-22 8:51 ` Jan Djärv
2011-07-18 20:50 ` Michael Albinus
1 sibling, 1 reply; 16+ messages in thread
From: Ralf Schmitt @ 2011-07-18 8:31 UTC (permalink / raw)
To: emacs-devel
David Engster <deng@randomsample.de> writes:
>
> are there any news on that front? I'm afraid I'm struggling with the
> same problem on GNU/Linux with a Lucid-build. While using 'sshx' works
> in principal, it fails to use a shared ssh connection, which is pretty
> important for me when using Tramp in eshell, otherwise it's just too
> slow. (Emacs/GTK works fine, though.)
I can give you some more details on the problem itself. tramp uses
start-process to execute a shell and wait for the initial prompt. But
the shell doesn't output one, since stdin is not connected to a tty (It
should be). I used the following short program:
,----[ isatty.c ]
| #include <stdio.h>
| #include <unistd.h>
|
| int main(int argc, char **argv)
| {
| fprintf(stdout, isatty(1) ? "yes\n" : "no\n");
| return 0;
| }
`----
Running the following command
,----
| [py27] [git:master+] ~/vendor/emacs/ % src/emacs -Q --execute '(progn (start-process "test" "test" "/home/ralf/isatty")(switch-to-buffer "test"))'
|
| (process:18919): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but SIGCHLD action was set to SIG_IGN and ECHILD was received by waitpid(), so exit status can't be returned. This is a bug in the program calling g_spawn_sync(); either don't request the exit status, or don't set the SIGCHLD action.
| Warning: Cannot convert string "Inconsolata-11" to type FontStruct
`----
gives me a buffer with the string "no". The above warning message looks
like another problem.
I worked around the issue by configuring with
,----
| ./configure --with-x-toolkit=athena --with-xft --without-gconf --without-rsvg
`----
--
Cheers,
Ralf
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-07-16 15:06 ` David Engster
2011-07-18 8:31 ` Ralf Schmitt
@ 2011-07-18 20:50 ` Michael Albinus
2011-07-21 20:08 ` David Engster
1 sibling, 1 reply; 16+ messages in thread
From: Michael Albinus @ 2011-07-18 20:50 UTC (permalink / raw)
To: emacs-devel
David Engster <deng@randomsample.de> writes:
> Hi Michael,
Hi David,
> are there any news on that front? I'm afraid I'm struggling with the
> same problem on GNU/Linux with a Lucid-build. While using 'sshx' works
> in principal, it fails to use a shared ssh connection, which is pretty
> important for me when using Tramp in eshell, otherwise it's just too
> slow. (Emacs/GTK works fine, though.)
Looks to me like you need a combination of scpc and sshx. Hmm, that's a
problem, Tramp does not support to combine methods.
What about creating your own method? Something like this in your .emacs:
(add-to-list 'tramp-methods
'("myssh"
(tramp-login-program "ssh")
(tramp-login-args (("-l" "%u") ("-p" "%p")
("-o" "ControlPath=%t.%%r@%%h:%%p")
("-o" "ControlMaster=yes")
("-e" "none") ("-t" "-t")
("%h") ("/bin/sh")))
(tramp-async-args (("-q")))
(tramp-remote-sh "/bin/sh")
(tramp-default-port 22)))
> -David
Best regards, Michael.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-07-18 20:50 ` Michael Albinus
@ 2011-07-21 20:08 ` David Engster
0 siblings, 0 replies; 16+ messages in thread
From: David Engster @ 2011-07-21 20:08 UTC (permalink / raw)
To: emacs-devel; +Cc: Ralf Schmitt, Michael Albinus
Michael Albinus writes:
> David Engster <deng@randomsample.de> writes:
>> are there any news on that front? I'm afraid I'm struggling with the
>> same problem on GNU/Linux with a Lucid-build. While using 'sshx' works
>> in principal, it fails to use a shared ssh connection, which is pretty
>> important for me when using Tramp in eshell, otherwise it's just too
>> slow. (Emacs/GTK works fine, though.)
>
> Looks to me like you need a combination of scpc and sshx. Hmm, that's a
> problem, Tramp does not support to combine methods.
>
> What about creating your own method? Something like this in your .emacs:
[...]
Thanks Michael, this special 'myssh' method works.
I can also confirm that Ralf's suggestion to use Lucid in combination
with '--without-gconf' does also work with the normal 'ssh' method. This
is what I'm using now since I don't care for gconf anyway. Thanks Ralf!
It is just a bit strange that it depends on the toolkit and/or gconf
whether ssh can allocate a pseudo terminal or not. The manual says that
this is a common problem with older ssh and cygwin, but I see the exact
same problem with a Lucid&gconf build and OpenSSH 5.8p2:
M-x eshell
ssh somehost
"Pseudo-terminal will not be allocated because stdin is not a terminal"
(The login works, but no prompt is appearing.)
Cheers,
David
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-07-18 8:31 ` Ralf Schmitt
@ 2011-07-22 8:51 ` Jan Djärv
2011-07-22 9:31 ` Ralf Schmitt
0 siblings, 1 reply; 16+ messages in thread
From: Jan Djärv @ 2011-07-22 8:51 UTC (permalink / raw)
To: Ralf Schmitt; +Cc: emacs-devel
Hello.
Ralf Schmitt skrev 2011-07-18 10.31:
> David Engster<deng@randomsample.de> writes:
>
>>
>> are there any news on that front? I'm afraid I'm struggling with the
>> same problem on GNU/Linux with a Lucid-build. While using 'sshx' works
>> in principal, it fails to use a shared ssh connection, which is pretty
>> important for me when using Tramp in eshell, otherwise it's just too
>> slow. (Emacs/GTK works fine, though.)
>
> I can give you some more details on the problem itself. tramp uses
> start-process to execute a shell and wait for the initial prompt. But
> the shell doesn't output one, since stdin is not connected to a tty (It
> should be). I used the following short program:
>
> ,----[ isatty.c ]
> | #include<stdio.h>
> | #include<unistd.h>
> |
> | int main(int argc, char **argv)
> | {
> | fprintf(stdout, isatty(1) ? "yes\n" : "no\n");
> | return 0;
> | }
> `----
>
> Running the following command
>
> ,----
> | [py27] [git:master+] ~/vendor/emacs/ % src/emacs -Q --execute '(progn (start-process "test" "test" "/home/ralf/isatty")(switch-to-buffer "test"))'
> |
> | (process:18919): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but SIGCHLD action was set to SIG_IGN and ECHILD was received by waitpid(), so exit status can't be returned. This is a bug in the program calling g_spawn_sync(); either don't request the exit status, or don't set the SIGCHLD action.
> | Warning: Cannot convert string "Inconsolata-11" to type FontStruct
> `----
>
> gives me a buffer with the string "no". The above warning message looks
> like another problem.
>
> I worked around the issue by configuring with
> ,----
> | ./configure --with-x-toolkit=athena --with-xft --without-gconf --without-rsvg
> `----
There is something else going on here. I can not reproduce this error, I
always get "yes" in the buffer. Futhermore, g_spawn_sync is a function in
glib. But Emacs never calls it, so where does it come from? Can you run
strace on your Emacs to see what it tries to spawn? Since you leave out gconf
and rsvg, glib does not get linked in, so the problem dissapears.
You should file a proper bug report so we can see how you configured your
Emacs. Also, what system do you run on?
Jan D.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-07-22 8:51 ` Jan Djärv
@ 2011-07-22 9:31 ` Ralf Schmitt
2011-07-22 9:42 ` David Engster
2011-07-22 18:07 ` Ralf Schmitt
0 siblings, 2 replies; 16+ messages in thread
From: Ralf Schmitt @ 2011-07-22 9:31 UTC (permalink / raw)
To: emacs-devel
Jan Djärv <jan.h.d@swipnet.se> writes:
>
> There is something else going on here. I can not reproduce this
> error, I always get "yes" in the buffer. Futhermore, g_spawn_sync is
> a function in glib. But Emacs never calls it, so where does it come
> from? Can you run strace on your Emacs to see what it tries to spawn?
g_spawn_sync is called during normal initialization by init_gconf. here
is part of the backtrace:
,----
| (gdb) bt
| #0 0x00007ffff42049e0 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
| #1 0x00007ffff4205209 in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
| #2 0x00007ffff522e709 in ?? () from /usr/lib/libgio-2.0.so.0
| #3 0x00007ffff523010a in g_dbus_address_get_for_bus_sync () from /usr/lib/libgio-2.0.so.0
| #4 0x00007ffff52393fe in ?? () from /usr/lib/libgio-2.0.so.0
| #5 0x00007ffff524062b in g_bus_get_sync () from /usr/lib/libgio-2.0.so.0
| #6 0x00007ffff2b9ff24 in ?? () from /usr/lib/libgconf-2.so.4
| #7 0x00007ffff2ba01b2 in gconf_activate_server () from /usr/lib/libgconf-2.so.4
| #8 0x00007ffff2baa0c4 in ?? () from /usr/lib/libgconf-2.so.4
| #9 0x00007ffff2baa59f in ?? () from /usr/lib/libgconf-2.so.4
| #10 0x00007ffff2baa8c1 in ?? () from /usr/lib/libgconf-2.so.4
| #11 0x00007ffff2bab154 in gconf_engine_notify_add () from /usr/lib/libgconf-2.so.4
| #12 0x00007ffff2bb2d15 in gconf_client_add_dir () from /usr/lib/libgconf-2.so.4
| #13 0x00000000004ed8ca in init_gconf (dpyinfo=0x10e9790) at xsettings.c:874
| #14 xsettings_initialize (dpyinfo=0x10e9790) at xsettings.c:947
| #15 0x00000000004c9687 in x_term_init (display_name=15602657, xrm_option=0x0, resource_name=0xee0de8 "emacs")
| at xterm.c:10282
| #16 0x00000000004cb5e5 in Fx_open_connection (display=15602657, xrm_string=<value optimized out>,
| must_succeed=11946546) at xfns.c:4066
`----
strace tells me that emacs forks and tries to exec dbus-launch. The
warning message is printed right after dbus-launch finishes. I really
think this is another issue...
> Since you leave out gconf and rsvg, glib does not get linked in, so
> the problem dissapears.
>
> You should file a proper bug report so we can see how you configured
> your Emacs. Also, what system do you run on?
This is happening on a 64 bit arch linux. I'll try to open a bug
report...
--
Cheers,
Ralf
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-07-22 9:31 ` Ralf Schmitt
@ 2011-07-22 9:42 ` David Engster
2011-07-22 18:07 ` Ralf Schmitt
1 sibling, 0 replies; 16+ messages in thread
From: David Engster @ 2011-07-22 9:42 UTC (permalink / raw)
To: emacs-devel
Ralf Schmitt writes:
> Jan Djärv <jan.h.d@swipnet.se> writes:
>> Since you leave out gconf and rsvg, glib does not get linked in, so
>> the problem dissapears.
>>
>> You should file a proper bug report so we can see how you configured
>> your Emacs. Also, what system do you run on?
>
> This is happening on a 64 bit arch linux. I'll try to open a bug
> report...
I also have the problem Arch linux, albeit 32bit. So far I could *not*
reproduce this on Debian/sid, nor on OS X 10.6/macports.
-David
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: tramp does not work when using athena
2011-07-22 9:31 ` Ralf Schmitt
2011-07-22 9:42 ` David Engster
@ 2011-07-22 18:07 ` Ralf Schmitt
1 sibling, 0 replies; 16+ messages in thread
From: Ralf Schmitt @ 2011-07-22 18:07 UTC (permalink / raw)
To: emacs-devel
Ralf Schmitt <ralf@systemexit.de> writes:
> Jan Djärv <jan.h.d@swipnet.se> writes:
>
>>
>> You should file a proper bug report so we can see how you configured
>> your Emacs. Also, what system do you run on?
>
> This is happening on a 64 bit arch linux. I'll try to open a bug
> report...
done:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9150
--
Cheers,
Ralf
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2011-07-22 18:07 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23 11:34 tramp does not work when using athena Ralf Schmitt
2011-06-23 13:24 ` Michael Albinus
2011-06-23 20:40 ` Ralf Schmitt
2011-06-26 7:26 ` Michael Albinus
2011-06-27 8:15 ` Ralf Schmitt
2011-06-27 8:26 ` Ralf Schmitt
2011-06-27 20:34 ` Jan Djärv
2011-06-27 20:53 ` Michael Albinus
2011-07-16 15:06 ` David Engster
2011-07-18 8:31 ` Ralf Schmitt
2011-07-22 8:51 ` Jan Djärv
2011-07-22 9:31 ` Ralf Schmitt
2011-07-22 9:42 ` David Engster
2011-07-22 18:07 ` Ralf Schmitt
2011-07-18 20:50 ` Michael Albinus
2011-07-21 20:08 ` David Engster
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).