Identificare il display manager in uso in Linux
Come sappiamo nella nostra distro Linux possiamo installare vari display manager, desktop environment, ecc.
Se ad esempio abbiamo installato più display manager e vogliamo sapere qual'è quello che stiamo usando, come possiamo fare?
Se la vostra distro usa Systemd possiamo lanciare questo comando:
$ systemctl status display-manager
● lightdm.service - Light Display Manager
Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; preset: disabled)
.............
Oppure:
$ cat /etc/systemd/system/display-manager.service
[Unit]
Description=Light Display Manager
Documentation=man:lightdm(1)
Conflicts=getty@tty1.service
After=getty@tty1.service systemd-user-sessions.service plymouth-quit.service acpid.service
[Service]
ExecStart=/usr/bin/lightdm
Restart=always
IgnoreSIGPIPE=no
BusName=org.freedesktop.DisplayManager
[Install]
Alias=display-manager.service
Quindi sto usando LDM.
Su altre distro ci dovrebbe essere anche il file /etc/X11/default-display-manager, ma sulla mia Manjaro non ce l'ho.
Probabilmente è un file "vecchio" non più in uso.
E voi avete altri metodi?
Enjoy!
linux systemd display manager
Commentami!