DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Smooth transition from Greeter to Session, hide tty flash during login.

Open AC17dollars opened this issue 1 year ago • 7 comments

Feature Description

When the greeter login completes, the transition to the session compositor should be seamless. Currently, the greeter compositor exits and the user sees raw TTY output briefly before the session compositor starts. This breaks immersion and looks unpolished.

The feature would hide terminal/tty messages completely (or show loading screen or not kill the greeter compositor until session compositor starts), making the switch feel like a smooth graphical handoff.

Use Case

When a user logs in through the greetd greeter, it would be ideal to have a smooth, fully graphical transition directly into the session, without any terminal messages appearing in between.

Compositor

Is this feature specific to one compositor?

  • [x] All compositors
  • [ ] niri
  • [ ] Hyprland

Proposed Solution

Add a handoff mechanism so the greeter compositor can directly transfer control to the session compositor, without dropping back to a visible TTY. Options might include:

  1. Running the session compositor on a new VT and switching only when it’s ready, while the greeter compositor displays a “loading” screen in the meantime.

  2. Having greetd support a splash/placeholder surface that stays visible until the session compositor has drawn its first frame.

  3. Letting the greeter compositor chain-exec into the session compositor process instead of exiting to shell.

Alternatives/Existing Solutions

In GNOME/KDE Plasma with GDM or SDDM, there is no tty flash.

AC17dollars avatar Oct 03 '25 14:10 AC17dollars

@Purian23 this isn't planned or is this moved elsewhere?

AC17dollars avatar Oct 27 '25 05:10 AC17dollars

Oops, I actually didn't plan to close this one yet. No solution in place just yet.

purian23 avatar Oct 27 '25 05:10 purian23

To add to this, Dank Material Shell also takes a bit of time to load after, say, niri opens, leaving you with a gray screen for a second or two. Maybe waiting for DMS to finish loading before displaying the session could be more elegant ?

An-Eagle avatar Dec 20 '25 09:12 An-Eagle

To add to this, Dank Material Shell also takes a bit of time to load after, say, niri opens, leaving you with a gray screen for a second or two. Maybe waiting for DMS to finish loading before displaying the session could be more elegant ?

Every time this comes up it's usually a problem with xdg portal configuration so calls to them are timing out.

bbedward avatar Dec 20 '25 13:12 bbedward

Finally fixed! 32d16d067364e3181922bba5f5a5a4f2b0515a7b

purian23 avatar Mar 04 '26 20:03 purian23

I'm using the latest version of greetd-dms-greeter-bin (I used greetd-dms-greeter-git also) but I'm still seeing this bug

Installed From  : None
Name            : greetd-dms-greeter-bin
Version         : 1.5.0-1
Description     : DankMaterialShell greeter for greetd (binary release)
Architecture    : x86_64
URL             : https://github.com/AvengeMedia/DankMaterialShell
Licenses        : MIT
Groups          : None
Provides        : greetd-dms-greeter
Depends On      : greetd  quickshell
Optional Deps   : niri: Niri compositor support
                  hyprland: Hyprland compositor support [installed]
                  sway: Sway compositor support
Required By     : None
Optional For    : None
Conflicts With  : greetd-dms-greeter  greetd-dms-greeter-git
Replaces        : None
Installed Size  : 83.74 MiB
Packager        : Unknown Packager
Build Date      : Sun 12 Jul 2026 05:45:43 PM CDT
Install Date    : Sun 12 Jul 2026 06:26:46 PM CDT
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : None

afrothundaaaa avatar Jul 12 '26 23:07 afrothundaaaa

Please open a new issue

purian23 avatar Jul 12 '26 23:07 purian23