Modern Desktop Display Manager (mddm)
  • C++ 74.1%
  • QML 17.9%
  • CMake 5.4%
  • Perl 1.2%
  • Shell 1%
  • Other 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Shawn W Dunn ca0118851b
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/update-container Pipeline was successful
greeter: remap the window so the cursor always appears
During development and testing, in both vm and on hardware, mddm/weston
were failing to display the mouse cursor.  The mouse worked fine, the
cursor was just invisible.

Weston adds the poitner on the first motion and can then send an enter
event with serial 0.  Qt doesn't set a cursor with that serial, so the
cursor stayed invisible.  Hide and show the window once, after the first
enter event, to get a new one.

This works around https://qt-project.atlassian.net/browse/QTBUG-146015
and can be removed once the minimum Qt version includes a fix.
2026-11-25 20:32:18 +01:00
.woodpecker ci: Always pull images for compilation step 2026-11-23 07:31:00 -05:00
ci greeter: report the capslock state on wayland 2026-11-25 20:22:33 +01:00
cmake Drop libxcb and libxkb dependencies 2026-11-18 11:41:41 -08:00
components components: Add hoverBorderColor to Button 2026-11-25 20:24:57 +01:00
data translations: Update Arabic 2026-11-25 20:24:57 +01:00
docs docs: Document more of the theme API 2026-11-25 20:24:57 +01:00
releng releng: Update the release template and script 2026-11-22 23:24:14 +01:00
services service: Want systemd-logind.service 2026-11-22 23:15:48 +01:00
src greeter: remap the window so the cursor always appears 2026-11-25 20:32:18 +01:00
test Add .clang-format and reformat the source tree 2026-11-22 15:35:12 -08:00
.clang-format Add .clang-format and reformat the source tree 2026-11-22 15:35:12 -08:00
.commit-template Remove wiki reference from commit template 2014-08-10 01:40:39 +00:00
.git-blame-ignore-revs Add .git-blame-ignore-revs for the clang-format commit 2026-11-22 15:38:51 -08:00
.gitattributes Add .gitattributes 2018-02-26 09:03:42 +01:00
.gitignore GitHub workflow 2020-11-03 10:32:48 +01:00
.mailmap Update mailmap 2017-02-26 19:08:11 +01:00
ChangeLog bump to 0.21.0 and start changelog 2024-02-26 11:23:03 +01:00
CMakeLists.txt greeter: report the capslock state on wayland 2026-11-25 20:22:33 +01:00
CONTRIBUTORS CONTRIBUTORS: Add the contributors since the fork 2026-11-22 23:22:43 +01:00
INSTALL.md docs: Describe the PAM services in INSTALL.md 2026-11-25 20:24:57 +01:00
LICENSE Update license files 2016-05-04 20:28:58 +03:00
LICENSE.CC-BY-3.0 Update license files 2016-05-04 20:28:58 +03:00
README.md README: Add Matrix and CI badges 2026-11-22 20:18:19 -05:00

INTRODUCTION

Matrix | CI

MDDM is a modern display manager for X11 and Wayland sessions aiming to be fast, simple and beautiful. It uses modern technologies like QtQuick, which in turn gives the designer the ability to create smooth, animated user interfaces.

MDDM is extremely themeable. We put no restrictions on the user interface design, it is completely up to the designer. We simply provide a few callbacks to the user interface which can be used for authentication, suspend etc.

To further ease theme creation we provide some premade components like a textbox, a combox etc.

There are a few sample themes distributed with MDDM. They can be used as a starting point for new themes.

RESOURCES

INSTALLATION

Qt >= 6.0.0 is required to use MDDM.

MDDM runs the greeter as a system user named "mddm" whose home directory needs to be set to /var/lib/mddm.

If pam and systemd are available, the greeter will go through logind which will give it access to drm devices.

Distributions without pam and systemd will need to put the "mddm" user into the "video" group, otherwise errors regarding GL and drm devices might be experienced.

VIRTUAL TERMINALS

MDDM is assumed to start at the tty specified by the cmake variable MDDM_INITIAL_VT which is an integer and defaults to 1.

If MDDM_INITIAL_VT wasn't available, MDDM will use the next available one instead.

You can override MDDM_INITIAL_VT if you want to have a different one if, for example, you were planning on using tty1 for something else.

LICENSE

Source code of MDDM is licensed under GNU GPL version 2 or later (at your choosing). MDDM is a fork of SDDM. QML files are MIT licensed and images are CC BY 3.0.

TROUBLESHOOTING

No User Icon

MDDM reads user icon from either ~/.face.icon or FacesDir/username.face.icon

You need to make sure that MDDM user have permissions to read those files. In case you don't want to allow other users to access your $HOME you can use ACLs if your filesystem does support it.

setfacl -m u:mddm:x /home/username
setfacl -m u:mddm:r /home/username/.face.icon

Custom DPI

In order to set custom DPI for X11 sessions on high resolution screens you should configure Xorg yourself. An easy way is to pass an additional argument to Xorg.

Edit /etc/mddm.conf, go to the X11 section and change ServerArguments like this:

ServerArguments=-nolisten tcp -dpi 192

to set DPI to 192.

As an alternative you can edit Xorg configuration xorg.conf, please refer to the Xorg documentation.