# Lightdm cannot be installed after base install & xfce4

**URL:** <https://rebornos.discourse.group/t/lightdm-cannot-be-installed-after-base-install-xfce4/147>\
**Category:** Installation and Live media\
**Created:** [February 11, 2021, 5:26pm UTC](https://rebornos.discourse.group/t/lightdm-cannot-be-installed-after-base-install-xfce4/147 "2021-02-11T17:26:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ron](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/ron/32/160_2.png) [@ron](https://rebornos.discourse.group/u/ron)\
**Post date:** [February 11, 2021, 5:26pm UTC](https://rebornos.discourse.group/t/lightdm-cannot-be-installed-after-base-install-xfce4/147/1 "2021-02-11T17:26:49Z")

</div>

After the successful base install (RebornOS installer) and **xfce4** I wanted to activate **lightdm**.

`sudo pacman -S lightdm lightdm-gtk-greeter xorg-server`

Unfortunately, this process is canceled with the error: **lightdm is already in the file system → /etc/lightdm → the process cannot be completed.**

It would be great if you could fix that bug in the installer so that this doesn’t happen again in the future. 😉

With **Gnome** and **gdm** , however, **it works** without any problems.

---

<div class="post-metadata">

**Author:** ![arnulf](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/arnulf/32/51_2.png) [@arnulf](https://rebornos.discourse.group/u/arnulf)\
**Post date:** [February 11, 2021, 6:57pm UTC](https://rebornos.discourse.group/t/lightdm-cannot-be-installed-after-base-install-xfce4/147/2 "2021-02-11T18:57:04Z")

</div>

Moin,  
try  
sudo systemctl enable lightdm.service  
sudo systemctl start lightdm.service  
and reboot  
maybe you have to disable gdm  
sudo systemctl disable gdm  
Greets

---

<div class="post-metadata">

**Author:** ![ron](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/ron/32/160_2.png) [@ron](https://rebornos.discourse.group/u/ron)\
**Post date:** [February 11, 2021, 8:12pm UTC](https://rebornos.discourse.group/t/lightdm-cannot-be-installed-after-base-install-xfce4/147/3 "2021-02-11T20:12:38Z")

</div>

Unfortunately, I don’t get that far. When the package is about to be installed, the error message appears. Activating the service via systemctl does not work because the package (lightdm) cannot be installed and the mentioned error message appears.

Gnome and gdm was just an example that it worked with it, but didn’t have it installed.

---

<div class="post-metadata">

**Author:** ![Rafael](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/rafael/32/438_2.png) [@Rafael](https://rebornos.discourse.group/u/Rafael)\
**Post date:** [February 11, 2021, 8:18pm UTC](https://rebornos.discourse.group/t/lightdm-cannot-be-installed-after-base-install-xfce4/147/4 "2021-02-11T20:18:15Z")

</div>

If you installed GNOME from the RebornOS installer, **lightDM is already installed on your system** , so there is no need to do it again. You just have to deactivate gdm and activate lightDM.

In the case of changing gdm to lightdm if we use GNOME:

You have to disable gdm, and enable lightdm. To do this, from the terminal:

```
sudo systemctl disable gdm
sudo systemctl enable lightdm

```

If you want to disable lightdm, and re-enable gdm to use GNOME as it comes by default, then from the terminal:

```
sudo systemctl disable lightdm
sudo systemctl enable gdm
```

---

<div class="post-metadata">

**Author:** ![Rafael](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/rafael/32/438_2.png) [@Rafael](https://rebornos.discourse.group/u/Rafael)\
**Post date:** [February 11, 2021, 11:54pm UTC](https://rebornos.discourse.group/t/lightdm-cannot-be-installed-after-base-install-xfce4/147/7 "2021-02-11T23:54:54Z")

</div>

Let’s see if I understand: you installed the RebornOS base (without any desktop), and then you installed XFCE: from the terminal?

I do not understand that part. If you installed XFCE from the terminal, you could try the following:

`sudo rm /etc/lightdm`

How did you install XFCE? So I can get an idea.

---

<div class="post-metadata">

**Author:** ![ron](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/ron/32/160_2.png) [@ron](https://rebornos.discourse.group/u/ron)\
**Post date:** [February 18, 2021, 7:55pm UTC](https://rebornos.discourse.group/t/lightdm-cannot-be-installed-after-base-install-xfce4/147/8 "2021-02-18T19:55:31Z")

</div>

Hola @Rafael

Please excuse my late feedback, the last week took up almost all of my time, but had nothing to do with computers.

Yes, that’s exactly how I did it. Base install via Reborn-OS graphical installer and then everything via the command line →

`sudo pacman -S xfce4 lightdm lightdm-gtk-greeter firefox firefox-i18n-de xorg-server`

You showed me the solution: with your command and thus deleting the entries, it works now. Thank you, I’m very happy about that. 😍

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [February 19, 2021, 12:52pm UTC](https://rebornos.discourse.group/t/lightdm-cannot-be-installed-after-base-install-xfce4/147/9 "2021-02-19T12:52:53Z")

</div>


