Bootstrap FreeKB - X Display Server - Configure LightDM
X Display Server - Configure LightDM

Updated:   |  X Display Server articles

To install and set LightDM as the default display manager, follow the directions in the artical on how to install a graphic desktop in Linux.

Additionally, install the following packages.

  • gnome-settings-daemon
  • indicator-session
  • unity-greeter
  • ubuntu-mono
  • light-themes

By default, the /etc/lightdm directory may not contain the lightdm.conf file.A starter configuration file is located at /usr/share/doc/lightdm/lightdm.conf.gz. The starter configuration file can be extracted, and then moved the /etc/lightdm directory.

[root@server1 ~]# gunzip /usr/share/doc/lightdm/lightdm.conf.gz
[root@server1 ~]# mv /usr/share/doc/lightdm/lightdm.conf /etc/lightdm

 

At minimum, you are goiing to want to select your default greeter and desktop environment in the lightdm.conf file. For example, if LightDM is being used with Linux Mint, you may want to set Unity as the default greeter and Cinnamon as the desktop environment.

[SeatDefaults]
greeter-session=unity-greeter
user-session=cinnamon

 

With these configurations, you should now get the LightDM greeter at the login screen.

 

GUEST ACCOUNT

By default, LightDM will have an option for the Guest Account at the login screen. To remove Guest Account from the login screen, add the 50-no-guest.conf file to the /etc/lightdm/lightdm.conf.d/ or /usr/share/lightdm/lightdm.conf.d/ directory. Add the following to the 50-no-guest.conf file.

[SeatDefaults]
allow-guest=false

 

 

DEFAULT SESSION

Use the user-session option to set a preferred session. As an example, user-session=xfce.desktop sets Xfce Session as the default selected session. The /usr/share/xsessions/ directory will list the exact name for each available session.

user-session=value

 

Use the greeter-session option to select a preferred greeter. As an example, greeter-session=lightdm-gtk-greeter sets LightDM GTK as the greeter. The /usr/share/xgreeters/ directory will list the exact name for each available greeter.

greeter-session=value

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


May 28 2021 by
LightDM is the default in xfce4 debian derived distros. A bib problem with today Linux distros is the very small fonts in both terminal and desktop. One can change dpi and font size in settings/appearance, but many programs use x11 or something like that, they show very very small. setupcon helps to enlarge the console fonts, however I have not found a way to fix the too small fonts in programs shown in Desktop. I know that many people loves those desktop managers with lots of bells and whistles, users with eagle eyes can read very small fonts. Other users can't read such content. How can one enlarge the screen, I tried changing resolution but it does no have very good result. Any idea?

Add a Comment


Please enter fb0141 in the box below so that we can be sure you are a human.