unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: iyzsong@member.fsf.org (宋文武)
To: Dick Middleton <dick@fouter.net>
Cc: help-guix@gnu.org
Subject: Re: Starting ssh service
Date: Fri, 08 Apr 2016 23:16:08 +0800	[thread overview]
Message-ID: <87shywcerr.fsf@member.fsf.org> (raw)
In-Reply-To: <570786C5.8080206@fouter.net> (Dick Middleton's message of "Fri, 8 Apr 2016 11:24:05 +0100")

Dick Middleton <dick@fouter.net> 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!

  reply	other threads:[~2016-04-08 15:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-08 10:24 Starting ssh service Dick Middleton
2016-04-08 15:16 ` 宋文武 [this message]
2016-04-11  9:48   ` Dick Middleton
2016-04-11 17:15     ` Alex Kost
2016-04-12 13:50       ` Dick Middleton
2016-04-11 18:48 ` myglc2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shywcerr.fsf@member.fsf.org \
    --to=iyzsong@member.fsf.org \
    --cc=dick@fouter.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).