From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Starting ssh service Date: Mon, 11 Apr 2016 20:15:45 +0300 Message-ID: <87vb3ohxry.fsf@gmail.com> References: <570786C5.8080206@fouter.net> <87shywcerr.fsf@member.fsf.org> <570B72EA.40109@fouter.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apfRH-0004f6-7S for help-guix@gnu.org; Mon, 11 Apr 2016 13:15:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apfRE-0001st-1S for help-guix@gnu.org; Mon, 11 Apr 2016 13:15:51 -0400 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:35121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apfRD-0001sl-Pi for help-guix@gnu.org; Mon, 11 Apr 2016 13:15:47 -0400 Received: by mail-lf0-x241.google.com with SMTP id o124so20744348lfb.2 for ; Mon, 11 Apr 2016 10:15:47 -0700 (PDT) In-Reply-To: <570B72EA.40109@fouter.net> (Dick Middleton's message of "Mon, 11 Apr 2016 10:48:26 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Dick Middleton Cc: help-guix@gnu.org 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) %base-services)) the server is started, but with: (services (cons* (xfce-desktop-service) (lsh-service #:port-number 22 #:daemonic? #t #:root-login? #t) %desktop-services)) 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. -- Alex