天天看點

linux lightdm.conf,lightDM(Light Display Manager)簡介

# lightDM(Light Display Manager)簡介

`項目位址`:[https://github.com/canonical/lightdm](https://github.com/canonical/lightdm)

LightDM,是一個全新的、輕量的Linux桌面的桌面顯示管理器,而傳統的Ubuntu用的是GNOME桌面标準的GDM,其目的是成為 X org X 伺服器的标準顯示管理器。

相較于GDM-GTK、KDM-Qt、LightDM實際上與界面無關,它僅支援本地圖形界面獲得最好相容性。

LightDM負責啟動`X Server`,`使用者會話(Session)`和`歡迎界面(Greeter)`。

國産的作業系統桌面環境很多使用了lightdm,如deepin、ukui。

## ukui-greeter

[https://github.com/ukui/ukui-greeter](https://github.com/ukui/ukui-greeter)

ukui的歡迎界面(使用者登入與會話驗證)是由qt基于lightdm開發。最先支援Ubuntu,現已支援debian、openeuler、archlinux等作業系統。

## deepin-greeter

[https://github.com/linuxdeepin/dde-session-shell/tree/master/src/lightdm-deepin-greeter](https://github.com/linuxdeepin/dde-session-shell/tree/master/src/lightdm-deepin-greeter)

## lightdm的優點

+ Cross-desktop - supports different desktop technologies.

+ Supports different display technologies (X, Mir, Wayland ...).

+ Lightweight - low memory usage and high performance.

+ Supports guest sessions.

+ Supports remote login (incoming - XDMCP, VNC, outgoing - XDMCP, pluggable).

+ Comprehensive test suite.

+ Low code complexity.

lightdm提供了一系列鈎子,使用者隻需簡單修改conf配置檔案就可以靈活定制,如自定義主題、執行腳本等

```

/usr/share/lightdm/lightdm.conf.d/*.conf

/etc/lightdm/lightdm.conf.d/*.conf

/etc/lightdm/lightdm.conf

```