Bug#752105: crappy workaround

Luc Maisonobe luc at spaceroots.org
Tue Feb 18 10:36:59 GMT 2025


Hi again,

Investigating further on
  - the possible race condition,
  - the fact that sometimes gnome-terminal does appear
  - the fact it is really a client-server provess with some gnome-
terminal-server process implied

I tried as a workaround to launch gnome-terminal several times in row,
so the second launch would possibly attempt to connect to the server
the first launch would have tried to initialize.

It kinda works.

What I do is from an emacs shell buffer, I set up two launches in row
by just typing "gnome-terminal ; gnome-terminal". I sometimes get only
one terminal (I guess it is the second one), and sometimes I get both.
Another possibility is to try just once to launch "gnome-terminal", and
if it fails to try again immediately after getting the error message.
My interpretation is that the server process is delayed, and that the
second launch is finally able to connect to it, as if only one server
process would serve as many terminal as are opened by user, and that
this process would remain a few seconds.

Once at least one terminal is up and working, then I can open new ones
instantly, either from the command line (like the initial emacs shell
buffer), or from the dash by using right-click and "Nouvelle Fenêtre
(new window)".

Luc



More information about the pkg-gnome-maintainers mailing list