Replace KDM with LightDM

Post your tutorials and howtos here.
User avatar
Arjen Balfoort
Site Admin
Posts: 9331
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Replace KDM with LightDM

Postby Arjen Balfoort » 20 Jul 2014 09:39

KDM has been discontinued, and that's the reason why we replaced KDM with LightDM in SolydK in the upcoming ISOs.

If you want to follow the ISOs, and replace KDM with LightDM on a running system, you only need to run a few commands, but before you proceed, you need to create an image of your current system (E.g.: Clonezilla).

After that, open a terminal, and run these commands:

Code: Select all

sudo apt-get update
sudo apt-get install lightdm-gtk-greeter --no-install-recommends
sudo apt-get install lightdm lightdm-manager solydk-system-adjustments
You will be asked whether you want to use KDM, or LightDM. Select "lightdm" (use the arrow keys), and hit Enter:
configure-lightdm.png
configure-lightdm.png (21.39 KiB) Viewed 5324 times
If you want to switch back to KDM:

Code: Select all

sudo dpkg-reconfigure kdm
Removing KDM is optional, and you can do that when you verified that LightDM is functioning as it should after you reboot:

Code: Select all

sudo apt-get purge kdm
You can customize LightDM with the LightDM Manager.


SolydXK needs you!
Development | Testing | Translations

User avatar
palimmo
Posts: 820
Joined: 19 Nov 2013 19:44
Contact:

Re: Replace KDM with LightDM

Postby palimmo » 20 Jul 2014 10:16

It works. Thanks Schoelje.
Could you please suggest how to have my user already selected?
In this way I have just to type my password. I save time and effort :)

With KDM I found a theme that gave me this feature.
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

User avatar
Arjen Balfoort
Site Admin
Posts: 9331
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Replace KDM with LightDM

Postby Arjen Balfoort » 20 Jul 2014 10:30

As far as I know, LightDM does not allow a pre-selected user. The last logged in user is selected at the next boot.


SolydXK needs you!
Development | Testing | Translations

User avatar
MAYBL8
Posts: 1487
Joined: 10 Mar 2013 18:41
Location: Maryland Heights, MO USA
Contact:

Re: Replace KDM with LightDM

Postby MAYBL8 » 20 Jul 2014 10:53

This Article says that SDDM is going to replace KDM:
http://en.wikipedia.org/wiki/Simple_Des ... ay_Manager

When did KDM get discontinued?


User avatar
palimmo
Posts: 820
Joined: 19 Nov 2013 19:44
Contact:

Re: Replace KDM with LightDM

Postby palimmo » 20 Jul 2014 18:25

Schoelje wrote:As far as I know, LightDM does not allow a pre-selected user. The last logged in user is selected at the next boot.
You're right 8-)

Is it normal that I do not have many options (such as console login, ...)?
thanks!
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

User avatar
Arjen Balfoort
Site Admin
Posts: 9331
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Replace KDM with LightDM

Postby Arjen Balfoort » 20 Jul 2014 21:17

Indeed, LightDM is a very lightweight display manager.


SolydXK needs you!
Development | Testing | Translations

User avatar
palimmo
Posts: 820
Joined: 19 Nov 2013 19:44
Contact:

Re: Replace KDM with LightDM

Postby palimmo » 20 Jul 2014 21:22

Schoelje wrote:Indeed, LightDM is a very lightweight display manager.
:D
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Replace KDM with LightDM

Postby zerozero » 20 Jul 2014 22:43

MAYBL8 wrote:This Article says that SDDM is going to replace KDM:
http://en.wikipedia.org/wiki/Simple_Des ... ay_Manager

When did KDM get discontinued?
january 2014;
bliss of ignorance

User avatar
dyfet
Posts: 55
Joined: 05 Apr 2013 11:41
Contact:

Re: Replace KDM with LightDM

Postby dyfet » 30 Aug 2014 14:35

Why lightdm-gtk-greeter rather than lightdm-kde-greeter?
Information in the computer age is the last genuine free market left on earth except those free markets where indigenous people are still surviving - Russell Means

User avatar
Arjen Balfoort
Site Admin
Posts: 9331
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Replace KDM with LightDM

Postby Arjen Balfoort » 30 Aug 2014 14:48

dyfet wrote:Why lightdm-gtk-greeter rather than lightdm-kde-greeter?
Yes, there were two objective reasons, and one subjective reason to do so: it is one less package to worry about (maintenance-wise), it makes the SolydXK family a bit more recognizable (all using the same greeter), and I thought the kde greeter was...well, ugly :oops:


SolydXK needs you!
Development | Testing | Translations

User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

Re: Replace KDM with LightDM

Postby Snap » 31 Aug 2014 10:03

lightdm is ugly on it's own. :lol:
This likely means that your installation is broken. -Mr Pixbuf.

Image

User avatar
dyfet
Posts: 55
Joined: 05 Apr 2013 11:41
Contact:

Re: Replace KDM with LightDM

Postby dyfet » 31 Aug 2014 10:54

Snap wrote:lightdm is ugly on it's own. :lol:
Indeed :)....I think it needs some theming love, whichever one is used...

I liked the kde greeter only because it at least fits in well if you also use the joy splash screen for KDE...
Information in the computer age is the last genuine free market left on earth except those free markets where indigenous people are still surviving - Russell Means

mhwelsh
Posts: 254
Joined: 15 Apr 2013 18:48

Re: Replace KDM with LightDM

Postby mhwelsh » 31 Aug 2014 12:59

Code: Select all

sudo apt-get update
    sudo apt-get install lightdm-gtk-greeter --no-install-recommends
    sudo apt-get install lightdm lightdm-manager solydk-lightdm-adjustments

Code: Select all

solydk-lightdm-adjustments
does not exist in Synaptic or any where else I suspect.

Code: Select all

fitpc3 martin # apt-get install lightdm lightdm-manager solydk-lightdm-adjustments
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package solydk-lightdm-adjustments is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  solydxbe-lightdm-adjustments solydkbo-lightdm-adjustments solydkbe-lightdm-adjustments
Replacing it with;

Code: Select all

fitpc3 martin # apt-get install lightdm lightdm-manager solydkbe-lightdm-adjustments
seems to fix it.

Will it be ok?

martin welsh

User avatar
Arjen Balfoort
Site Admin
Posts: 9331
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Replace KDM with LightDM

Postby Arjen Balfoort » 31 Aug 2014 20:02

Yes, that looks good.


SolydXK needs you!
Development | Testing | Translations

User avatar
bas_otten
Posts: 213
Joined: 19 Oct 2013 12:22
Location: Netherlands

Re: Replace KDM with LightDM

Postby bas_otten » 08 Oct 2014 09:48

After many boot hangups and stability issues with KDM I decided to follow this tutorial and move over to LightDM. Clearly the login screen does not look as pretty as with KDM, but the boot process is Stable and Fast, both with capitals :)

However, I have one issue, happening on shutdown of the laptop. It looks like there is a problem with loading the Plymouth screen and console-type messages flood the screen:
lightdm - startpar plymouth failed - small.jpg
It says 'startpar: service(s) returned failure: plymouth'. I saw there was a topic about this error last year: http://forums.solydxk.com/viewtopic.php?f=9&t=1933. But this was during startup, the log-messages are not the same and the solution does not work in this case.

This the corresponding /var/log/lightdm/lightdm.log:

Code: Select all

[+223.65s] DEBUG: Session pid=3543: Exited with return value 0
[+223.65s] DEBUG: Seat: Session stopped
[+223.65s] DEBUG: Seat: Stopping display server, no sessions require it
[+223.65s] DEBUG: Sending signal 15 to process 3012
[+224.51s] DEBUG: Process 3012 exited with return value 0
[+224.51s] DEBUG: DisplayServer x-0: X server stopped
[+224.51s] DEBUG: Releasing VT 7
[+224.51s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+224.51s] DEBUG: Seat: Display server stopped
[+224.51s] DEBUG: Seat: Active display server stopped, starting greeter
[+224.51s] DEBUG: Seat: Creating greeter session
[+224.52s] DEBUG: Seat: Creating display server of type x
[+224.52s] DEBUG: Using VT 7
[+224.52s] DEBUG: Seat: Starting local X display on VT 7
[+224.52s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+224.52s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+224.52s] DEBUG: DisplayServer x-0: Launching X Server
[+224.52s] DEBUG: Launching process 4879: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+224.52s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+224.56s] DEBUG: Got signal 15 from process 4947
[+224.56s] DEBUG: Caught Terminated signal, shutting down
[+224.56s] DEBUG: Stopping display manager
[+224.56s] DEBUG: Seat: Stopping
[+224.56s] DEBUG: Seat: Stopping display server
[+224.56s] DEBUG: Sending signal 15 to process 4879
[+224.56s] DEBUG: Seat: Stopping session
[+224.56s] DEBUG: Seat: Session stopped
[+226.01s] DEBUG: Got signal 10 from process 4879
[+226.01s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+226.01s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+226.72s] DEBUG: DisplayServer x-0: Error connecting to XServer :0
[+227.33s] DEBUG: Process 4879 exited with return value 0
[+227.33s] DEBUG: DisplayServer x-0: X server stopped
[+227.33s] DEBUG: Releasing VT 7
[+227.33s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+227.33s] DEBUG: Seat: Display server stopped
[+227.33s] DEBUG: Seat: Stopped
[+227.33s] DEBUG: Display manager stopped
[+227.33s] DEBUG: Stopping daemon
[+227.33s] DEBUG: Exiting with return value 0
Shutting down completes successfully despite this error; apt-get dist-upgrade shows my system is completely up-to-date with no open ends.

Anyone else having this as well / know how to solve it?

Regards, Bas.

(If you prefer this update on the Bug control section, that is OK.)

UPDATE:
I do not always get the 'Plymouth Failed' error. But I do always get a visible console during shutdown. Or is this 'works as designed'?

User avatar
bas_otten
Posts: 213
Joined: 19 Oct 2013 12:22
Location: Netherlands

Re: Replace KDM with LightDM

Postby bas_otten » 23 Oct 2014 21:12

In response to my previous post: somehow, after applying UP 2014.10.15, the issue is SOLVED! No more Plymouth error messages during shutdown and a nice splash-screen with LightDM.
Regards, Bas.


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 2 guests