
In this article, we will provide a detailed guide on how to fix the issue of Kubuntu 20.04 Plasma Desktop not starting after login. This is a common problem that users might encounter, but with a few simple steps, you can troubleshoot and resolve this issue.
To fix the issue of Kubuntu 20.04 Plasma Desktop not starting after login, you can try resetting the Plasma Desktop configuration by deleting the plasma-org.kde.plasma.desktop-appletsrc
file. If that doesn’t work, you can kill the SDDM process or reconfigure SDDM. Checking the Removable Devices settings or switching the login display manager to lightdm are also potential solutions.
Introduction
Kubuntu is a free and open-source operating system based on the popular Ubuntu system. It uses the KDE Plasma Desktop instead of the GNOME desktop environment. Sometimes, users may find that the Plasma Desktop does not start after logging in. This can be due to various reasons such as system configuration issues, software conflicts, or bugs.
Solution 1: Resetting Plasma Desktop Configuration
The first solution involves resetting the Plasma Desktop configuration. This can be done by deleting the plasma-org.kde.plasma.desktop-appletsrc
file. Here are the steps:
- Press ALT+F2 to switch to the virtual console.
- Login with your credentials.
- Run the following commands:
sudo service sddm stop
rm ~/.config/plasma-org.kde.plasma.desktop-appletsrc
sudo service sddm start
The sudo service sddm stop
command stops the Simple Desktop Display Manager (SDDM), which is the default display manager for KDE. The rm ~/.config/plasma-org.kde.plasma.desktop-appletsrc
command deletes the Plasma Desktop configuration file. Finally, sudo service sddm start
restarts the SDDM.
After running these commands, return to the desktop and check if the issue is resolved.
Solution 2: Kill SDDM Process
Another solution is to kill the SDDM process. This is particularly useful if the issue occurs while booting on battery power. Here’s how:
- Press CTRL+ALT+F2 to access the console.
- Run the following command:
sudo killall sddm
.
The sudo killall sddm
command terminates all instances of the SDDM process.
Solution 3: Reconfigure SDDM
If you encounter a blank screen after the grub menu, you can try to reconfigure SDDM. Here are the steps:
- Press CTRL+ALT+F2 to bring up the command line interface.
- Run the following command:
sudo dpkg-reconfigure sddm
.
The sudo dpkg-reconfigure sddm
command reconfigures the package sddm. After running this command, select gdm3
as the display manager and see if the issue is resolved.
Solution 4: Check Removable Devices Settings
If the issue is temporarily resolved by deleting the ~/.config/plasma-org.kde.plasma.desktop-appletsrc
file, it may indicate a setting issue. You should check the “Removable Devices” settings:
- Go to System Settings > Removable Devices.
- Uncheck the option to automatically mount all removable media.
- Instead, manually select the devices you want to mount at startup.
Solution 5: Switch Login Display Manager
If none of the above solutions work, you can try switching the login display manager:
- Run the following command:
sudo dpkg-reconfigure sddm
. - Choose
lightdm
from the dropdown menu.
The lightdm
is a cross-desktop display manager. After choosing lightdm
, check if the login screen starts working. You can still choose the Plasma Desktop after entering your password.
Conclusion
In this article, we have discussed several solutions to fix the issue of Kubuntu 20.04 Plasma Desktop not starting after login. We hope that these solutions have helped you resolve the issue. Remember to back up any important data before making any changes to the system configuration. If you continue to experience problems, consider seeking help from the Kubuntu community.
Kubuntu is a free and open-source operating system based on Ubuntu. It uses the KDE Plasma Desktop environment instead of GNOME.
There can be various reasons for this issue, such as system configuration problems, software conflicts, or bugs.
You can reset the Plasma Desktop configuration by deleting the plasma-org.kde.plasma.desktop-appletsrc
file. Detailed instructions are provided in Solution 1 of the article.
SDDM stands for Simple Desktop Display Manager. It is the default display manager for KDE Plasma Desktop.
You can kill the SDDM process by using the command sudo killall sddm
. This is useful if the issue occurs during booting on battery power.
You can reconfigure SDDM by running the command sudo dpkg-reconfigure sddm
. This can help resolve issues if you encounter a blank screen after the grub menu.
In the Removable Devices settings, you should uncheck the option to automatically mount all removable media and manually select the devices you want to mount at startup.
You can switch the login display manager by running the command sudo dpkg-reconfigure sddm
and choosing lightdm
from the dropdown menu.