KDE and LightDM on ArchLinux

11,101

Solution 1

Yeah man! Everything is possible with Archlinux! You can install the entire system anyway you want.

First, if you just installed Archlinux with no display manager or a desktop environment, you have just to install

sudo pacman -S xorg xinit
sudo pacman -S lightdm lightdm-kde-greeter
sudo pacman -S plasma

after that you have to enable the service that control the lightdm on the boot time

sudo systemctl enable lightdm.service
sudo systemctl start lightdm.service

If you are using a display manager you don't need to worry about the .xinitrc file cause the display manager is accountable for start the desktop environment that you chose.

Second, if you have an Display manager installed, like GDM, SDDM or XDM, you have to stop the service running, for example the GDM service

sudo systemclt disable gdm.service

and select the new display manager to start with the system boot

sudo systemctl enable lightdm.service

The display manager is independent of the desktop environment such as KDE or Gnome, so you can arrange the combination between display manager and desktop environment the way you want.

Solution 2

Yes it is possible, as already stated by the other answer (not sure why all that hate). KDE devs even seem to explicitly care about it from time to time.

Lightdm-kde-greeter has since been purged though, probably since it was still Qt4-based after years of abandonment (as a result of Ubuntu's Mir detour, and KDE efforts moving to SDDM).

I don't really know how the built-in liblightdm-qt5 fares (or the other qt greeters), but funnily enough you can just use lightdm-gtk-greeter to get them working together.

Share:
11,101

Related videos on Youtube

enedil
Author by

enedil

Linux registered user #559180.

Updated on September 18, 2022

Comments

  • enedil
    enedil over 1 year

    Is it possible to use LightDM with KDE on Archlinux? Wiki says

    Basically there are two ways of starting KDE. Using KDM or xinitrc.

    I use also awesome WM and XFCE, so I'd like to use LightDM instead.

    • Admin
      Admin about 10 years
      They have a LightDM page but it's not very obvious. Take a look at this page...
    • Lizardx
      Lizardx almost 6 years
      kdm was deprecated years ago, unless they brought it back from the dead. sddm I believe is what was used to replace it, which was in turn fairly buggy and unreliable, but it may be better today.
    • enedil
      enedil almost 6 years
      @Lizardx the question is from years ago. Got just digged out.
    • Lizardx
      Lizardx almost 6 years
      Yeah, I just noticed that. However it's worth correcting anyway, since kdm doesn't exist anymore.
  • enedil
    enedil almost 6 years
    Thanks for the answer, but notice that the question was asked more than 4 years ago :D I switched to more stable environment (nowadays I work, you know?)
  • Lizardx
    Lizardx almost 6 years
    And it's a poor answer, since it doesn't actually answer the question, it's just a generic formula for install and enable of a dm, it doesn't actually know or say if that particular dm can run or start KDE itself.
  • Emanuel Fontelles
    Emanuel Fontelles almost 6 years
    Sorry enedil! I don't realized the date of the question, really sorry.
  • Emanuel Fontelles
    Emanuel Fontelles almost 6 years
    Lizardx the question is "Is it possible to use LightDM with KDE on Archlinux?"
  • enedil
    enedil about 4 years
    I can't evaluate this answer as for now, I don't use ArchLinux, I don't use KDE, and the answer probably is not accurate (just because the question is too old). Sorry man
  • alchemy
    alchemy about 2 years
    Thank you! This was the key for me to use lightdm-gtk-greeter. I worked to login to KDE right after install. github.com/KDE/lightdm says to use lightdm-kde-greeter, but apt and myself couldnt find it.. it looks like it might be redhat RPM.