X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79882385084C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1692359495; bh=ZvgT94xnNHWcPuod3nhRdViOl0FZz4AFd7uHmnZhrB4=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=iqzW2UoKtssadNnMMCvvjmZWW5MaRDR2EhXMZzX4g2REBNBr1pbifXb0iG+8uoUpv bhhX9tHbS5FqaW2kN18/E5phUR7Hwx71aojm0KIhthWst9z0seLTsn2lBCcHQPN4mK +sE8LsnJJVfWRm78RUfu+CHSBkhrIXbP5N4ZARa4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29EBE3858401 Date: Fri, 18 Aug 2023 13:50:59 +0200 To: cygwin AT cygwin DOT com Subject: Re: Persistent and same Cygwin session for Windows login and ssh login? Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <3f225284-0fa2-8b1e-c684-d1afc2b61ca7 AT towo DOT net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3f225284-0fa2-8b1e-c684-d1afc2b61ca7@towo.net> 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: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Aug 18 12:23, Thomas Wolff via Cygwin wrote: > > > Am 18.08.2023 um 10:47 schrieb Corinna Vinschen via Cygwin: > > On Aug 17 19:30, Cedric Blancher via Cygwin wrote: > > > Good evening! > > > > > > How can I get a Cygwin session for one Windows login, and get the same > > > Cygwin session when I log into the same Windows machine via ssh? > > You can't. Windows isolates sessions from each other. > Not quite sure what you mean by session. Maybe you want to multiplex a > session among terminals (and thus initial logins) with 'tmux' or 'screen'. I was talking about Windows terminal server sessions, as they show up in the Windows user token. I'm not aware that the Cygwin DLL is concerned with tty session handling apart from keeping track of ptys in use, but there's a good chance I'm missing something. Corinna -- 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