Remotely running gnome-terminal in Ubuntu 18.04 either crashes or opens a terminal on the host serving the terminal
Oct 29, 2018 asked by Mind Chasers
Question / Issue:
We recently updated several Ubuntu PCs from 16.04 to 18.04. When using 16.04, we ran gnome-terminal via Windows 10 using Cygwin (ssh -Y hostname) in order to get a Linux shell for a remote Linux machine on our Windows 10 PC. Since upgrading to 18.04, we either get a crash: "# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached" OR the terminal opens up on the Ubuntu machine serving the gnome-terminal.
Date: Oct. 29, 2018
Author: Mind Chasers
We find that we can launch gnome-terminal on our Windows 10 boxes via Cygwin if we launch it via dbus-launch: $ dbus-launch gnome-terminal This works with several recently upgraded Ubuntu 18.04 PCs. We're using a Cygwin terminal on Windows 10 and connect to our Linux PC via "ssh -Y <hostname>" We find that this also works with XQuartz 2.7.11 on MacOS.