[Top][All Lists]

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

Re: Starting ssh service

From: Alex Kost
Subject: Re: Starting ssh service
Date: Mon, 11 Apr 2016 20:15:45 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Dick Middleton (2016-04-11 12:48 +0300) wrote:

> Placing lsh-service in %desktop-services allows guix to complete reconfigure
> but it doesn't start the service.

Do you mean that when you use:

  (services (cons* (lsh-service #:port-number 22
                                #:daemonic? #t
                                #:root-login? #t)

the server is started, but with:

  (services (cons*
             (lsh-service #:port-number 22
                          #:daemonic? #t
                          #:root-login? #t)

it is not, right?

If so, I have no idea how this could happen.

> If instead I order assigning %base-services and %desktop-services so
> %base-services comes first (that was perhaps my mistake) then the build
> proceeds.  However now lshd starts at boot time but the desktop GUI doesn't.
>   (services (cons* (lsh-service #:port-number 22
>                                 #:daemonic? #t
>                                 #:root-login? #t)
>                    %base-services))
>   ;; Add GNOME and/or Xfce---we can choose at the log-in
>   ;; screen with F1.  Use the "desktop" services, which
>   ;; include the X11 log-in service, networking with Wicd,
>   ;; and more.
>   (services (cons*
>              (xfce-desktop-service)
> ;;           (gnome-desktop-service)
>              %desktop-services))

'services' (and any other field) should be specified only once.
Apparently the first one (with %base-services) has a preference, so ssh
server is started and desktop services are not.


reply via email to

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