Gnome Environment not starting anymore

Hello everyone!

I was advised to uninstall Wacom tablet drivers (before installing tablet drivers for another brand) and so I did uninstall libwacom. Which resulted in complete uninstall of Gnome (Because libwacom did come with gnome apparently.)

When I boot up the system I can log in to TTY with CTRL+ALT+F2.

I reinstalled Gnome with sudo pacman -S gdm and after sudo pacman -Syyu and sudo systemctl enable gdm.service was able to log in once into Gnome Environment. After a restart Gnome is unavailable again.

My system info is:

  • ASUS Zenbook UX434FLC_UX433FLC 1.0
  • Kernel: 6.6.74-1-MANJARO
  • GPU: NVIDIA GeForce MX250

Output of systemctl status gdm is: https://0x0.st/8P0U.txt

neofetch output is: https://0x0.st/8P0D.txt

When I try startx I get the error:

/etc/X11/xinit/xserverrc: line 2: /usr/bin/X: No such file or directory
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

I hope anyone can help me get my GUI back. This is beyond my Linux knowledge.
Thanks a lot in advance!

Welcome to the forum @roxtii.

GDM is just the display manager. Try:

sudo pacman -Syu mutter

That should re-install Gnome and all of its dependencies, including the required dependency libinput which will also reinstall libwacom, as that is a required dependency of libinput.

Hello @scotty65 !
Thank you for your kind reply. :slight_smile:

Unfortunately that did not resolve the problem.
Mutter is installed now. All the other things like libinput and libwacom were already installed with the sudo pacman -Syyu I guess. But the problem persists.

Hmmm. Maybe X11 needs to be reinstalled as well? It seemed to work on this old Arch forum topic: [SOLVED] X problem after update / Newbie Corner / Arch Linux Forums

Try:

sudo pacman xorg-server xorg-wayland

I included xorg-wayland in the command as, although I’ve never used Gnome, I am fairly sure that it now defaults to Wayland.

Alternatively, you could try these steps from: Gnome installation on archlinux is failling

pacman -S --needed xorg
pacman -S --needed gnome gnome-tweaks gnome-nettool gnome-usage xdg-user-dirs-gtk fwupd arc-gtk-theme gdm networkmanager archlinux-wallpaper
systemctl enable gdm
systemctl enable NetworkManager
shutdown now

Note: make sure your mirrors are synced before doing the above.

1 Like

By whom? Why?

How? It would have stopped you…

❯ sudo pacman -R libwacom
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libwacom breaks dependency 'libwacom' required by gnome-control-center
:: removing libwacom breaks dependency 'libwacom' required by gnome-settings-daemon
:: removing libwacom breaks dependency 'libwacom' required by libinput
:: removing libwacom breaks dependency 'libwacom' required by mutter

:facepalm:

No, you didn’t. There’s a gnome and gnome-extra group for a reason. :wink:

sudo pacman -Syu --needed gnome gnome-extra

Mind you, that will most likely install more applications than you might have had previously. Be careful removing packages in the future.

3 Likes

Hello @Yochanan !

Thank you for your kind reply!

Well, the manufacturer of my new drawing tablet stated that any other software and driver from other drawing tablets should be removed to avoid compatibility issues.

I removed it by sudo pacman -Rsc libwacom

Fair enough… I wasn’t attentive enough. I’ll be more careful from now on.

Actually I have my system up and running again thanks to the both of you @Yochanan, @scotty65 !

It was needed to do this:

sudo pacman -Syu --needed gnome gnome-extra

and additionally this:

sudo pacman -S --needed xorg
systemctl enable gdm

After a reboot mostly everything is fine now.
Thanks a lot! You saved me from a system reinstallation! :wink:

1 Like

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