This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unable to start plasmashell

Tags: None
(comma "," separated)
aliveoceans
Registered Member
Posts
4
Karma
0

Unable to start plasmashell

Sun Oct 17, 2021 7:43 pm
Hi,
System Info: Ubuntu 20.04.3 LTS 64bit, gnome 3.36.8, windowing system X11 RAM 15GB, SSD 500GB, Intel i5

I tried to install KDE-plasma-desktop. Installation went successfully but when I tried to start with plasma it did not start and shown some error. Unfortunately I could not take screenshot.
Now in gnome interface I am trying run plasmashell to see whats going wrong.

During the process I see some of the libraries were not installed so I did it one by one manually [See below shell copy]. I see this final error. it looks like shader or opengl issue with QT5.
Please help me resolve it.

Code: Select all
user@host:~$ plasmashell
plasmashell: symbol lookup error: plasmashell: undefined symbol: _ZN20QOpenGLShaderProgram23hasOpenGLShaderProgramsEP14QOpenGLContext, version Qt_5


Code: Select all
user@host:~$ plasmashell
plasmashell: error while loading shared libraries: libQt5TextToSpeech.so.5: cannot open shared object file: No such file or directory
user@host:~$ ^C
user@host:~$ sudo add-apt-repository universe
'universe' distribution component is already enabled for all sources.
user@host:~$ sudo apt-get update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                     
Hit:2 https://download.docker.com/linux/ubuntu focal InRelease                                                                                                                                                   
Hit:3 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease                                                                                                                                       
Ign:4 https://MY_CORP_NETWORK/ldt/repos/ldt-deb stable InRelease                                                                                                                                         
Ign:5 https://MY_CORP_NETWORK/ldt/repos/chef/ubuntu/2004 stable InRelease                                                                                                                               
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease                                                                                                                                                           
Hit:7 https://brave-browser-apt-release.s3.brave.com stable InRelease                                                                                                                                             
Hit:8 http://package.perforce.com/apt/ubuntu focal InRelease                                                                                                                                                     
Hit:9 https://MY_CORP_NETWORK/ldt/repos/ldt-deb stable Release                                                                                                                                           
Hit:10 https://packages.microsoft.com/repos/ms-teams stable InRelease                                                                                                                                           
Hit:11 http://ppa.launchpad.net/jstaf/onedriver/ubuntu focal InRelease                                                                                                                     
Hit:12 http://archive.ubuntu.com/ubuntu focal-updates InRelease                                                                                     
Hit:13 https://MY_CORP_NETWORK/ldt/repos/chef/ubuntu/2004 stable Release                                                                   
Ign:14 https://MY_CORP_NETWORK/ldt/repos/msteams/ubuntu/20.04 stable InRelease                                         
Ign:15 https://MY_CORP_NETWORK/ldt/repos/zabbix/ubuntu/20.04 stable InRelease                               
Hit:17 http://archive.ubuntu.com/ubuntu focal-security InRelease                                         
Hit:18 https://MY_CORP_NETWORK/ldt/repos/msteams/ubuntu/20.04 stable Release     
Hit:19 https://MY_CORP_NETWORK/ldt/repos/zabbix/ubuntu/20.04 stable Release
Hit:20 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu focal InRelease
Reading package lists... Done
user@host:~$ sudo apt-get install --reinstall  libqt5texttospeech5  libqt5texttospeech5-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libqt5texttospeech5-dev
0 upgraded, 1 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 30.3 kB of archives.
After this operation, 75.8 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5texttospeech5 amd64 5.12.8-0ubuntu1 [20.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5texttospeech5-dev amd64 5.12.8-0ubuntu1 [9,380 B]
Fetched 30.3 kB in 1s (22.2 kB/s)                   
(Reading database ... 389917 files and directories currently installed.)
Preparing to unpack .../libqt5texttospeech5_5.12.8-0ubuntu1_amd64.deb ...
Unpacking libqt5texttospeech5:amd64 (5.12.8-0ubuntu1) over (5.12.8-0ubuntu1) ...
Selecting previously unselected package libqt5texttospeech5-dev:amd64.
Preparing to unpack .../libqt5texttospeech5-dev_5.12.8-0ubuntu1_amd64.deb ...
Unpacking libqt5texttospeech5-dev:amd64 (5.12.8-0ubuntu1) ...
Setting up libqt5texttospeech5:amd64 (5.12.8-0ubuntu1) ...
Setting up libqt5texttospeech5-dev:amd64 (5.12.8-0ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
user@host:~$ plasmashell
plasmashell: error while loading shared libraries: libdbusmenu-qt5.so.2: cannot open shared object file: No such file or directory
user@host:~$ sudo apt-get install --reinstall libdbusmenu-qt5 libdbusmenu-qt5-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libdbusmenu-qt5
user@host:~$ sudo apt-get install --reinstall libdbusmenu-qt5-2 libdbusmenu-qt5-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libdbusmenu-qt5-dev
0 upgraded, 1 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 85.9 kB of archives.
After this operation, 43.0 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libdbusmenu-qt5-2 amd64 0.9.3+16.04.20160218-2build1 [78.6 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 libdbusmenu-qt5-dev amd64 0.9.3+16.04.20160218-2build1 [7,316 B]
Fetched 85.9 kB in 2s (41.8 kB/s)             
(Reading database ... 389946 files and directories currently installed.)
Preparing to unpack .../libdbusmenu-qt5-2_0.9.3+16.04.20160218-2build1_amd64.deb ...
Unpacking libdbusmenu-qt5-2:amd64 (0.9.3+16.04.20160218-2build1) over (0.9.3+16.04.20160218-2build1) ...
Selecting previously unselected package libdbusmenu-qt5-dev.
Preparing to unpack .../libdbusmenu-qt5-dev_0.9.3+16.04.20160218-2build1_amd64.deb ...
Unpacking libdbusmenu-qt5-dev (0.9.3+16.04.20160218-2build1) ...
Setting up libdbusmenu-qt5-2:amd64 (0.9.3+16.04.20160218-2build1) ...
Setting up libdbusmenu-qt5-dev (0.9.3+16.04.20160218-2build1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
user@host:~$ plasmashell
plasmashell: error while loading shared libraries: libfam.so.0: cannot open shared object file: No such file or directory
user@host:~$ sudo apt-get install --reinstall libfam0 libgamin0 libfam-dev libgamin-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgamin-dev : Conflicts: libfam-dev
 libgamin0 : Conflicts: libfam0
             Conflicts: libfam0c102
E: Unable to correct problems, you have held broken packages.
user@host:~$ sudo apt-get install --reinstall libfam0 libfam-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libfam-dev
0 upgraded, 1 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 41.2 kB of archives.
After this operation, 108 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libfam-dev amd64 2.7.0-17.3build2 [23.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 libfam0 amd64 2.7.0-17.3build2 [17.4 kB]
Fetched 41.2 kB in 2s (24.9 kB/s) 
Selecting previously unselected package libfam-dev:amd64.
(Reading database ... 389961 files and directories currently installed.)
Preparing to unpack .../libfam-dev_2.7.0-17.3build2_amd64.deb ...
Unpacking libfam-dev:amd64 (2.7.0-17.3build2) ...
Preparing to unpack .../libfam0_2.7.0-17.3build2_amd64.deb ...
Unpacking libfam0:amd64 (2.7.0-17.3build2) over (2.7.0-17.3build2) ...
Setting up libfam0:amd64 (2.7.0-17.3build2) ...
Setting up libfam-dev:amd64 (2.7.0-17.3build2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
user@host:~$ sudo apt-get install --reinstall libgamin0 libgamin-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gamin
The following packages will be REMOVED:
  libfam-dev libfam0
The following NEW packages will be installed:
  gamin libgamin-dev libgamin0
0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
Need to get 64.2 kB of archives.
After this operation, 72.7 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 gamin amd64 0.1.10-6 [43.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgamin0 amd64 0.1.10-6 [16.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgamin-dev amd64 0.1.10-6 [4,376 B]
Fetched 64.2 kB in 2s (32.4 kB/s)
(Reading database ... 389974 files and directories currently installed.)
Removing libfam-dev:amd64 (2.7.0-17.3build2) ...
Selecting previously unselected package gamin.
(Reading database ... 389961 files and directories currently installed.)
Preparing to unpack .../gamin_0.1.10-6_amd64.deb ...
Unpacking gamin (0.1.10-6) ...
dpkg: libfam0:amd64: dependency problems, but removing anyway as you requested:
 libkf5coreaddons5:amd64 depends on libfam0.

(Reading database ... 389971 files and directories currently installed.)
Removing libfam0:amd64 (2.7.0-17.3build2) ...
Selecting previously unselected package libgamin0.
(Reading database ... 389961 files and directories currently installed.)
Preparing to unpack .../libgamin0_0.1.10-6_amd64.deb ...
Unpacking libgamin0 (0.1.10-6) ...
Selecting previously unselected package libgamin-dev.
Preparing to unpack .../libgamin-dev_0.1.10-6_amd64.deb ...
Unpacking libgamin-dev (0.1.10-6) ...
Setting up gamin (0.1.10-6) ...
Setting up libgamin0 (0.1.10-6) ...
Setting up libgamin-dev (0.1.10-6) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
user@host:~$ plasmashell
plasmashell: symbol lookup error: plasmashell: undefined symbol: _ZN20QOpenGLShaderProgram23hasOpenGLShaderProgramsEP14QOpenGLContext, version Qt_5
user@host:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
user@host:~$ sudo dpkg --configure -a
user@host:~$ plasmashell
plasmashell: symbol lookup error: plasmashell: undefined symbol: _ZN20QOpenGLShaderProgram23hasOpenGLShaderProgramsEP14QOpenGLContext, version Qt_5
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Unable to start plasmashell

Mon Oct 18, 2021 7:22 pm
You should install the meta-package "Kubuntu-desktop", that should drag in all necessary packages.

How did you try to start plasmashell?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
aliveoceans
Registered Member
Posts
4
Karma
0

Re: Unable to start plasmashell

Mon Oct 18, 2021 8:24 pm
Mamarok wrote:You should install the meta-package "Kubuntu-desktop", that should drag in all necessary packages.

How did you try to start plasmashell?


Sorry, By mistake I clicked on report your answer, is there any way to revert it?

I have already installed kubuntu-desktop and kde-plasma-desktop.
I am trying to run it from terminal with GNOME session.
Is there any way to get the list of all missing dependencies for kubuntu-desktop and kde-plasma-desktop?
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Unable to start plasmashell

Tue Oct 19, 2021 1:26 pm
You can't run Plasmashell inside another desktop environment, it IS a desktop environment, the same way I can't run Gnome inside Plasma.

Choose it as session from the login screen and it will start.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Unable to start plasmashell

Tue Oct 19, 2021 2:00 pm
Correcting myself: you can run Plasma inside another DE, but it is not recommended.
Your specific problem is you are using conflicting sources, trying to install older packages over newer ones, maybe disable testing or beta PPAs or third-party sources and solve the conflicts first.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
aliveoceans
Registered Member
Posts
4
Karma
0

Re: Unable to start plasmashell

Tue Oct 19, 2021 5:14 pm
I was trying plasmashell only for troubleshooting as kde-plasma wouldn't start along with SDDM.
You were correct for reinstalling older packages. It helped me resolve most of issues I was facing including SDDM startup issue.
The root cause for the failing plasmashell was the difference between QT5 version and required ./plugins dependencies.
Now plasmashell and startplasma-x11 are failing only because the plugins path is not correctly set.
I can execute plasmashell and startplasma-x11 from terminal only if I set "export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms"
I am not sure where to put this path so that I don't need to pass it through command line.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Unable to start plasmashell

Wed Oct 20, 2021 12:36 pm
How about repairing your system and find out why sddm doesn't run properly instead of trying to find a workaround?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
aliveoceans
Registered Member
Posts
4
Karma
0

Re: Unable to start plasmashell

Thu Oct 21, 2021 8:04 am
Okay, and how do I repair when I don't know the cause of issue is?
I tried removing kubuntu-desktop, kde-plasma-desktop including all the dependencies and q5 as well.
Reinstalled fresh kubuntu-desktop, and kde-full. still the problem persist.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Unable to start plasmashell

Fri Oct 22, 2021 6:14 pm
Did you disable all third-party sources? That is the first thing to do, then run
Code: Select all
sudo dpkg --configure -a

If that is not enough, check you have all necessary xserver-xorg-video* packages for your graphical system.
The following log files can also give more hints on what is wrong:
/var/lib/sddm/
.local/share/sddm/xorg-session.log
/var/log/Xorg.0.log


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]