# Enabling X11 still results in Wayland

**URL:** https://discourse.nixos.org/t/enabling-x11-still-results-in-wayland/25362
**Category:** Help
**Created:** [February 10, 2023, 12:16am UTC](https://discourse.nixos.org/t/enabling-x11-still-results-in-wayland/25362 "2023-02-10T00:16:00Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jtojnar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/jtojnar/32/70_2.png) [@jtojnar](https://discourse.nixos.org/u/jtojnar)
#### Post date: [February 10, 2023, 12:37am UTC](https://discourse.nixos.org/t/enabling-x11-still-results-in-wayland/25362/2 "2023-02-10T00:37:13Z")

</div>

`services.xserver.enable` makes X server available ([among other things](https://github.com/NixOS/nixpkgs/issues/94799)) but the choice of what display server is actually used is up to the display server (GDM in your case). Since you are enabling the GNOME module so you will have `gnome` and `gnome-xorg` sessions and GDM will default to the former.

You can change the session in the cog wheel menu on the login screen. Or declaratively [preselecting it using `services.xserver.displayManager.defaultSession` option](https://discourse.nixos.org/t/fix-gdm-does-not-start-gnome-wayland-even-if-it-is-selected-by-default-starts-x11-instead/24498/4).

---

_[View the full topic](https://discourse.nixos.org/t/enabling-x11-still-results-in-wayland/25362)._
