Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer
Denna tråd har arkiverats. Ställ en ny fråga om du behöver hjälp.
Arkiverad

Firefox closes itself when I use "exit" command on tmux

Knight Hat

As described in the title, Firefox closes itself when I use command `exit` in tmux terminal despite having any connection

As described in the title, Firefox closes itself when I use command `exit` in tmux terminal despite having any connection

Alla svar (7)

How did you open Firefox?

Did you start Firefox via this terminal window ?

jonzn4SUSE said

How did you open Firefox?

I set it to open at start up but even if I open it through .desktop file problem still exists

cor-el said

Did you start Firefox via this terminal window ?

No, I ran firefox through .desktop file which is just ‘Exec=firefox’ command. I even created a new tmux session after launching firefox and still closes itself when I execute “exit”


Note: Firefox closes just like you click the “x” button, not crash

I assume if you take tmux out of the process, Firefox would have no issue?

jonzn4SUSE said

I assume if you take tmux out of the process, Firefox would have no issue?

If you're talking about killing it, then yes. A temporary solution for this is manually detach it Ctrl+B A then use tmux kill-session -t <session-name>

You said "I set it to open at start up". How? Just running Firefox from the icon without tmux, does the browser work normally? I'm still trying to understand how this is a Firefox issue.

jonzn4SUSE said

You said "I set it to open at start up". How? Just running Firefox from the icon without tmux, does the browser work normally? I'm still trying to understand how this is a Firefox issue.

I'm sorry for the confusion, I'm using gnome-tweaks to launch apps at startup. But Firefox still closes itself when I execute "exit" command (despite having any relation to "tmux").

NEW CLUE: After updating Firefox, here's what I extracted from terminal (See the included gif for more information)

[ERROR glean_core] Error setting metrics feature config: Json(Error("EOF while parsing a value", line: 1, column: 0)) Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Terminated