Difference between revisions of "Install Display Managers"

troubleshooting section added
imported>Aaditya
imported>Excalibur1234
(troubleshooting section added)
Line 247: Line 247:
<br clear="all" />
<br clear="all" />


=Display Manager Crashes (SystemD)=
 
=Troubleshooting=
 
 
==Display Manager Crashes (SystemD)==


After Arch and other Arch-based derivatives introduced a new internal process called '''SystemD''' relatively recently, many display managers would crash upon attempting to log out and back in multiple times. While this should have been resolved at the time of writing, more experienced users encountering this problem can manually configure their display manager by editing the '''/etc/pam.d/[display manager]''' configuration file.  
After Arch and other Arch-based derivatives introduced a new internal process called '''SystemD''' relatively recently, many display managers would crash upon attempting to log out and back in multiple times. While this should have been resolved at the time of writing, more experienced users encountering this problem can manually configure their display manager by editing the '''/etc/pam.d/[display manager]''' configuration file.  
Line 254: Line 258:


  session required pam_systemd.so
  session required pam_systemd.so
==Display Manager service cannot be disabled==
If an old Display Manager service cannot be disabled with the command
sudo systemctl enable XXXX.service -f
(replace XXXX with the name of the Display Manager you want to disable),
please try to disable all Display Managers on your System by deleting the following file:
sudo rm /etc/systemd/system/display-manager.service
Attention: After deleting this file, ALL Display Managers have been disabled and your system boots to a text-based interface [https://en.wikipedia.org/wiki/Command-line_interface]. You need to install and enable a Display Manager in order to be able to log in with a graphical user interface.