GNOME Bugzilla – Bug 704972
Cannot open remote terminal
Last modified: 2013-07-28 17:12:27 UTC
Whilst in Nautilus I can connect to a remote host, it fails to do so in Terminal. Steps to reproduce: 1. Open a remote host in Nautilus, i.e. sftp://username@domain.com/directory 2. Once switched to domain.com/directory, in Nautilus select "Open in remote terminal" from context menu. 3. Gnome Terminal will open but will remain empty (see screenshot [1]). Nothing more will happen. Note: It cannot be a permission problem since I can access the remote host in Nautilus without entering a passphrase. [1] Screenshot: http://i.imgur.com/3LyGag9.png
Are you absolutely certain you're using the gnome-terminal nautilus extension (which isn't supported on version 3.8), and not the standalone nautilus-open-terminal (which is unmaintained and broken) ?
Hi Christian, At least I have `nautilus-open-terminal 0.20-1` installed. But how can I check whether clicking on "Open in remote terminal" from context menu uses `nautilus-open-terminal` or `gnome-terminal nautilus extension`?
$ cat /proc/$(pidof nautilus)/maps | grep terminal If it contains 'libnautilus-open-terminal' the it's nautilus-open-terminal; it it contains 'libterminal-nautilus' then it's gnome-terminal's own one. In any case, would be useful to try gnome-terminal 3.9's one to see if it has the same problem.
$ cat /proc/$(pidof nautilus)/maps | grep terminal 7f95efdfb000-7f95efdff000 r-xp 00000000 fe:00 266407 /usr/lib/nautilus/extensions-3.0/libnautilus-open-terminal.so 7f95efdff000-7f95efffe000 ---p 00004000 fe:00 266407 /usr/lib/nautilus/extensions-3.0/libnautilus-open-terminal.so 7f95efffe000-7f95effff000 r--p 00003000 fe:00 266407 /usr/lib/nautilus/extensions-3.0/libnautilus-open-terminal.so 7f95effff000-7f95f0000000 rw-p 00004000 fe:00 266407 /usr/lib/nautilus/extensions-3.0/libnautilus-open-terminal.so So it's the open-terminal one. Since it is unmaintained I guess I should uninstall it and rather use Gnome-Terminal's own one? I would like to test gnome-terminal 3.9 but it is not available on Arch. I will then wait until it is released, test it and report again.
I just saw, uninstalling `nautilus-open-terminal` removes the context menu entry `Open in terminal`. So, how do I use gnome-terminal's own implementation in the context menu instead?
Build gnome-terminal using the --with-nautilus-extension configure switch.
Created attachment 250318 [details] Custom action to open remote terminal in current directory
Nice, with the help of `Nautilus Actions` I created a custom action with path `/usr/bin/gnome-terminal` and working directory `%d/%b`. Whilst having opened a remote directory in Nautilus and then running the custom action, Gnome Terminal opens a remote terminal session.