apognu / tuigreet

Graphical console greeter for greetd
GNU General Public License v3.0
986 stars 45 forks source link

[Bug]: tuigreet cannot be started on the VM #88

Closed QingyaoLin closed 1 year ago

QingyaoLin commented 1 year ago

I want to use tuigreet to start startx and then enter bspwm.

system: Nixos Minimum configuration:

# login manager
services.greetd = {
  enable = true;
  package = pkgs.greetd.tuigreet;
  settings = rec {
    default_session = {
      command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd startx";
      user = "greeter";
    };
  };
};

environment.variables = {
  RUST_BACKTRACE = "1";
};

error output: tuigreet_error

I tried to adjust the screen scale of the virtual machine, but failed.

RyukaZou commented 1 year ago

This is not just happen in VM, I have the same situation when I update to kernel 6.x.

when I downgrade to 5.19.x everything work fine.

apognu commented 1 year ago

This should be fixed on master. The size calculations were buggy on small sizes.