You are not logged in.

#1 2022-12-10 11:14:34

SadVolkner
Member
Registered: 2022-12-10
Posts: 2

Sddm is masked for some reason

I recently installed Arch Linux, and didn't have any major problem.

Now I was trying to install KDE on it and installed the packages for xorg, kde-desktop and sddm but systemctl keeps saying it is masked for some reason

systemctl enable sddm.service

Results in

Failed to enable unit: Unit file /use/lib/systemd/system/sddm.service is masked

I get very similar output when I try 'systemctl start' too

I have a gut feeling that I am missing something very basic since it is the first time I installed Arch manually without any installers.

Note: Please excuse my bad formatting since I'm on phone

Offline

#2 2022-12-10 11:54:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: Sddm is masked for some reason

If it's masked for some reasons it's likely because you masked it for some reason. If you want to unmask it, unmask it

systemctl unmask sddm.service

you might want to read https://wiki.archlinux.org/title/Systemd#Using_units to gain an understanding of the different possible unit states.

Last edited by V1del (2022-12-10 11:55:46)

Offline

#3 2022-12-10 16:05:30

SadVolkner
Member
Registered: 2022-12-10
Posts: 2

Re: Sddm is masked for some reason

V1del wrote:

If it's masked for some reasons it's likely because you masked it for some reason. If you want to unmask it, unmask it

systemctl unmask sddm.service

you might want to read https://wiki.archlinux.org/title/Systemd#Using_units to gain an understanding of the different possible unit states.

No, I am sure that it is not the case. When I tried that unmask command it executed without any errors but I still couldn't enable the service

Offline

#4 2022-12-10 16:14:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: Sddm is masked for some reason

systemctl list-unit-files
stat /etc/systemd/system/sddm.service /usr/lib/systemd/system/sddm.service
lsattr /etc/systemd/system/sddm.service /usr/lib/systemd/system/sddm.service

You did sudo the unmask command?

Offline

Board footer

Powered by FluxBB