delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/18/07:51:36

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: <ZN9bI5kaNMoO9Tin@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CALXu0Ue+k0QmaKYu6Zffc4i2jSPBpTndemeVhc-ndLcXMVw_RA AT mail DOT gmail DOT com>
<ZN8wJOJg/NYjhVEl AT calimero DOT vinschen DOT de>
<3f225284-0fa2-8b1e-c684-d1afc2b61ca7 AT towo DOT net>
MIME-Version: 1.0
In-Reply-To: <3f225284-0fa2-8b1e-c684-d1afc2b61ca7@towo.net>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019