Wenn das so ist. Wenn beide aktiv sind. Dann kommen sie sich ins Gehege.
Es kann nur einen geben. systemctl status lightdm.service systemctl status lightdm-plymouth.service
Wie gesagt: Wenn …
In dem Fall dann einen der beiden deaktivieren: systemctl disable lightdm-plymouth.service
und den anderen neu starten: systemctl restart lightdm.service
Das beschriebene Prozedere müßte ohne Neustart gehen.
Ansonsten müßtest Du Dich in einem TTY einloggen um den Rechner von dort aus runterzufahren oder neu zu starten oder einfach nur den display manager neu zu starten. STRG+ALT+F3 zum Beispiel
$ systemctl status lightdm.service
○ lightdm.service - Light Display Manager
Loaded: error (Reason: Unit lightdm.service failed to load properly, please adjust/correct and reload service manager: File exists)
Active: inactive (dead)
Docs: man:lightdm(1)
Feb 25 22:25:30 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
$ systemctl status lightdm-plymouth.service
● lightdm-plymouth.service - Light Display Manager
Loaded: loaded (/usr/lib/systemd/system/lightdm-plymouth.service; enabled; preset: disabled)
Active: active (running) since Sun 2024-02-25 12:40:11 CET; 9h ago
Main PID: 746 (lightdm)
Tasks: 12 (limit: 9193)
Memory: 365.4M (peak: 412.5M)
CPU: 3min 37.342s
CGroup: /system.slice/lightdm-plymouth.service
├─746 /usr/bin/lightdm
└─773 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
Feb 25 12:40:11 lenovo-a systemd[1]: Starting Light Display Manager...
Feb 25 12:40:11 lenovo-a systemd[1]: Started Light Display Manager.
Feb 25 12:40:13 lenovo-a lightdm[1083]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=967) by (uid=0)
Feb 25 12:40:18 lenovo-a lightdm[1138]: gkr-pam: unable to locate daemon control file
Feb 25 12:40:18 lenovo-a lightdm[1138]: gkr-pam: stashed password to try later in open session
Feb 25 12:40:18 lenovo-a lightdm[1138]: pam_unix(lightdm:session): session opened for user micha(uid=1000) by micha(uid=0)
Feb 25 12:40:19 lenovo-a lightdm[1138]: gkr-pam: unlocked login keyring
[micha@lenovo-a ~]$
Nach
$ systemctl disable lightdm-plymouth.service
Removed "/etc/systemd/system/display-manager.service".
$ systemctl restart lightdm.service
Failed to restart lightdm.service: Unit lightdm.service failed to load properly, please adjust/correct and reload service manager: File exists
See system logs and 'systemctl status lightdm.service' for details.
$ systemctl start lightdm.service
Failed to start lightdm.service: Unit lightdm.service failed to load properly, please adjust/correct and reload service manager: File exists
See system logs and 'systemctl status lightdm.service' for details.
bekommen ich
$ systemctl status lightdm.service
○ lightdm.service - Light Display Manager
Loaded: error (Reason: Unit lightdm.service failed to load properly, please adjust/correct and reload service manager: File exists)
Active: inactive (dead)
Docs: man:lightdm(1)
Feb 25 22:25:30 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 00:03:58 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 00:04:02 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 00:06:17 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
$ systemctl status lightdm-plymouth.service
● lightdm-plymouth.service - Light Display Manager
Loaded: loaded (/usr/lib/systemd/system/lightdm-plymouth.service; disabled; preset: disabled)
Active: active (running) since Sun 2024-02-25 12:40:11 CET; 11h ago
Main PID: 746 (lightdm)
Tasks: 12 (limit: 9193)
Memory: 405.3M (peak: 459.8M)
CPU: 15min 19.981s
CGroup: /system.slice/lightdm-plymouth.service
├─746 /usr/bin/lightdm
└─773 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
Feb 25 12:40:11 lenovo-a systemd[1]: Starting Light Display Manager...
Feb 25 12:40:11 lenovo-a systemd[1]: Started Light Display Manager.
Feb 25 12:40:13 lenovo-a lightdm[1083]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=967) by (uid=0)
Feb 25 12:40:18 lenovo-a lightdm[1138]: gkr-pam: unable to locate daemon control file
Feb 25 12:40:18 lenovo-a lightdm[1138]: gkr-pam: stashed password to try later in open session
Feb 25 12:40:18 lenovo-a lightdm[1138]: pam_unix(lightdm:session): session opened for user micha(uid=1000) by micha(uid=0)
Feb 25 12:40:19 lenovo-a lightdm[1138]: gkr-pam: unlocked login keyring
–
Was bedeutet Loaded: error (Reason: Unit lightdm.service failed to load properly, please adjust/correct and reload service manager: File exists) und was kann ich jetzt machen?
$ systemctl daemon-reload
$ systemctl status lightdm.service
○ lightdm.service - Light Display Manager
Loaded: error (Reason: Unit lightdm.service failed to load properly, please adjust/correct and reload service manager: File exists)
Active: inactive (dead)
Docs: man:lightdm(1)
Feb 25 22:25:30 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 00:03:58 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 00:04:02 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 00:06:17 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 00:10:52 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 00:10:56 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 01:00:19 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
$ systemctl status lightdm-plymouth.service
● lightdm-plymouth.service - Light Display Manager
Loaded: loaded (/usr/lib/systemd/system/lightdm-plymouth.service; disabled; preset: disabled)
Active: active (running) since Sun 2024-02-25 12:40:11 CET; 12h ago
Main PID: 746 (lightdm)
Tasks: 12 (limit: 9193)
Memory: 449.0M (peak: 459.8M)
CPU: 21min 9.910s
CGroup: /system.slice/lightdm-plymouth.service
├─746 /usr/bin/lightdm
└─773 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
Feb 25 12:40:11 lenovo-a systemd[1]: Starting Light Display Manager...
Feb 25 12:40:11 lenovo-a systemd[1]: Started Light Display Manager.
Feb 25 12:40:13 lenovo-a lightdm[1083]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=967) by (uid=0)
Feb 25 12:40:18 lenovo-a lightdm[1138]: gkr-pam: unable to locate daemon control file
Feb 25 12:40:18 lenovo-a lightdm[1138]: gkr-pam: stashed password to try later in open session
Feb 25 12:40:18 lenovo-a lightdm[1138]: pam_unix(lightdm:session): session opened for user micha(uid=1000) by micha(uid=0)
Feb 25 12:40:19 lenovo-a lightdm[1138]: gkr-pam: unlocked login keyring
$ journalctl -xe
Feb 26 00:59:33 lenovo-a polkitd[571]: Registered Authentication Agent for unix-process:8161:4428331 (system bus name :1.118 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org>
Feb 26 00:59:37 lenovo-a polkitd[571]: Operator of unix-session:2 successfully authenticated as unix-user:micha to gain TEMPORARY authorization for action org.freedesktop.systemd1.reload-da>
Feb 26 00:59:37 lenovo-a systemd[1]: Reloading requested from client PID 8161 ('systemctl') (unit session-2.scope)...
Feb 26 00:59:37 lenovo-a systemd[1]: Reloading...
Feb 26 00:59:37 lenovo-a systemd[1]: Reloading finished in 232 ms.
Feb 26 00:59:37 lenovo-a polkitd[571]: Unregistered Authentication Agent for unix-process:unknown (system bus name :1.118, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, local>
Feb 26 01:00:19 lenovo-a systemd[1]: Failed to put bus name to hashmap: File exists
Feb 26 01:00:19 lenovo-a systemd[1]: lightdm.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Feb 26 01:01:00 lenovo-a CROND[8269]: (root) CMD (run-parts /etc/cron.hourly)
Feb 26 01:01:00 lenovo-a anacron[8276]: Anacron started on 2024-02-26
Feb 26 01:01:00 lenovo-a CROND[8268]: (root) CMDEND (run-parts /etc/cron.hourly)
Feb 26 01:01:00 lenovo-a anacron[8276]: Normal exit (0 jobs run)
Warum ist dann lightdm-plymouth.service gestartet, aber nicht lightdm.service? Mach wie du willst, aber bitte richtig
Das ist das Bild mit den animierten Punkten beim Booten, damit nicht von dem ganzen “Hacker-Screen” in Schwarz und Weiß erschlagen wirst. Also der “Begrüßungsbildschirm”.
Wenn plymouth nur für das Bild mit den 3 Punkten beim Booten, da ist, dann brauche ich es doch garnicht. Also wie kann ich auf lightdm.service umschalten und kann ich dann plymouth ganz deaktivieren und deinstallieren?
Der Rechner verlässt nicht den emergency mode oder hat einen anderen Fehler jetzt. Was ist da kaputt gegangen bzw. besser wie komme ich da wieder raus?
Ich habe direkt nach dem booten ein tty mit der Fehlermeldung
Jetzt bin ich in einem live-System. Da ist natürlich mein Nutzer nicht bekannt. Es gab irgendetwas mit chroot oder so ähnlich. Kann ich mich damit in meinen User oder in Root einloggen?
An meine Festplatte komme ich ran (im livesystem) und scheint auch alles da zu sein.
# fsck -A /dev/sda1
fsck from util-linux 2.39.3
e2fsck 1.47.0 (5-Feb-2023)
/dev/nvme0n1p2: clean, 1031200/14303232 files, 35941514/57189888 blocks
fsck.fat 4.2 (2021-01-31)
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
65:01/00
1) Copy original to backup
2) Copy backup to original
3) No action
[123?q]? R
[123?q]? R
[123?q]? a
[123?q]? A
[123?q]?
[123?q]?
…