From Funtoo
Revision as of 16:15, September 5, 2018 by Dutch-master (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Lightdm is a light display manager. It's an excellent alternative to gdm, & kdm. Lightdm is used in conjunction with x11-apps/xdm.


root # emerge lightdm


Lightdm is configured with /etc/lightdm/lightdm.conf, and /etc/conf.d/xdm. By default, lightdm ships with lightdm-gtk-greeter which is controlled by /etc/lightdm/lightdm-gtk-greeter.conf

You'll need to edit the following file to tell the system which display manager to use, and to ensure that dbus is started prior to lightdm. Lightdm will crash if dbus is not running. Change the xdm file to the following:

   /etc/conf.d/xdm - xdm configuration to use lightdm

If you want the user to type in the username, you can set these options.

   /etc/lightdm/lightdm.conf - to make users manually enter the user name

Note: if you get errors with regards to dbus, comment out (or remove) the rc_need line and add dbus to the default runlevel:

root # rc-update add dbus default

Then invoke Openrc to start the missing services:

root # rc


LightDM will be pretty useless for graphical logins with out the addition of a greeter for it.

For GTK fans:

root # emerge x11-misc/lightdm-gtk-greeter

for KDE fans:

root # emerge x11-misc/lightdm-kde

Or if you prefer a webkit based greeter (x11-misc/lightdm-webkit-greeter):

root # emerge x11-misc/lightdm-webkit-greeter

To start LightDM on boot, xdm to the default runlevel. dbus may already be added, but if it's not, it will be started anyway because we have configured xdm to depend on it (see /etc/conf.d/xdm, above).

root # rc-update add xdm default

If you wish to change the background, you can follow these settings:

For LightDM GTK+ greeter edit /etc/lightdm/lightdm-gtk-greeter.conf:

   /etc/lightdm/lightdm-gtk-greeter.conf - lightdm-gtk-greeter.conf

LightDM should display on reboot, which you may want to do now.

root # reboot