How to change login screen

31,485

Solution 1

You can install another display manager such as LightDM, MDM, Slim, GDM

sudo apt-get install lightdm

select LightDM

sudo dpkg-reconfigure lightdm 

You can add greeters to have nice themes How to change the LightDM theme/greeter?

There is also lightdm-kde-greeter mentioned here How do I install KDE and retain LightDM as a login manager?

Solution 2

for 13.10 or older

use the following command to set lightdm back to normal

sudo /usr/lib/lightdm/lightdm-set-defaults --greeter unity-greeter

reboot for the changes to take effect

This works for going from xubuntu and back to unity-greeter, ubuntustudio and back, and kubuntu back to unity-greeter as well.


14.04

There is no longer a /etc/lightdm/lightdm.conf file and the set-defaults command is no longer available.

Taking a look at my old 13.10 files, I discovered what changes need to be made to select unity-greeter.

There needs to be a file named 50-unity-greeter.conf located in the directory /etc/lightdm/lightdm.conf.d run the following commands to create and/or update this file to use the unity-greeter:

echo '[SeatDefaults]' | sudo tee /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf
echo 'greeter-session=unity-greeter' | sudo tee -a /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf

Don't forget to save any unsaved files before you restart lightdm because you will be logged out!!!

sudo service lightdm restart
Share:
31,485
nazia parveen
Author by

nazia parveen

Updated on September 18, 2022

Comments

  • nazia parveen
    nazia parveen over 1 year

    I am facing the problem in my code please help me to get ride of the prob

    Warning: include(include/about.php): failed to open stream: No such
    file or directory in C:\xampp\htdocs\site\index.php on line 7
    
    Warning: include(): Failed opening 'include/about.php' for inclusion
    (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\site\index.php
    on line 7
    
    • Platinarius
      Platinarius almost 10 years
      I tried installing lightdm but It didn't change the login screen.
    • mchid
      mchid almost 10 years
      you could try sudo apt-get purge lightdm-kde-greeter but that very well may just uninstall kde (plasma desktop plasma this plasma that etc...) along with it so proceed with caution and only accept the changes after reviewing the changes to be made.
    • Andreas
      Andreas about 6 years
      Since the files doesn't exist, delete the lines from the code and your done.
    • Mohammad Ayoub Khan
      Mohammad Ayoub Khan over 4 years
      I was facing the same problem, I was importing a con.php file in another file. It was throwing an error when I use con as the file name which I was importing when I renamed it to connection.php and import it again the error was gone. <br> I think con will be a keyword or something else that's why it was showing error.
  • mchid
    mchid almost 10 years
    I finally found the answer buried deep in one of the non accepted answers of askubuntu.com/questions/75755/… thanks for the link
  • nazia parveen
    nazia parveen about 6 years
    it has already quote, if (isset($_GET['about'])) { include "include/about.php"; }
  • Ericgit
    Ericgit about 6 years
    Please check here this will helpfull for you w3schools.com/html/html_filepaths.asp
  • Nico Haase
    Nico Haase about 4 years
    Please add some explanation to your answer by editing it, such that others can learn from it
  • Nico Haase
    Nico Haase about 4 years
    Please add some explanation to your answer by editing it, such that others can learn from it
  • Nico Haase
    Nico Haase about 4 years
    If there were no quotes about the file name, there would be a syntax error printed