From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: Starting ssh service Date: Fri, 08 Apr 2016 23:16:08 +0800 Message-ID: <87shywcerr.fsf@member.fsf.org> References: <570786C5.8080206@fouter.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoY9T-0002VQ-2i for help-guix@gnu.org; Fri, 08 Apr 2016 11:16:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoY9N-0003g0-P6 for help-guix@gnu.org; Fri, 08 Apr 2016 11:16:51 -0400 Received: from smtp27.openmailbox.org ([62.4.1.61]:39134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoY9N-0003fV-JY for help-guix@gnu.org; Fri, 08 Apr 2016 11:16:45 -0400 In-Reply-To: <570786C5.8080206@fouter.net> (Dick Middleton's message of "Fri, 8 Apr 2016 11:24:05 +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 writes: > Hello, Hi! > > Just started playing with Guix and am trying to get ssh to start as a service. > > My system is configured using the standard desktop example config.scm given > with the installation. > > I'm trying to add the relevant bits from the simple example in reference guide > "7.2.1 Using the Configuration System". > > i.e I've added: > > (use-service-modules networking ssh) > ... > (services (cons* (lsh-service) %base-services)) The desktop example use '%desktop-services' (in gnu/services/desktop.scm). It contain services like dbus, slim, and wicd, etc. wicd-service is provide the 'networking'. > > guix reconfigure complains with this error: ssh-daemon requires 'networking' > which is undefined. > > Do I have to install something (why is it not already installed?) or am I > doing something wrong? You can use '%desktop-services' (or add 'wicd-service' or others. see the 7.2.7.2 Networking Services section of the manual). Hope it helps!