Can't run Plasma X11 from SDDM, or using startx
by mrmazda from LinuxQuestions.org on (#6GMKZ)
PC works fine with several other installed distros, and boots from Tumbleweed's grub2-efi.
Apparently I started this 15.0 installation late last Winter, got distracted before debugging the installation, then forgot about it until now. I don't remember ever trying Slackare before. Today I ran:Code:slackpkg update
slackpkg upgrade-all
mkinitrd -Fthen rebooted before trying to start Plasma.
Eventually I ran slackpkg install-new, selected several packages for installation, let them process, then rebooted. SDDM didn't start, just a black screen with a mouse pointer, so after Ctrl-Alt-BS didn't accomplish anything, I rebooted again, only to have SDDM start with the same theme error messages. :(
Code:# inxi -GMCSIz
System:
Kernel: 5.15.139 arch: x86_64 bits: 64 Console: pty pts/0
Distro: Slackware 15.0
Machine:
Type: Desktop Mobo: ASRock model: FM2A88X Extreme6+ serial: <filter>
UEFI: American Megatrends v: P4.20 date: 01/13/2016
CPU:
Info: quad core model: AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G
bits: 64 type: MT MCP cache: L2: 4 MiB
Speed (MHz): avg: 1700 min/max: 1700/4000 cores: 1: 1700 2: 1700 3: 1700
4: 1700
Graphics:
Device-1: AMD Kaveri [Radeon R7 Graphics] driver: amdgpu v: kernel
Display: x11 server: X.org v: 1.20.14 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu resolution:
1: 2560x1440 2: 1680x1050 3: 1920x1200 4: 1680x1050
API: EGL v: 1.5 drivers: N/A platforms: gbm
API: OpenGL Message: GL data unavailable for root.
API: Vulkan Message: No Vulkan data available.
Info:
Processes: 160 Uptime: 13m Memory: total: 8 GiB note: est.
available: 6.72 GiB used: 527.6 MiB (7.7%) Shell: Bash inxi: 3.3.31
#Trying to start Plasma from SDDM, password is accepted, but instead of a Plasma session starting, SDDM just returns to its in barely legible red text report below the user selection list:Code:The current theme cannot be loaded due to the errors below. please select another theme.
file:///usr/share/sddm/themes/breeze/Main.qml:14.1: plugin cannot be loaded for module
"org.kde.plasma.core": Cannot load library /usr/lib64/qt5/qml/org/kde/plasma/core/
libcorebindingsplugin.so: (libKF5Package.so.5: cannot open shared object file:No such file or
directory)I can't tell that there's anything actually wrong with the SDDM theme. It looks just like I'm used to seeing it elsewhere, such as in Neon, except for the theming error message in red.Code:# ls -gG /usr/share/sddm/themes/breeze/Main.qml
-rw-r--r-- 1 23938 Jan 4 2022 /usr/share/sddm/themes/breeze/Main.qml
# ls -gG /usr/lib64/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
-rwxr-xr-x 1 411768 Jan 8 2022 /usr/lib64/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
#How do I find what the problem really is?
startx /usr/bin/startplasma-x11 simply prints what looks like the head of Xorg.0.log ending with:Code:.../usr/bin/startplasma-x11: error while loading shared libraries: libKF5I18n.so.5: cannot open shared object file: No such file or directory
xinit: connection to X server lostand returns a prompt. MC can't locate libKF5I18n.so.5 anywhere. Is this actually needed for an en_US installation? If so, why didn't it get installed, and what package is missing that should have provided it? OK, I determined ki18n was missing, installed it, and the error message changed to file libKF5Package.so.5. So I installed kpackage, and the error changed to KF5IconThemes.so.5. Installing kiconthemes changed it to libKF5WaylandClient.s0.5. Obviously there must be some metapackage to install all this that has been missed, but what would that be? Googling this seems to be doomed after about 5 hours tonight getting to this point. :(
Apparently I started this 15.0 installation late last Winter, got distracted before debugging the installation, then forgot about it until now. I don't remember ever trying Slackare before. Today I ran:Code:slackpkg update
slackpkg upgrade-all
mkinitrd -Fthen rebooted before trying to start Plasma.
Eventually I ran slackpkg install-new, selected several packages for installation, let them process, then rebooted. SDDM didn't start, just a black screen with a mouse pointer, so after Ctrl-Alt-BS didn't accomplish anything, I rebooted again, only to have SDDM start with the same theme error messages. :(
Code:# inxi -GMCSIz
System:
Kernel: 5.15.139 arch: x86_64 bits: 64 Console: pty pts/0
Distro: Slackware 15.0
Machine:
Type: Desktop Mobo: ASRock model: FM2A88X Extreme6+ serial: <filter>
UEFI: American Megatrends v: P4.20 date: 01/13/2016
CPU:
Info: quad core model: AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G
bits: 64 type: MT MCP cache: L2: 4 MiB
Speed (MHz): avg: 1700 min/max: 1700/4000 cores: 1: 1700 2: 1700 3: 1700
4: 1700
Graphics:
Device-1: AMD Kaveri [Radeon R7 Graphics] driver: amdgpu v: kernel
Display: x11 server: X.org v: 1.20.14 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu resolution:
1: 2560x1440 2: 1680x1050 3: 1920x1200 4: 1680x1050
API: EGL v: 1.5 drivers: N/A platforms: gbm
API: OpenGL Message: GL data unavailable for root.
API: Vulkan Message: No Vulkan data available.
Info:
Processes: 160 Uptime: 13m Memory: total: 8 GiB note: est.
available: 6.72 GiB used: 527.6 MiB (7.7%) Shell: Bash inxi: 3.3.31
#Trying to start Plasma from SDDM, password is accepted, but instead of a Plasma session starting, SDDM just returns to its in barely legible red text report below the user selection list:Code:The current theme cannot be loaded due to the errors below. please select another theme.
file:///usr/share/sddm/themes/breeze/Main.qml:14.1: plugin cannot be loaded for module
"org.kde.plasma.core": Cannot load library /usr/lib64/qt5/qml/org/kde/plasma/core/
libcorebindingsplugin.so: (libKF5Package.so.5: cannot open shared object file:No such file or
directory)I can't tell that there's anything actually wrong with the SDDM theme. It looks just like I'm used to seeing it elsewhere, such as in Neon, except for the theming error message in red.Code:# ls -gG /usr/share/sddm/themes/breeze/Main.qml
-rw-r--r-- 1 23938 Jan 4 2022 /usr/share/sddm/themes/breeze/Main.qml
# ls -gG /usr/lib64/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
-rwxr-xr-x 1 411768 Jan 8 2022 /usr/lib64/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
#How do I find what the problem really is?
startx /usr/bin/startplasma-x11 simply prints what looks like the head of Xorg.0.log ending with:Code:.../usr/bin/startplasma-x11: error while loading shared libraries: libKF5I18n.so.5: cannot open shared object file: No such file or directory
xinit: connection to X server lostand returns a prompt. MC can't locate libKF5I18n.so.5 anywhere. Is this actually needed for an en_US installation? If so, why didn't it get installed, and what package is missing that should have provided it? OK, I determined ki18n was missing, installed it, and the error message changed to file libKF5Package.so.5. So I installed kpackage, and the error changed to KF5IconThemes.so.5. Installing kiconthemes changed it to libKF5WaylandClient.s0.5. Obviously there must be some metapackage to install all this that has been missed, but what would that be? Googling this seems to be doomed after about 5 hours tonight getting to this point. :(