all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* openssh-service
@ 2016-10-03 14:30 ng0
  2016-10-03 14:57 ` openssh-service ng0
  0 siblings, 1 reply; 3+ messages in thread
From: ng0 @ 2016-10-03 14:30 UTC (permalink / raw)
  To: guix-devel

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))

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: openssh-service
  2016-10-03 14:30 openssh-service ng0
@ 2016-10-03 14:57 ` ng0
  2016-11-07 22:28   ` openssh-service Tomáš Čech
  0 siblings, 1 reply; 3+ messages in thread
From: ng0 @ 2016-10-03 14:57 UTC (permalink / raw)
  To: guix-devel

ng0 <ngillmann@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.
>
>

-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: openssh-service
  2016-10-03 14:57 ` openssh-service ng0
@ 2016-11-07 22:28   ` Tomáš Čech
  0 siblings, 0 replies; 3+ messages in thread
From: Tomáš Čech @ 2016-11-07 22:28 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

On Mon, 03 Oct 2016 16:57:34 +0200,
ng0 wrote:
> 
> ng0 <ngillmann@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-07 22:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-03 14:30 openssh-service ng0
2016-10-03 14:57 ` openssh-service ng0
2016-11-07 22:28   ` openssh-service Tomáš Čech

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.