Switching from gdm lead to error

  • Open
  • quality assurance status badge
Details
2 participants
  • Gleb Gorshkov
  • Leo Famulari
Owner
unassigned
Submitted by
Gleb Gorshkov
Severity
normal
G
L
L
Leo Famulari wrote on 2 Jan 2022 20:47
(name . Gleb Gorshkov)(address . glebgorshkov9@gmail.com)(address . 52957@debbugs.gnu.org)
YdIBWkKXFYw8b+di@jasmine.lan
On Sun, Jan 02, 2022 at 07:12:31AM +0500, Gleb Gorshkov wrote:
Toggle quote (5 lines)
> Snippet from documentation
> https://guix.gnu.org/manual/en/html_node/X-Window.html#slim-service-type
> produce an error
> guix system: error: service 'xorg-server' provided more than once


What kind of computer are you using? Is it aarch64 (64-bit ARM)?

Please share the config.scm that causes the problem.

Also, please run `guix describe` in the same way you ran the command
that caused the error. For example, if you did `sudo guix system
reconfigure ...`, then do `sudo guix describe`. Send the results and we
can try to debug it.
L
L
Leo Famulari wrote on 6 Jan 2022 06:24
[glebgorshkov9@gmail.com: Re: bug#52957: Switching from gdm lead to error]
(address . 52957@debbugs.gnu.org)
YdZ9KtPA7h/x5WOU@jasmine.lan
----- Forwarded message from Gleb Gorshkov <glebgorshkov9@gmail.com> -----

Date: Tue, 4 Jan 2022 23:52:27 +0500
From: Gleb Gorshkov <glebgorshkov9@gmail.com>
To: Leo Famulari <leo@famulari.name>
Subject: Re: bug#52957: Switching from gdm lead to error

found solution. Actually bug was caused by using simultaneously two
snippets from manual.
One from keyboard layout section

(operating-system
;; ...
(keyboard-layout (keyboard-layout "tr")) ;for the console
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(target "/boot/efi")
(keyboard-layout keyboard-layout))) ;for GRUB
(services (cons (set-xorg-configuration
(xorg-configuration ;for Xorg
(keyboard-layout keyboard-layout)))
%desktop-services)))

One from X Window section
(operating-system
;; ...
(services (cons* (service slim-service-type (slim-configuration
(display ":0")
(vt "vt7")))
(service slim-service-type (slim-configuration
(display ":1")
(vt "vt8")))

After I have moved the keyboard-layout option to slim-configuration,
the error disappeared.
Still, this is a bug I believe.
Please let me know if additional info still needed.

----- End forwarded message -----
?