From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: openssh-service Date: Mon, 03 Oct 2016 14:57:34 +0000 Message-ID: <87k2dpeazl.fsf@we.make.ritual.n0.is> References: <87mvil33p2.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br4gv-0007PJ-Ot for guix-devel@gnu.org; Mon, 03 Oct 2016 10:58:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1br4gr-0006gd-Jp for guix-devel@gnu.org; Mon, 03 Oct 2016 10:58:04 -0400 Received: from aibo.runbox.com ([91.220.196.211]:46856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br4gr-0006gO-Dg for guix-devel@gnu.org; Mon, 03 Oct 2016 10:58:01 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1br4go-0002mK-G3 for guix-devel@gnu.org; Mon, 03 Oct 2016 16:57:58 +0200 Received: from x5d83ed7f.dyn.telefonica.de ([93.131.237.127] helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1br4gV-0005dZ-0T for guix-devel@gnu.org; Mon, 03 Oct 2016 16:57:39 +0200 In-Reply-To: <87mvil33p2.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: guix-devel@gnu.org 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. > > --