You are not logged in.

#1 2022-08-08 12:34:00

GeneArch
Member
Registered: 2013-07-28
Posts: 74

gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

I have been using kde and want to test gnome - I installed it on 3 computers. On 2 of them all is fine.
On the third before actually logging in with gnome session, I wanted to see how to start gnome-terminal with multiple tabs - something I have been doing with konsole.
So I experimented running gnome-terminal --tab --tab and the like which seemed to work - but then out of nowhere it started with many many tabs (top showed tons of gnome-terminal's ) and I have to kill the window before my computer becomes unusable.

What is more strange is if I now run any terminal (konsole for example) it works but in addition a gnome-terminal with same massive number of tabs starts as well - one for each tab in the konsole.
Same for every terminal I run - somehow gnome-terminal is now in very bad state.

This behavior is same in plasma or gnome desktop session.

I've searched high and low for how to clean up but only fix I have for now is uninstall gnome-terminal.

I tried running 'strace -f' on konsole - but didn't see an explanation - also stracee on gnome-terminal itself. Searched and cleaned .local and .config best I can but nothing I do seems to help.

Any suggestions on how to get gnome-terminal working normally again ?

thank you for any guidance!

gene

Last edited by GeneArch (2022-08-08 14:12:01)

Offline

#2 2022-08-08 13:05:50

GeneArch
Member
Registered: 2013-07-28
Posts: 74

Re: gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

Forgot to say stracing konsole - shows it starts 2 gnome-terminals each as : gnome-terminal --tab --tab --tab --tab
Why would konsole start a gnome-terminal?

Since each terminal has many more than 4 tabs - I wonder 'where' does gnome terminal remember to start with 4 tabs - and it 'appears' as though each 'tab' is starting with another 4 tabs .. or something.

Anyway - if any gnome-experts can advice how to clear and make it forget be much appreciated.

thanks!

Offline

#3 2022-08-08 13:08:16

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,988
Website

Re: gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

GeneArch wrote:

Why would konsole start a gnome-terminal?

Probably because you told it to.
What did you configure as startup command in either terminal emulator?


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#4 2022-08-08 13:23:04

GeneArch
Member
Registered: 2013-07-28
Posts: 74

Re: gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

hi
  konsole command is: /bin/bash
  gnome-terminal command is blank - I did not choose custom command instead of my shell - option.

  Where does gnome-terminal save the arguments --tab times 4 do you know?

Offline

#5 2022-08-08 13:24:41

GeneArch
Member
Registered: 2013-07-28
Posts: 74

Re: gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

this behaviour happens with ANY terminal - so there are 2 things that are problematic.

  a) any terminal somehow also starts a gnome-terminal in addition to itself.
  b) any gnome-terminal has way way too many tabs

Offline

#6 2022-08-08 13:31:01

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

What's the output of

ps -ef | grep gnome-terminal

(issued from another terminal)?

Last edited by dogknowsnx (2022-08-08 13:32:06)


RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#7 2022-08-08 13:35:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

Do you get any error messages if you log in to a tty (and / or does logging in to a tty make more gnome terminals appear in your graphical session)?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2022-08-08 13:50:56

GeneArch
Member
Registered: 2013-07-28
Posts: 74

Re: gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

when the gnome-terminal pops up there are tons of gnome-terminals (I was running top) - not sure if threads or processes now. I need to kill it fairly quickly before it fork-bombs me.

@trilby - wow good question - when I login to tty indeed the graphical session starts up gnome-terminals -

In konsole if i open new tab - it does same thing - gnome-terminal pops up.

I have not changed by .bash_profile - but will go check now

Offline

#9 2022-08-08 13:54:14

GeneArch
Member
Registered: 2013-07-28
Posts: 74

Re: gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

@trilby you are a star.

User dummy duh - i added a helper script to my bash startups to help run gnome-terminals with tabs preset up - and put them in a directory which gets run in .bashrc - instead of in my helper directory ...

Asymptotically idiotic self ... thanks you thank you.

Offline

#10 2022-08-08 13:55:29

GeneArch
Member
Registered: 2013-07-28
Posts: 74

Re: gnome-terminal went crazy - ideas how to fix? [SOLVED - pebcak]

I fork bombed myself - thank you for your help!!

Offline

Board footer

Powered by FluxBB