From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wE4EHz7u2GUk0QAAqHPOHw:P1 (envelope-from ) for ; Fri, 23 Feb 2024 20:13:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wE4EHz7u2GUk0QAAqHPOHw (envelope-from ) for ; Fri, 23 Feb 2024 20:13:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708715582; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=JRO6zV8MpbqdtBeSrPps/Xu1iJYOTXQbR1SvvUVyeg8=; b=MiaEL3G2h2kyjdOc3MQCYqhOmSHy9cwzvuCsOR22h7+b6as3lieqk/yWTYknmwT13aEj0l 6jpZpK+Lc8N8sogZMytaAqJa/uyoQMZL928EiKM9dYtO6duoLf2RZkLkRTT8kut6oM9sLG eV/WmCtrmjv4ulJW8LdwZx48da/DHo/Z6zIQ5vUJYIxotD9F0ugrI08t/ShQYx5HZwYrTd H2OYjky6F89rW45TVUZLkzoCCh9j2yX9vguTYlPnpXUmRmLTk11Pfw1XixZrxmc2rP1ZnZ eUJEnzum+C67PeuBh2f26pHdxPIXy0Nnppcymax9N5yPL/rBub8xYl5QrO2Hhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708715582; a=rsa-sha256; cv=none; b=eFRC5CZtRzhmVQFFnwta2hcXHCC0sCqj2AsLIdeEoFSOSZtNGr1zDKkImk9vGSYKZy05LF LhZzIuXbrLQCUh2nmesZYewPknr1NRjD9tz8dVgIFpufspQx7kdr42uKNud5LMz0YKunPs EhAJ5n1JLznbpt5Pk0ppeImLAlSaZOPBFHoodidA09g1vVm+OIkL3fB+Qv42wmcdzPiyCb JHoTZc+PQcBUJ8BXfxOBtISZ8ohkt1o2KY1xNgopTneKLP7OdZn3KFC9+047yzzZw3uaH3 o/9kw6Vz1ZTIje0PRKkmMcMfQmWmx69BUP1hVVfWkNWMqDfzEA2mqxgEnEDHUg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 587CE135C8 for ; Fri, 23 Feb 2024 20:13:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdaxi-0006My-Tr; Fri, 23 Feb 2024 14:11:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdaKy-0005HO-Ah; Fri, 23 Feb 2024 13:31:56 -0500 Received: from ns13.heimat.it ([46.4.214.66]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdaKw-0003oK-FP; Fri, 23 Feb 2024 13:31:55 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 08B7630081F; Fri, 23 Feb 2024 18:31:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MiPYgwYrCL-8; Fri, 23 Feb 2024 18:31:50 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.217]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 499B330081A; Fri, 23 Feb 2024 18:31:50 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id B28F22ED32E5; Fri, 23 Feb 2024 19:31:49 +0100 (CET) Received: (nullmailer pid 12289 invoked by uid 1000); Fri, 23 Feb 2024 18:31:49 -0000 From: Giovanni Biscuolo To: help-gnu-emacs@gnu.org Cc: help-guix@gnu.org Subject: Re: 29.1: tramp: use $SHELL environment variable to start remote shell? In-Reply-To: <87o7c75j1l.fsf@xelera.eu> Organization: Xelera.eu References: <87o7c75j1l.fsf@xelera.eu> Date: Fri, 23 Feb 2024 19:31:42 +0100 Message-ID: <87jzmv58xd.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.32 X-Spam-Score: -4.32 X-Migadu-Queue-Id: 587CE135C8 X-TUID: zLlHcStGdi1a --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Giovanni Biscuolo writes: [...] > I need my remote profile to be loaded because all hosts I manage have > Guix [2] installed and all needed environment variables are set by the > user profile; here is an example of a "M-x shell" remote connection to a > guix host (foreign distro), the same holds for "M-x eshell": > > --8<---------------cut here---------------start------------->8--- > > /ssh:local.biscuolo.anemone:/localhome/g/ #$ guix describe > guix 3676e31 > repository URL: https://git.savannah.gnu.org/git/guix.git > commit: 3676e312aaf1ce10ed1d7844e871b54e04624098 > /ssh:local.biscuolo.anemone:/localhome/g/ #$ $SHELL -l > (anemone)g@anemone:~$ guix describe > Generation 9 Apr 21 2021 09:23:33 (current) > guix 13c4a37 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 13c4a377f5a2e1240790679f3d5643385b6d7635 > > --8<---------------cut here---------------end--------------->8--- > (as you can see, without proper environment guix is not able to run as > it should) Please forgive me for the noise: the problem is in the environment of (one of) my remote user! I tested again with other users on other hosts and the environment variables of my profile are correctly set. Anyway, the shell I get when connecting is still not fully functional, for example autocompletion does not work (write a substring and then TAB) and also up and down arrow keys do not work (echoes escape sequances instead of showing the shell history) Am I still doing something wrong with my environment? Ouch! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmXY5I4MHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkS0IMQAIysPgffeY8uq+9ASuP4nxPKM5xpI9CpHf7Ogm7I EHhBIhKE8homFzNr76IIyzzbwY5XD25b9kM91Gifu73Zyv111UuGiWVTD7qpKvpE dL+9bw8XJe3vTW+GJKA6zmvRxC0rSkw0XmPT2ShSLWzz4bsmnC/AUFa8wEPlMKNP zyjPrSVQDFYmAWd1DlSxy2BpcQTUo6NHVCfWrF10wbkWDGSjdA1+G1pG7GCjsC+V 0Ae3+uq9pyJwcWXqAdUGY6OHz3xtJGEd2CaCy8fU4VWC4omJg0dkkgjf92V96Wr0 E1nw+znbBzd5eowOSWb8RWUwjt/5JUwZ1INIjwb5i2ZuxBoGXPTD45VWzYG0xkJw Uj1CjaVc+tcCcMxuoGT0nbOy8sRyRfNe7GonUzjQXiVZ2ZPiJ/xzVR/D8cV5BekT v4f0APw93PxzeynvyC9Nj8dY/gjzCC/Ay5oXcsSt9TXpvToeltOE5kSTYMBv6i2/ hj96W/icGhiH4JGoo3Hs+UouG58OYQ2UGcxHKNUtBkPtYjttVBejPW7/C/ggvdx8 Dn6jG1SEGeeTlS219ckDhJU92Gk5Lr9HwLeYw+H8g+uoW6ZMc2Qk6xO7aJaERDzJ tfzFdBmY8qpIIjwLbVqM8lGgBnHIcua7wQH2scUZG6hadjCzmjIoPe4cWOUqDwem HLvK =BCst -----END PGP SIGNATURE----- --=-=-=--