Page 1 of 1

Broken Desktop and Widgets

Posted: Thu Dec 17, 2020 3:27 am
by cer0
Hi everyone!
I was tuning the desktop settings, first changing the background image and then adding some new widgets when noticed that exiting the widget screen ( that one that move all the icons in the desktop and leave it free) didn't go back to the original desktop, It took me back to an empty desktop (I had only 1 folder that couldn't see) and a panel that was still there. Weird...
Then trying to get the folder back I did logout, enter again and nothing happend, was the same
OK I realize some update notification and proceed to do it. Nothing change...

Well reboot may work, right?
NOPE

Now I have no desktop, no widgets, no menu and no "explorer" (dont know the linux version name for it) BUT my panel still there working properly.
Screenshot_20201217_092526.png

When shoot dolphin to explore the file I get this notification:
Screenshot_20201217_091955.png
And a report about it:

Code: Select all

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa865317780 (LWP 31332))]

Thread 3 (Thread 0x7fa85c877700 (LWP 31341)):
#0  0x00007fa868b01819 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fa866fd7136 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa866fd725c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa868e8f743 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa868e3d15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa868c8ce76 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa860976545 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fa868c96a67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fa867b65fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fa868b0c4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7fa85e112700 (LWP 31333)):
#0  0x00007fa868b01819 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fa8696b7d07 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa8696b99ca in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa85ea2ad79 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa868c96a67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa867b65fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fa868b0c4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7fa865317780 (LWP 31332)):
[KCrash Handler]
#6  0x0000000000029686 in ?? ()
#7  0x00007fa844d1177d in ?? () from /lib/x86_64-linux-gnu/libvtkIOGeometry-6.3.so.6.3
#8  0x00007fa844d2fa53 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) () from /lib/x86_64-linux-gnu/libvtkIOGeometry-6.3.so.6.3
#9  0x00007fa83e1d798d in ?? () from /lib/x86_64-linux-gnu/libdap.so.25
#10 0x00007fa8698b637a in ?? () from /lib64/ld-linux-x86-64.so.2
#11 0x00007fa8698b6476 in ?? () from /lib64/ld-linux-x86-64.so.2
#12 0x00007fa8698ba2d3 in ?? () from /lib64/ld-linux-x86-64.so.2
#13 0x00007fa868b47b2f in _dl_catch_exception () from /lib/x86_64-linux-gnu/libc.so.6
#14 0x00007fa8698b9bba in ?? () from /lib64/ld-linux-x86-64.so.2
#15 0x00007fa8687e6256 in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
#16 0x00007fa868b47b2f in _dl_catch_exception () from /lib/x86_64-linux-gnu/libc.so.6
#17 0x00007fa868b47bbf in _dl_catch_error () from /lib/x86_64-linux-gnu/libc.so.6
#18 0x00007fa8687e6975 in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
#19 0x00007fa8687e62e6 in dlopen () from /lib/x86_64-linux-gnu/libdl.so.2
#20 0x00007fa854030b14 in mlt_register () from /usr/lib/x86_64-linux-gnu/mlt/libmltfrei0r.so
#21 0x00007fa855da808d in mlt_repository_init () from /lib/x86_64-linux-gnu/libmlt.so.6
#22 0x00007fa855da76ef in mlt_factory_init () from /lib/x86_64-linux-gnu/libmlt.so.6
#23 0x00007fa855d6eb6b in Mlt::Factory::init(char const*) () from /lib/x86_64-linux-gnu/libmlt++.so.3
#24 0x00007fa856a3f64f in new_creator () from /usr/lib/x86_64-linux-gnu/qt5/plugins/mltpreview.so
#25 0x00007fa86989e6ea in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#26 0x00007fa86989e968 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#27 0x00007fa86989f458 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#28 0x00007fa86989fb30 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#29 0x00007fa8698a1041 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#30 0x00007fa860dd10b6 in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#31 0x00007fa860dd1876 in KIO::SlaveBase::dispatchLoop() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#32 0x00007fa86989e08d in kdemain () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#33 0x00005587e722ee1c in ?? ()
#34 0x00005587e722feea in ?? ()
#35 0x00005587e72308fb in ?? ()
#36 0x00005587e722b645 in ?? ()
#37 0x00007fa868a3709b in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#38 0x00005587e722c2ca in ?? ()
[Inferior 1 (process 31332) detached]
I try the restart button but nothing happen.
So... how can I fix this???

Re: Broken Desktop and Widgets

Posted: Thu Dec 17, 2020 3:51 am
by JayM
cer0 wrote: Thu Dec 17, 2020 3:27 am I was tuning the desktop settings, first changing the background image and then adding some new widgets when noticed that exiting the widget screen ( that one that move all the icons in the desktop and leave it free) didn't go back to the original desktop, It took me back to an empty desktop (I had only 1 folder that couldn't see) and a panel that was still there. Weird...
I don't know what widget that is but from your description it sounds as though it worked as designed and did exactly what it was supposed to do, remove all desktop icons. Have you tried uninstalling the widget? You should be able to do that from your panel, which is still there.

Re: Broken Desktop and Widgets

Posted: Thu Dec 17, 2020 4:12 am
by cer0
JayM wrote: Thu Dec 17, 2020 3:51 am
cer0 wrote: Thu Dec 17, 2020 3:27 am I was tuning the desktop settings, first changing the background image and then adding some new widgets when noticed that exiting the widget screen ( that one that move all the icons in the desktop and leave it free) didn't go back to the original desktop, It took me back to an empty desktop (I had only 1 folder that couldn't see) and a panel that was still there. Weird...
I don't know what widget that is but from your description it sounds as though it worked as designed and did exactly what it was supposed to do, remove all desktop icons. Have you tried uninstalling the widget? You should be able to do that from your panel, which is still there.
I did not install any widget, I was just trying to add some widget to the desktop, and when close the widget panel everything went broke.

Other thing I realize is a huge RAM consumption (95% used) from plasmashell login with other account, and this user have the explorer but not the desktop.
Runing plasmashell ends in a infinity loop where grow the RAM consumption. Displaying this:

Code: Select all

$ plasmashell -n
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
org.kde.plasmaquick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:62:28: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:53:27: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/backgrounds/"
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/backgrounds/"
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/backgrounds/"
trying to show an empty dialog
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
inotify_add_watch(/var/lib/samba/usershares) failed: (Permission denied)
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:302:17: QML QQuickText: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:302:17: QML QQuickText: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:251: TypeError: Cannot read property 'value' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:251: TypeError: Cannot read property 'value' of undefined
plasmashell: symbol lookup error: /usr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers/libqsqlite.so: undefined symbol: sqlite3_column_table_name16

Tried to follow this guide: [url]viewtopic.php?f=104&t=62003&p=612562&hi ... 612562[url]
But nothing happend

Re: Broken Desktop and Widgets

Posted: Thu Dec 17, 2020 5:15 am
by asqwerth
It is important to know what widget and what version it is. It could be the one crashing your desktop. Based on your screenshot, I think your panel also crashed. What's the only thing left is the conky that is running.

I have recently encountered a similar problem with an older version of Event Calendar widget that I had saved (.plasmoid file) long ago and which I then applied to whichever Plasma distros I have:

1. KDE Neon - through the provided upgrade paths, I upgraded my Neon install through 3 successive LTS releases already. Each time, I would reinstall that old plasmoid file for Event Calendar

2. Sabayon - rolling distro - installed Event Calendar just once, long ago

3. MX-KDE (this was a pretty recent install but Debian's Plasma version is 5.14, which is much older than the other 2).

Recently this old version of Event Calender widget caused the whole plasma desktop of KDE Neon and Sabayon to totally crash when you log in. Black screen, no wallpaper, no panel, no widgets. Only my conky was running.

Some web research revealed that the old version of said widget was no longer working with the latest Plasma version. The advice was to remove the old widget and download/install the newest version of Event Calendar from KDE Store.

But how to remove the old widget when your desktop has crashed and there is no GUI at all?
- If you are comfortable with command line and know where the plasmoids were saved, you could log in as tty (text console) and remove the file
- boot into live USB of MX Workbench, mount the said distro's partition and remove said file

File location: check $HOME/.local/share/plasma/ or its subfolders.

Re: Broken Desktop and Widgets

Posted: Thu Dec 17, 2020 5:37 am
by cer0
asqwerth wrote: Thu Dec 17, 2020 5:15 am
Recently this old version of Event Calender widget caused the whole plasma desktop of KDE Neon and Sabayon to totally crash when you log in. Black screen, no wallpaper, no panel, no widgets. Only my conky was running.

Some web research revealed that the old version of said widget was no longer working with the latest Plasma version. The advice was to remove the old widget and download/install the newest version of Event Calendar from KDE Store.
I did not set any widget, I was adding into the desktop a widget, see it, and the remove it.
asqwerth wrote: Thu Dec 17, 2020 5:15 am File location: check $HOME/.local/share/plasma/ or its subfolders

Only have plasma_icons/ and plasma_notes/ in .local/share.

Plasmoids are in /usr/share/plasma/plasmoids. I remove the calendar folder and nothing happend after reboot

Re: Broken Desktop and Widgets

Posted: Thu Dec 17, 2020 5:42 am
by asqwerth
The Calendar widget in Plasma (usr/share/plasma) is NOT Event Calendar. You've just removed a default widget that comes with Plasma.
I was adding into the desktop a widget, see it, and the remove it.
WHICH widget?

Re: Broken Desktop and Widgets

Posted: Thu Dec 17, 2020 5:45 am
by asqwerth
Also, please post the output of your Quick System Info.

Re: Broken Desktop and Widgets

Posted: Thu Dec 17, 2020 6:38 am
by cer0
asqwerth wrote: Thu Dec 17, 2020 5:45 am Also, please post the output of your Quick System Info.

Code: Select all

System:    Host: <filter> Kernel: 5.6.0-2-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.6.0-2-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: KDE Plasma 5.14.5 wm: kwin_x11 dm: SDDM Distro: MX-19.3_KDE_x64 patito feo August 16  2020 
           base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Laptop System: ASUSTeK product: TUF GAMING FX504GM_FX80GM v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: FX504GM v: 1.0 serial: <filter> UEFI: American Megatrends v: FX504GM.308 date: 06/10/2019 
Battery:   ID-1: BAT1 charge: 42.2 Wh condition: 42.2/48.1 Wh (88%) volts: 4.0/11.7 model: ASUS A32-K55 type: Li-ion 
           serial: <filter> status: Full 
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Kaby Lake family: 6 model-id: 9E (158) 
           stepping: A (10) microcode: D6 L2 cache: 9216 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 52799 
           Speed: 2701 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 2701 2: 2700 3: 2700 4: 2700 5: 2700 6: 2700 7: 2700 
           8: 2700 9: 2700 10: 2700 11: 2700 12: 2700 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Device-2: NVIDIA GP106M [GeForce GTX 1060] vendor: ASUSTeK driver: nvidia v: 450.80.02 bus ID: 01:00.0 
           chip ID: 10de:1c20 
           Display: x11 server: X.Org 1.20.9 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv 
           compositor: kwin_x11 resolution: 1920x1080~120Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.1.8 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:a348 
           Device-2: NVIDIA GP106 High Definition Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10f1 
           Sound Server: ALSA v: k5.6.0-2-amd64 
Network:   Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel port: 6000 bus ID: 00:14.3 
           chip ID: 8086:a370 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: 3000 
           bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: eth0 state: down mac: <filter> 
Drives:    Local Storage: total: 581.28 GiB used: 22.53 GiB (3.9%) 
           ID-1: /dev/nvme0n1 vendor: Kingston model: RBUSNS8154P3128GJ size: 119.24 GiB block size: physical: 512 B 
           logical: 512 B speed: 15.8 Gb/s lanes: 2 serial: <filter> rev: E8FK11.C scheme: GPT 
           ID-2: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB block size: physical: 512 B logical: 512 B 
           speed: 6.0 Gb/s serial: <filter> rev: 61K1 scheme: GPT 
           ID-3: /dev/sdb type: USB vendor: SanDisk model: Cruzer Fit size: 14.91 GiB block size: physical: 512 B 
           logical: 512 B serial: <filter> rev: 1.00 scheme: GPT 
Partition: ID-1: / raw size: 39.16 GiB size: 38.29 GiB (97.79%) used: 22.53 GiB (58.8%) fs: ext4 dev: /dev/nvme0n1p4 
           ID-2: swap-1 size: 7.86 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60) cache pressure: 100 (default) 
           dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 51.0 C mobo: 27.8 C 
           Fan Speeds (RPM): cpu: 0 
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb https://repo.protonvpn.com/debian unstable main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian buster main contrib non-free
           2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ buster main non-free
           2: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ buster ahs
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 285 Uptime: 1h 08m Memory: 7.70 GiB used: 1.90 GiB (24.6%) Init: SysVinit v: 2.93 runlevel: 5 default: 5 
           Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in running in: quick-system-in inxi: 3.0.36 
asqwerth wrote: Thu Dec 17, 2020 5:42 am WHICH widget?
None, just try the screen and battery viewer, but removed after that.
And when exit the widget screen my desktop was empty..

Re: Broken Desktop and Widgets

Posted: Tue Dec 22, 2020 4:16 am
by cer0

Code: Select all

$sudo plasmashell
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:62:28: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:53:27: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/backgrounds/"
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/backgrounds/"
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/backgrounds/"
Happend again after full reinstall this time with less errors

Re: Broken Desktop and Widgets

Posted: Tue Dec 22, 2020 5:13 am
by JayM
This may be why:

Code: Select all

Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb https://repo.protonvpn.com/debian unstable main
You've added a Debian Sid repo to a Debian Buster-based distro rather than using MX Package Installer, Test Repo tab, to install the Proton VPN client that's been backported for MX. See Don't Break Debian in my signature. I think you need to reinstall MX-KDE.