NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.41k stars 13.63k forks source link

Cannot join in any display/desktop manager #185051

Open AlePon123 opened 2 years ago

AlePon123 commented 2 years ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build X minimal reproducable configuration.nix
    services.xserver = {
     enable = true;
    # ...
    displayManager = {
      sddm.enable = true;
     };
     desktopManager.plasma5.enable = true;
    }

    i dont know why but when i boot into nixos i dont have graphical enviroment i have just tty. then i'm trying systemctl start display-manager and it gives me this 94b6fREiaM4 i'm also using iso image with plasma

Build log

log here if short otherwise a link to a gist

Additional context

Add any other context about the problem here.

Notify maintainers

Metadata

i cant because i'm writing this issue from other os


[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
i cant because i'm writing this issue from other os
wentasah commented 2 years ago

What is the output of systemctl status display-manager and/or journalctl -b -u display-manager?

AlePon123 commented 2 years ago

What is the output of systemctl status display-manager and/or journalctl -b -u display-manager?

Sorry for quality IMG_20220804_015012.jpg

wentasah commented 2 years ago

So it looks that the display manager is running. Maybe, it's running on another console. Try switching consoles by pressing various Alt-Fx keys. If it doesn't help, I'd recommend trying different display manager.

It might also be caused by your graphics card and its drivers/firmware. To confirm that, it would help to see a full boot log, e.g. the output of journalctl -b.

To help with debugging this problem, I'd recommend to add services.openssh.enable = true; to your config and use SSH to access your computer from another one. This will make it easier to post the needed information here (nix-info, journalctl).