From mboxrd@z Thu Jan 1 00:00:00 1970 From: Divan Santana Subject: Re: Customize GuixSD: Use Stock SSH Agent Everywhere! Date: Thu, 31 May 2018 12:47:20 +0200 Message-ID: <87efhst83r.fsf@santanas.co.za> References: <87h8mu1lv9.fsf@gnu.org> <87d0xfzgki.fsf@santanas.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOLaY-0006cz-DH for guix-devel@gnu.org; Thu, 31 May 2018 07:17:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOLaV-0004Ez-69 for guix-devel@gnu.org; Thu, 31 May 2018 07:17:50 -0400 Received: from outmail148112.authsmtp.co.uk ([62.13.148.112]:47251) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fOLaU-0004Cm-Ko for guix-devel@gnu.org; Thu, 31 May 2018 07:17:47 -0400 Received: from mail-c245.authsmtp.com (mail-c245.authsmtp.com [62.13.128.245]) by punt24.authsmtp.com. (8.15.2/8.15.2) with ESMTP id w4VAlOVh065231 for ; Thu, 31 May 2018 11:47:24 +0100 (BST) (envelope-from divan@santanas.co.za) Received: from mail.santanas.co.za ([156.0.193.126]) (authenticated bits=0) by mail.authsmtp.com (8.15.2/8.15.2) with ESMTPSA id w4VAlLvw000613 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 31 May 2018 11:47:23 +0100 (BST) (envelope-from divan@santanas.co.za) Received: from authenticated-user (mail.santanas.co.za [156.0.193.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.santanas.co.za (Postfix) with ESMTPSA id F225C200DE for ; Thu, 31 May 2018 12:47:20 +0200 (SAST) In-reply-to: <87d0xfzgki.fsf@santanas.co.za> 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 Divan Santana writes: >> Chris contributed an article showing a neat hack to get ssh-agent >> running on GNOME in lieu of GNOME Keyring=E2=80=99s custom implementatio= n: >> >> https://www.gnu.org/software/guix/blog/2018/customize-guixsd-use-stock= -ssh-agent-everywhere/ >> >> Enjoy! And thanks Chris! > > Thanks very much Chris. This is really appreciated. > > Super useful and just what I was looking for. > > These sort of articles are great for new comers like me. > > Only... I can't get it to work. lol > > When I place this file in my home: > > ~/ =E1=90=85 ll .xsession > -rwxr-xr-x 1 admin users 91 May 28 21:12 .xsession > ~/ =E1=90=85 cat .xsession > #!/run/current-system/profile/bin/bash > > # start ssh-agent system wide. > exec ssh-agent "$@" > > The login crashes from slim. > > How do I debug it? > > slim.log contains nothing useful. Also don't see anything in xorg log. > > Removing the file, I can login again. > > Bit puzzled. OK so I figured out what was the issue. I had to install the packages system wide. Perhaps some i3 or x related packages? Most of my packages were only installed in my user profile. Speaking of which, are there tips/advise on advantages/disadvantages of installing certain packages system wide vs in a user profile? Or multiple user profiles. -- Divan