services: desktop: Switch to GDM.

* gnu/services/desktop.scm (%desktop-services): Replace
SLIM-SERVICE-TYPE instance with an instance of GDM-SERVICE-TYPE.
* doc/guix.texi (Keyboard Layout): Change example to mention
GDM-SERVICE-TYPE.
(X Window): Mention GDM.
(Desktop Services): Adjust references to SLiM.
This commit is contained in:
Ludovic Courtès 2019-03-28 23:03:11 +01:00
parent 971e6560eb
commit 357b287b8f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 13 additions and 7 deletions

View File

@ -11090,8 +11090,8 @@ configuration would look like:
(target "/boot/efi") (target "/boot/efi")
(keyboard-layout keyboard-layout))) ;for GRUB (keyboard-layout keyboard-layout))) ;for GRUB
(services (modify-services %desktop-services (services (modify-services %desktop-services
(slim-service-type config => (gdm-service-type config =>
(slim-configuration (gdm-configuration
(inherit config) (inherit config)
(xorg-configuration (xorg-configuration
(xorg-configuration ;for Xorg (xorg-configuration ;for Xorg
@ -13294,7 +13294,13 @@ Package object of the Open vSwitch.
Support for the X Window graphical display system---specifically Support for the X Window graphical display system---specifically
Xorg---is provided by the @code{(gnu services xorg)} module. Note that Xorg---is provided by the @code{(gnu services xorg)} module. Note that
there is no @code{xorg-service} procedure. Instead, the X server is there is no @code{xorg-service} procedure. Instead, the X server is
started by the @dfn{login manager}, by default SLiM. started by the @dfn{login manager}, by default the GNOME Display Manager (GDM).
@cindex GDM
@cindex GNOME, login manager
GDM of course allows users to log in into window managers and desktop
environments other than GNOME; for those using GNOME, GDM is required for
features such as automatic screen locking.
@cindex window manager @cindex window manager
To use X11, you must install at least one @dfn{window manager}---for To use X11, you must install at least one @dfn{window manager}---for
@ -14406,7 +14412,7 @@ This is a list of services that builds upon @var{%base-services} and
adds or adjusts services for a typical ``desktop'' setup. adds or adjusts services for a typical ``desktop'' setup.
In particular, it adds a graphical login manager (@pxref{X Window, In particular, it adds a graphical login manager (@pxref{X Window,
@code{slim-service}}), screen lockers, a network management tool @code{gdm-service-type}}), screen lockers, a network management tool
(@pxref{Networking Services, @code{network-manager-service-type}}), energy and color (@pxref{Networking Services, @code{network-manager-service-type}}), energy and color
management services, the @code{elogind} login and seat manager, the management services, the @code{elogind} login and seat manager, the
Polkit privilege service, the GeoClue location service, the Polkit privilege service, the GeoClue location service, the
@ -14445,8 +14451,8 @@ functionality to work as expetected.
The desktop environments in Guix use the Xorg display server by The desktop environments in Guix use the Xorg display server by
default. If you'd like to use the newer display server protocol default. If you'd like to use the newer display server protocol
called Wayland, you need to use the @code{sddm-service} instead of the called Wayland, you need to use the @code{sddm-service} instead of
@code{slim-service} for the graphical login manager. You should then GDM as the graphical login manager. You should then
select the ``GNOME (Wayland)'' session in SDDM. Alternatively you can select the ``GNOME (Wayland)'' session in SDDM. Alternatively you can
also try starting GNOME on Wayland manually from a TTY with the also try starting GNOME on Wayland manually from a TTY with the
command ``XDG_SESSION_TYPE=wayland exec dbus-run-session command ``XDG_SESSION_TYPE=wayland exec dbus-run-session

View File

@ -1078,7 +1078,7 @@ dispatches events from it.")))
(define %desktop-services (define %desktop-services
;; List of services typically useful for a "desktop" use case. ;; List of services typically useful for a "desktop" use case.
(cons* (service slim-service-type) (cons* (service gdm-service-type)
;; Screen lockers are a pretty useful thing and these are small. ;; Screen lockers are a pretty useful thing and these are small.
(screen-locker-service slock) (screen-locker-service slock)