Black screen with cursor (Arch)

Tried customizing kde plasma and accidentally switched from x11 to Wayland. After rebooting and choosing the right option in Grub I’m met with black screen and cursor.

Plasmashell:

Arch Linux 6.10.2-arch1-1 (tty4)

MustlaneHOST login: MustlaneUSER

Password:

Last login: Thu Aug 1 20:09:30 on tty4

[MustlaneUSER@MustlaneHOST 1$ plasmashell

Detected locale “C” with character encoding “ANSI_X3.4-1968”, which is not UTF-8.

Qt depends on a UTF-8 locale, and has switched to “C.UTF-8” instead.

If this causes problems, reconfigure your locale. See the locale(1) manual for more information.

qt.qpa.xcb: could not connect to display

qt.qpa.plugin: Fron 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.

qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland, eglfs, vkkhrdisplay, offscreen, minimalegl, linuxfb, xch, wayland-egl, minimal, vnc.

Aborted (core dumped)

[MustlaneUSER@MustlaneHOST ~]$

Okay this happened to me on an NVIDIA-based machine. Is you machine using an NVIDIA graphics card? If so, and if this is the same problem, the solution is to add these 2 lines

options nvidia_drm modeset=1
options nvidia_drm fbdev=1

To your /etc/modprobe.d/nvidia.conf file (if it doesn’t exist create it) and reboot.

1 Like