DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

"Syncro" button in Settings uninstalls dms-greeter on a fresh install

Open PonyLucky opened this issue 4 months ago • 3 comments

Compositor

Niri

Distribution

Arch Linux

If Other, please specify

No response

Select your Installation Method

DankInstaller

Was this your original Installation method?

Yes

If no, specify

No response

dms doctor -vC

The issue happened one week ago, I didn't save the output, though when I did dms doctor that time while encountering the issue there were no error. Only optionnal things missing. I was suprised there were no mention of dms-greeter in it.

Description

About the Installation Method I'm not sure. Because it installed itself directly during the installation of Arch Linux live ISO (release 2026.07.01), using archinstall and the desktop profile niri - DankMaterialShell. I guess it's DankInstaller. The greeter is dms-greeter.


After the installation of the OS I installed my apps and paru (AUR). I did my configuration, styling and changed the wallpaper.

Then I wanted to have the same colors and wallpaper on the greeter. So on the settings Greeter > Status I clicked the Syncro button. After restarting I was 'greeted' with an error saying /usr/bin/dms-greeter couldn't be found.

To fix the issue I went in the TTY, installed it manually using paru -S greetd-dms-greeter-bin, then restarted again.

Expected Behavior

The Syncro button in the Settings > Greeter > Status shoudn't nuke the binary /usr/bin/dms-greeter when not installed manually (or explicitely).

Though I am aware it can be an issue on archinstall instead of DMS.

Steps to Reproduce

  1. Install a fresh Arch Linux via archinstall and choose the desktop profile niri - DankMaterialShell, let dms-greeter as selected in the greeter section.
  2. Boot/restart into your new OS.
  3. Style it (colors/wallpaper).
  4. In the settings, "Greeter > Status" click on the button Syncro.
  5. Reboot the computer, you should see the error /usr/bin/dms-greeter not found.

Error Messages/Logs

After "greeter syncing" and rebooting on a fresh Arch Linux install :

/usr/bin/dms-greeter not found

Screenshots/Recordings

N/A

PonyLucky avatar Aug 02 '26 11:08 PonyLucky

same here something is broken

MyAimSlow avatar Aug 05 '26 05:08 MyAimSlow

Same issue here: Arch Linux + dms-shell 1.5.3-1 (extra repo, installed via the archinstall "niri - DankMaterialShell" profile), niri 26.04.

Additional detail: the "Syncro" button rewrites /etc/greetd/config.toml with:

command = "/usr/bin/dms-greeter --command niri -p /usr/share/quickshell/dms --cache-dir /var/cache/dms-greeter -C /etc/greetd/niri/config.kdl"

but the dms-shell package ships the greeter only as a quickshell asset at /usr/share/quickshell/dms/Modules/Greetd/assets/dms-greeter — there is no /usr/bin/dms-greeter at all. greetd then crash-loops ("greeter exited without creating a session") and the login screen never appears until the config is fixed.

Workaround without AUR:

sudo ln -s /usr/share/quickshell/dms/Modules/Greetd/assets/dms-greeter /usr/bin/dms-greeter

(or point the command in /etc/greetd/config.toml at the asset path).

Root cause suggestion: the sync hardcodes /usr/bin/dms-greeter while the extra package installs the binary as an asset — either the sync should resolve the real path, or the package should install the binary at /usr/bin/dms-greeter.

fracergu avatar Aug 29 '26 11:08 fracergu

Fixed by https://github.com/duxlabs-dev/dux-shell/commit/a69acf171affd53aa01aa9ed7bd437e5e9ed31f9 (greeter: migrated dms-greeter to github/AvengeMedia/dank-greeter). Reopen if it still happens on the latest release.

bbedward avatar Oct 28 '26 23:10 bbedward