[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unbound variable in attempt to install "lightdm"

From: Gottfried
Subject: Re: unbound variable in attempt to install "lightdm"
Date: Fri, 12 May 2023 15:50:00 +0000

thanks for help

I added this line in my config.scm
(use-modules (gnu))
(use-modules (gnu services lightdm))
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg virtualization)


after running sudo guix system reconvigure....
it says:

mistake: the service "xorg-server" appears more than one time.


because gdm is also installed.

So can I have both installed?

kind regards


Am 12.05.23 um 17:20 schrieb Mario Forzanini:

At the beginning of the file there should be a list of imported modules, you should add something like

(use-modules (gnu services lightdm))

Which is the Guile module in which the symbol `lightdm-service-type' is defined, without that Guile won't know how to relate that symbol to any meaningful value.

If you want to find where a service is defined you could use the emacs interface for Guix: typing 'M-x guix RET s a' gives you a list of clickable service names, when you click on one of them useful info pops up. There's probably a way to do it with the command-line interface, but I'm not familiar with that.

I hope this helps :)


Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]