On Mon, 03 Oct 2016 16:57:34 +0200,
ng0 wrote:
> 
> ng0 <ngillm...@runbox.com> writes:
> 
> > Can someone explain to the list how the example of the openssh-service
> > is supposed to fit into a default users config based on the regular
> > desktop.scm? So far I think this is a bad example but I have no idea how
> > to improve it.
> >
> > You will typically have
> >
> > (services (cons* (gnome-desktop-service)
> >                  (xfce-desktop-service)
> >                  %desktop-services))
> 
> Damn, the machine I tested this on I added one pair of parens which
> shouldn't have been there.
> 
>  (services (cons* (gnome-desktop-service)
>                   (xfce-desktop-service)
>                   (service
>                    openssh-service-type
>                    (openssh-configuration
>                    (x11-forwarding? #t)
>                    (permit-root-login 'without-password)))
>                   %desktop-services))
> 
> works. The error messages could be more intuitive :)
> 
> > When you do it by the book, the openssh-service will not work.
> >
> > Thanks to whoever worked on and added openssh by the way, it's a good
> > addition.
> >

It seems that originally there should have been `openssh-service' but
is not present in 86d8f6d3efb8300a3354735cbf06be6c01e23243, just
exported in gnu/services/ssh.scm:40.

So I guess there are now two possible choices:

a] remove export
b] provide openssh-service

Best regards,

S_W

Reply via email to