"Oh no! something has gone wrong. A problem has occurred and the system can't recover" on Manjaro Gnome

Hi there,
I’m running Manjaro Gnome, kernel 5.19.1-2.

  1. I dual boot with windows.
  2. Yesterday I had some problems with the gnome terminal: it only showed my pcname followed by a % symbol. ie yourpc%
    Not showing the username, or even Manjaro symbols, or any folder at all. So I recovered a ./zshsrc file and it worked and looked like default once again
  3. Today I attempted to boot and got this message:
    “Oh no! something has gone wrong. A problem has occurred and the system can’t recover”
    From my research, this is due to a gnome crash (probably related to something broken in terminal?)

I can login into tty, which is also weirdly displayed for
a gnome terminal:
I login, and it looks like this: >_

Trying to run journal to --boot=0 --priority=3 --no-pager returns an interesting error in the log:

gnome-session-binary[933]: unrecoverable failure in required component org.gnome.settingsdaemon.usbprotection.desktop

How do I proceed for a solution?
Thanks

Update && closure of thread

To solve this problem I finally ran:

#sudo pacman -Scc
This will clean all the cache related to pacman

Then reinstalled gnome-shell, gnome-terminal, gnome-session using sudo pacman -S

I’m only going to add a few comments here — since you’ve already managed to remedy the problem — both for your own education and for that of anyone stumbling upon this thread. :wink:

That is the default appearance of the prompt for zsh if no customization has been applied.

This default you are referring to is the Manjaro-applied theming of the zsh prompt, not the zsh default. :stuck_out_tongue:

A tty is not a GNOME Terminal — not by a million light-years. It doesn’t have anything to do with GNOME or whatever other graphical user interface. :stuck_out_tongue:

GNU/Linux is a UNIX operating system, and at its heart, UNIX is a character-mode operating system that allows users to interact with the system by way of a command line.

Given however that UNIX was designed from the ground up as a multiuser operating system with concurrent access by multiple users at the same time, it has to define interfaces through which these users can access the system.

These interfaces are called terminals, and up until the 1990s — and in some cases, even up to this very day — these terminals were separate devices that looked like slim desktop PCs, with a CRT monitor and a keyboard, and that were originally connected to the main computer by way of the serial ports on the computer’s motherboard. In times even longer gone, these terminals were actually teletype machines, without a screen and without any possible distinction between upper- and lowercase characters.

Nowadays, people interact with multiuser servers (such as mainframes) by way of terminal emulators, which are software-based, rather than hardware-based, and with the hardware connection being via UTP cabling. GNOME Terminal, Plasma’s Konsole and the likes are such terminal emulators, but specifically designed to connect to the underlying UNIX system on the local machine, rather than to a remote machine — there exist other and much simpler ways for doing that, such as a remote shell connection via ssh.

Given that the hardware for the x86 platform and other microcomputers such as the Macintosh was designed as inherently single-user, the Linux kernel has to work around this crippled hardware for offering multiuser functionality.

As such, the default Linux console — i.e. the terminal infrastructure in the kernel through which boot-time messages are displayed on the (primary) screen and the keyboard through which the system administrator can interact with the system — has to be set up to emulate a set of multiple virtual consoles. These virtual consoles are what we refer to as a tty — the name tty itself is a historical reference to the use of teletype machines as computer terminals.

Therefore — and long story short — a tty doesn’t have anything to do with the in UNIX optional graphical interface. A tty is just one of several character-mode virtual consoles through which the multiuser UNIX operating system can interact with the inherently single-user hardware console, which itself consists of the graphics adapter and monitor, the keyboard and the (in character-mode optional) mouse.

You’re welcome. :stuck_out_tongue:

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.