Gnome terminal doesn't work

Gnome terminal has stopped working although other terminals like konsole work just fine.
I’ve tried to reinstall it and restart the device but it didn’t work.
when I enter the line sudo gnome-terminal it sends back the error : Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Process org.gnome.Terminal exited with status 8
but when I just use gnome-terminal it sends : Error creating terminal: Could not activate remote peer: startup job failed.
my locale details are as the follow:

  System Locale: LANG=en_US.UTF-8
                  LC_MESSAGES=C
       VC Keymap: us
      X11 Layout: us

I don’t know what i have to do… :slightly_frowning_face:

This doesn’t work.

Try to add the --verbose option and look if you get more information.

These are the results:

gnome-terminal gnome-terminal --verbose
# Warning: DESKTOP_STARTUP_ID not set and no fallback available.
# Error creating terminal: Could not activate remote peer: startup job failed.

A solution for similar issue in Linux Mint may be useful here.

Are you using swaywm?

No, I’m not using swaywm

EDIT:
I tried the solutions proposed in the linked page, didn’t work sadly.
But here’s this:

grep terminal /var/log/syslog
grep: /var/log/syslog: No such file or directory
 /usr/bin/gnome-terminal.real
bash: /usr/bin/gnome-terminal.real: No such file or directory

I’m pretty sure that gnome terminal is installed, but there’s no files for it

Have you tried the gnome-terminal command? That is what the .desktop file uses to launch it.

The file is at /usr/bin/gnome-terminal, the package installed is gnome-terminal.
Logs will be seen with journalctl | grep terminal.

To see the log files available under /var/log try ls /var/log

What desktop environment are you running?

thanks

Yes, I’ve used the gnome-terminalcommand, but it keeps sending the same error.
The that are related to the terminal are :

Dec 24 10:08:30 fedora gnome-terminal-server[22743]: Non UTF-8 locale (ISO-8859-1) is not supported!
Dec 24 10:08:30 fedora systemd[20538]: gnome-terminal-server.service: Main process exited, code=exited, status=8/n/a
Dec 24 10:08:30 fedora systemd[20538]: gnome-terminal-server.service: Failed with result 'exit-code'.
Dec 24 10:08:30 fedora systemd[20538]: Failed to start gnome-terminal-server.service - GNOME Terminal Server.
Dec 24 10:08:30 fedora systemd[20538]: Starting gnome-terminal-server.service - GNOME Terminal Server...
Dec 24 10:08:30 fedora gnome-terminal-server[22745]: Non UTF-8 locale (ISO-8859-1) is not supported!
Dec 24 10:08:30 fedora systemd[20538]: gnome-terminal-server.service: Main process exited, code=exited, status=8/n/a
Dec 24 10:08:30 fedora systemd[20538]: gnome-terminal-server.service: Failed with result 'exit-code'.
Dec 24 10:08:30 fedora systemd[20538]: Failed to start gnome-terminal-server.service - GNOME Terminal Server.
Dec 24 10:08:32 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-localed comm="systemd" ```

I’m using gnome DE
EDIT:
gnome version is 43.2

Could you post the result of this command?
localectl
And the content of this file?
/etc/locale.conf

The result of localectl is :

   System Locale: LANG=en_US.UTF-8
                  LC_MESSAGES=C
       VC Keymap: us
      X11 Layout: us

and the content of the locale.conf file is :

LANG=en_US.UTF-8
LC_MESSAGES=C

At the beginning, did you install the system in another language?

Could you post the result of this command?
env | grep GDM_LANG

No, I didn’t
The result of the env | grep GDM_LANGis :

GDM_LANG=en_US

Ok.

Could then post the result of this other command?
env |grep LANG

The result is :

LANGUAGE=
GDM_LANG=en_US
LANG=en_US

Here we are.
Did you set these variables in the .bashrc or .bash_profile files?

grep LANG ~/.bashrc ~/.bash_profile

grep LANG ~/.bashrc ~/.bash_profile

This command doesn’t result in any output :thinking:

Maybe here?
grep LANG /etc/profile

Set LC_MESSAGES to C.UTF-8

grep LANG /etc/profile

This command doesn’t output a single thing