From: Dick Middleton <dick@fouter.net>
To: help-guix@gnu.org
Subject: Re: Starting ssh service
Date: Mon, 11 Apr 2016 10:48:26 +0100 [thread overview]
Message-ID: <570B72EA.40109@fouter.net> (raw)
In-Reply-To: <87shywcerr.fsf@member.fsf.org>
On 04/08/16 16:16, 宋文武 wrote:
> Dick Middleton <dick@fouter.net> writes:
>>
>> Just started playing with Guix and am trying to get ssh to start as a
>> service.
> wicd-service is provide the 'networking'.
>>
> You can use '%desktop-services' (or add 'wicd-service' or others. see the
> 7.2.7.2 Networking Services section of the manual).
Placing lsh-service in %desktop-services allows guix to complete reconfigure
but it doesn't start the service.
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.
How should I configure a server with a GUI?
Dick
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce.
(use-modules (gnu) (gnu system nss))
(use-service-modules desktop ssh)
(use-package-modules certs)
(operating-system
(host-name "antelope")
(timezone "Europe/London")
(locale "en_US.UTF-8")
;; Assuming /dev/sdX is the target hard disk, and "my-root"
;; is the label of the target root file system.
(bootloader (grub-configuration (device "/dev/sda")))
(file-systems (cons (file-system
(device "GUIX")
(title 'label)
(mount-point "/")
(type "ext4"))
%base-file-systems))
(users (cons (user-account
(name "dick")
(comment "Alice's brother")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/dick"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
%base-packages))
(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))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
next prev parent reply other threads:[~2016-04-11 9:48 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 ` 宋文武
2016-04-11 9:48 ` Dick Middleton [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=570B72EA.40109@fouter.net \
--to=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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.