X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB7FA3851C01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1610794127; bh=1dQ+03AXMm8f2Z3AGL2DFeiOBDXIbcUMZYC0nE2VL8g=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=poVLitVn2xiRYu2zq92Q2jA17tjD3UFFfb6H2ZQbSIYg4aai6gVvm+ChGRqc06NE2 /zLnEF1+FjV2LCqVlW98RZx7NgDT05ykSj8ews0bdyv6iEciQrVZiQeFIj1j3WFx6S Gq0cgtmc/PL6EyY8SnRXeWhZl2hNIP3vryY3hdQQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F1102385802A X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UQJI6F29Aaj9LBBM0mGdRYodZy6ELfSma8etprC5N9U=; b=pqgCwBNleWMlYExd9Ok2+KjtuuBtF93kXngcUYBrtckmpKZB48iASYKeiPyD6bPBwt Vx4RONO5zO06X/lhOva4jdyQg6Hvi36a0KddGI4TsdhQnqr2X2xzaNXf++vdWx367Jo9 P2L+V+MqBNVKzsF9bsikwjWwclE46dNkwTSaGSJh0R3bBCW4eP5WLXGCkhfeigMgCQj8 A2GsJJ7aprOwt4POoKvDHDlXg2NUssaWhT91NOleTx6QT9C5eQO9hGD31S4WECvUlnSK Qtvoy+w7S52hnPfY1uydFXHkuTXnSTIBCiqhRRkCT6VmMvxjN6xg5ZzbhaaWHRNFDCeo uXlA== X-Gm-Message-State: AOAM531Fq/bSBeKmrr73oLp0rC8Snq1F5BHLhMnY/wldRYl2eemlSGTO 35t9dwyjfygE3XJuMaaA1jo= X-Google-Smtp-Source: ABdhPJwn0HiYln65bbz4KFEKquysIzWLGA3gOiVbKi4ER06CsUt2PRa6LcOq3L+alLy7kt1obDprRw== X-Received: by 2002:a50:9dc9:: with SMTP id l9mr12984668edk.377.1610794122122; Sat, 16 Jan 2021 02:48:42 -0800 (PST) Subject: Re: Can't open display issue from CMD To: "cygwin AT cygwin DOT com" References: <2c7fc63e-9c18-b90d-348c-40c1401cd273 AT gmail DOT com> Message-ID: <24a072fa-7c19-0dd9-aea4-deefc54e0ea5@gmail.com> Date: Sat, 16 Jan 2021 11:48:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: it X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10GAnHwV029823 please reply to the mailing list On 16.01.2021 06:36, Sal Bellofiore wrote: > Hi Marco, > > Thanks for the prompt response.  The reason why I don't get asked for a > password is because I have setup the RSA public key, and that works fine. > > When you say to check the remote scripts, what scripts are you referring > to?  I am not running any remote (Linux) scripts, I am only sending > commands like pwd, ls -la, etc. > > Thanks > > Sal as also Achim reported the login scripts on the Linux server. https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html#Bash-Startup-Files When you open a remote shell, it runs its login script: "When Bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable" -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple