Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How to completely reinstall lightdm

  1. #1
    Join Date
    Feb 2018
    Beans
    5

    How to completely reinstall lightdm

    Hello. Yesterday i tried to install a theme for lightdm. I "installed" and then when rebooting, for some reasons, it was stuck on the splash screen of elementary os. So i've opened elementary in recovery mode and then i managed to install gdm and i've booted into my system. I searched all the day for a way to install lightdm, but every solution that i founded haven't worked. Currently i'm with gdm but i don't like how it looks(don't ask) and i want to replace with lightdm. How can i do that. Every time when i try to install lightdm again from the terminal, the installation freezes at 0% and stays like that for hours. Can someone please help me? I am using elementary os Loki 0.4.1 64 bit

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,615
    Distro
    Ubuntu

    Re: How to completely reinstall lightdm

    Thread moved to Ubuntu/Debian BASED
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Jan 2018
    Beans
    140

    Re: How to completely reinstall lightdm

    Is lightdm installed right now?

    Code:
    apt policy lightdm
    from the terminal will tell us.

    How did you install lightdm?

    To install:

    Code:
    sudo apt install lightdm
    If you want to change the login manager, proceed like this:

    Code:
    sudo dpkg-reconfigure lightdm
    to change the defaults.

    Normally when you install another login manager you will be asked which one to use.

    I guess that should work in the same manner on ElementaryOS.

    I posted some terminal commands because they work on any system in the same way. You could of course install lightdm from your app or software center.

  4. #4
    Join Date
    Feb 2018
    Beans
    5

    Re: How to completely reinstall lightdm

    So, this is what i get after running the first command:

    lightdm:
    Installed: 1.18.3-0ubuntu1.1
    Candidate: 1.18.3-0ubuntu1.1
    Version table:
    *** 1.18.3-0ubuntu1.1 100
    100 /var/lib/dpkg/status
    1.18.1-0ubuntu1 500
    500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages


    And if I remember good, i've installed with sudo apt-get install lightdm, after running sudo apt-get purge lightdm. Is this good?
    Oh and if it helps, with lightdm selected it says while booting: Failed to start Light Desktop Manager. I think that means that lightdm can't start.

  5. #5
    Join Date
    Mar 2017
    Beans
    1,018

    Re: How to completely reinstall lightdm

    What is your output for...
    Code:
    lightdm --show-config

  6. #6
    Join Date
    Feb 2018
    Beans
    5

    Re: How to completely reinstall lightdm

    It says:

    Failed to load configuration from /etc/lightdm/lightdm.conf: Key file does not start with a group

    sorry, but i don't know how to put my commands like you have done

  7. #7
    Join Date
    Mar 2017
    Beans
    1,018

    Re: How to completely reinstall lightdm

    Output for...
    Code:
    cat  /etc/lightdm/lightdm.conf
    To put in code blocks when replying see HERE.
    Basically reply in advanced mode, paste in your output, highlight the text with left mouse and then hit the "#" icon.
    Last edited by again?; February 8th, 2018 at 05:10 PM.

  8. #8
    Join Date
    Feb 2018
    Beans
    5

    Re: How to completely reinstall lightdm

    Output:

    Code:
    greeter-session=lightdm-webkit-greeter
    Thanks for the link!

  9. #9
    Join Date
    Mar 2017
    Beans
    1,018

    Re: How to completely reinstall lightdm

    Quote Originally Posted by mattdiamond17 View Post
    It says:

    Failed to load configuration from /etc/lightdm/lightdm.conf: Key file does not start with a group

    sorry, but i don't know how to put my commands like you have done
    Quote Originally Posted by mattdiamond17 View Post
    Output:

    Code:
    greeter-session=lightdm-webkit-greeter
    Thanks for the link!
    As shown in error output, "/etc/lightdm/lightdm.conf" does not have a group heading and should look like this...
    Code:
    [Seat:*]
    greeter-session=lightdm-webkit-greeter
    This command will correct the file...
    Code:
    echo -e "[Seat:*]\ngreeter-session=lightdm-webkit-greeter" | sudo tee /etc/lightdm/lightdm.conf
    Then try again...
    Code:
    lightdm --show-config

  10. #10
    Join Date
    Feb 2018
    Beans
    5

    Re: How to completely reinstall lightdm

    OK. Thanks a lot for the reply.

    So here is my output:
    Code:
       [Seat:*]
    B  greeter-session=lightdm-webkit-greeter
    
    
    Sources:
    A  /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
    B  /etc/lightdm/lightdm.conf
    It is good?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •