Bug 485098

Summary: No GSettings schemas are installed on the system + Core Dump when logging in from SDDM (black screen)
Product: [Plasma] xdg-desktop-portal-kde Reporter: Jack <alphajack>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: aleixpol, jgrulich, nate, nicolas.fella
Priority: NOR    
Version First Reported In: 6.0.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: First xdg-desktop-portal issue
Second xdg-desktop-portal issue
Third xdg-desktop-portal issue
Fourth xdg-desktop-portal issue
Yakuake crash (GUI)
Yakuake crash (journal)
KSplashQML crash
Disable-Paste crash

Description Jack 2024-04-05 16:48:43 UTC
Created attachment 168185 [details]
First xdg-desktop-portal issue

SUMMARY

One month ago, I managed to install Arch Linux with Plasma 6 on Wayland on my laptop (Intel GPU) following the steps from the Arch Wiki. I did it on an external SSD to check for potential issues. It went smooth and I could login without issues.

Yesterday I followed the same exact procedure with my real SSD, but I was faced with a black screen after login. The only things I could see and interact with were the Plasma greeter and a Yakuake popup failing to load a skin.

By inspecting the journal, I saw many orange warnings related to Kwin_wayland:

- Could not find color scheme "Breeze Light" falling back to BreezeLight
- kf.plasma.core: Could not locate plasma theme "default" in plasma/desktoptheme/

However, I also noticed a red messages: 

- org.kde.plasma.ksplashqml: Failed to resolve package url QUrl("")
- systemd: failed to start Splash screen show during boot.
- yakuake: Could not find color scheme "Breeze Light" falling back to BreezeLight
- yakuake: kf.notifications: No event config could be found for event id "messageCrit
- yakuake: QFSFileEngine::open: No file name specified
- yakuake: org.kde.konsole.keytranslator: Unable to load translator "default"
- disable-paste: /dev/tty2: Permission denied
- disable-paste: Oh, oh, it's an error! possibly I die!
- xdg-desktop-portal: No GSettings schemas are installed on the system

The latter even resulted in a series of core dumps soon after.

I could not find the root cause of the issue. My workaround was to copying the files from the "test" SDD from one month ago to the broken SSD.

When I updated, the system kept working, so it does not seem related to a recent package update.

STEPS TO REPRODUCE
1. Install Plasma 6 on Wayland using Arch Linux following the steps in the Arch Wiki
2. Try to login, the screen is black except for the greeter

THINGS TRIED
- Check for missing packages: breeze, gsettings-desktop-schemas, layer-shell-qt were all installed, reinstalling them or switching from sddm to sddm-git and vice versa did not fix the issue
- Check for drivers: this is not a black screen due to Nvidia modeset not being enabled
- Check for broken confs: I reproduced the same error with both Wayland and X11, a new user, and stock global configurations without success

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6
KDE Plasma Version: 6
KDE Frameworks Version: 6
Qt Version: 6

ADDITIONAL INFORMATION
Comment 1 Jack 2024-04-05 16:49:13 UTC
Created attachment 168186 [details]
Second xdg-desktop-portal issue
Comment 2 Jack 2024-04-05 16:49:29 UTC
Created attachment 168187 [details]
Third xdg-desktop-portal issue
Comment 3 Jack 2024-04-05 16:49:43 UTC
Created attachment 168188 [details]
Fourth xdg-desktop-portal issue
Comment 4 Jack 2024-04-05 16:50:06 UTC
Created attachment 168189 [details]
Yakuake crash (GUI)
Comment 5 Jack 2024-04-05 16:50:19 UTC
Created attachment 168190 [details]
Yakuake crash (journal)
Comment 6 Jack 2024-04-05 16:50:45 UTC
Created attachment 168191 [details]
KSplashQML crash
Comment 7 Jack 2024-04-05 16:51:11 UTC
Created attachment 168192 [details]
Disable-Paste crash

I have no idea what disable-paste is
Comment 8 Jack 2024-04-05 16:53:28 UTC
Yakuake crash message: Cannot Load Skin - Yakuake
Yakuake was unable to load a skin. It is likely that it was installed incorrectly.
The application will now quit.
Comment 9 Nicolas Fella 2024-04-06 13:11:07 UTC
This sounds like a serious problem with your installation and not a concrete bug in KDE software. Please consult the Arch support channels for this and only use bugs.kde.org to report specific identified bugs in KDE software.

Thanks!