From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-2?Q?Tom=E1=B9_=C8ech?= Subject: Re: openssh-service Date: Mon, 07 Nov 2016 23:28:47 +0100 Message-ID: <874m3i6i1s.wl-sleep_walker@gnu.org> References: <87mvil33p2.fsf@we.make.ritual.n0.is> <87k2dpeazl.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3sPO-0002Wb-BE for guix-devel@gnu.org; Mon, 07 Nov 2016 17:28:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3sPL-00034R-75 for guix-devel@gnu.org; Mon, 07 Nov 2016 17:28:54 -0500 Received: from mx2.suse.de ([195.135.220.15]:37878) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c3sPL-00034G-0p for guix-devel@gnu.org; Mon, 07 Nov 2016 17:28:51 -0500 In-Reply-To: <87k2dpeazl.fsf@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: ng0 Cc: guix-devel@gnu.org On Mon, 03 Oct 2016 16:57:34 +0200, ng0 wrote: > > ng0 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