Re: Unable to start Cygwin64 terminal after password change

2021-08-04 Thread Andrey Repin
Greetings, Brian Inglis! > On 2021-08-03 09:50, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: >>> You were "upgrading" your domain account AD data cached by cygserver. >> >> I restarted my PC at some point with "shutdown /r" -- I have no idea how >> cygserver can preserve its caching

Re: Unable to start Cygwin64 terminal after password change

2021-08-03 Thread john doe via Cygwin
On 8/3/2021 8:12 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: "during user-initiated shutdowns, the kernel, drivers, and services are preserved and restored, not just restarted." Which was why I specifically used "shutdown /r", which is: /r Full shutdown and restart

RE: Unable to start Cygwin64 terminal after password change

2021-08-03 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> "during user-initiated shutdowns, the kernel, drivers, and services are > preserved and restored, not just restarted." Which was why I specifically used "shutdown /r", which is: /r Full shutdown and restart the computer. We've been advised by our admins that this command does a

Re: Unable to start Cygwin64 terminal after password change

2021-08-03 Thread Brian Inglis
On 2021-08-03 09:50, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: You were "upgrading" your domain account AD data cached by cygserver. I restarted my PC at some point with "shutdown /r" -- I have no idea how cygserver can preserve its caching across this. It's not a "fast

RE: Unable to start Cygwin64 terminal after password change

2021-08-03 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> You were "upgrading" your domain account AD data cached by cygserver. I restarted my PC at some point with "shutdown /r" -- I have no idea how cygserver can preserve its caching across this. It's not a "fast restart". The system restart did not help. I'd really appreciate if you could

Re: Unable to start Cygwin64 terminal after password change

2021-08-03 Thread Brian Inglis
On 2021-08-02 19:47, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: How do you install and upgrade Cygwin and Packages? Why? I wasn't upgrading anything this time. But when I need to upgrade, I create a ticket for admins to stop cygserver, then I update all the files, and then I

RE: Unable to start Cygwin64 terminal after password change

2021-08-03 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Apart from changing your password, is it possible that your admins changed > some sort of > domain security settings? Apparently some OS calls fail for cygserver > running under the SYSTEM account. > You should really check with your admins here first. I am sure nothing was changed at the

Re: Unable to start Cygwin64 terminal after password change

2021-08-03 Thread Corinna Vinschen via Cygwin
On Aug 2 18:31, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > I'll follow up once I have the output you've requested. > > Well, my Systems people stopped cygserver for me, and I was able to open the > "Cygwin64 terminal" without problems... The machine wasn't rebooted, >

RE: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> How do you install and upgrade Cygwin and Packages? Why? I wasn't upgrading anything this time. But when I need to upgrade, I create a ticket for admins to stop cygserver, then I update all the files, and then I create a ticket to restart the service. (BTW, Setup won't be able to complete

Re: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Brian Inglis
On 2021-08-02 15:38, Anton Lavrentiev wrote: All Cygwin services need to be shut down prior to running Cygwin Setup Huh? Where Cygwin Setup is coming from? I don't understand what you are talking about. How do you install and upgrade Cygwin and Packages? -- Take care. Thanks, Brian

RE: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> I asked this in case something like cygserver was running, or that your user > SID had changed in the meantime (f.e. due to domain migration). > That would actually require a proper reboot. No domain migration, just a password change. It was properly rebooted, nonetheless. Anton Lavrentiev

RE: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> All Cygwin services need to be shut down prior to running Cygwin Setup Huh? Where Cygwin Setup is coming from? I don't understand what you are talking about. Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Andrey Repin
Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]! >> > Did you reboot your system since password change? I mean proper reboot, not >> >> It was properly rebooted with "shutdown /r" >> > But TBH, I did this out of lack of anything else: I don't think a reboot > should be necessary when a

Re: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Brian Inglis
On 2021-08-02 12:31, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: I'll follow up once I have the output you've requested. Well, my Systems people stopped cygserver for me, and I was able to open the "Cygwin64 terminal" without problems... The machine wasn't rebooted, re-login'ed,

RE: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> I'll follow up once I have the output you've requested. Well, my Systems people stopped cygserver for me, and I was able to open the "Cygwin64 terminal" without problems... The machine wasn't rebooted, re-login'ed, nothing. So cygserver was the culprit? When I run id now, I get it all

RE: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Oops. Running cygserver is counter-productive in this case. The actual > fetching of user and group data will then occur inside cygserver and > nothing of import will show up in the trace output. Hmmm.. I'll see what I can do (because it's run with admin privs, which I don't have -- have to

Re: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Corinna Vinschen via Cygwin
On Aug 2 15:12, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > id output, unlike when it posted broken in cygcheck's output as noted > previously, seems unbroken, still with numeric user id: > > uid=1050182(NCBI_NT+User(1606)) gid=1050182 >

RE: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> > Did you reboot your system since password change? I mean proper reboot, not > > It was properly rebooted with "shutdown /r" > But TBH, I did this out of lack of anything else: I don't think a reboot should be necessary when a password is changing. Nothing else on the machine was required

RE: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Is NCBI_NT the primary domain of the machine as well? I. e., is the machine > in the same domain as your user account? Yes, AFAIK. Is it the both the primary domain of the host and my account. Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem reports:

RE: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Did you reboot your system since password change? I mean proper reboot, not It was properly rebooted with "shutdown /r" Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

RE: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
id output, unlike when it posted broken in cygcheck's output as noted previously, seems unbroken, still with numeric user id: uid=1050182(NCBI_NT+User(1606)) gid=1050182 groups=1050182,1049089(NCBI_NT+Group(513)),555(Remote Desktop XYZ14),545(XYZ14),559(Performance Log XYZ14),14(REMOTE

Re: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Andrey Repin
Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]! > I vaguely remember having the same issue some time ago (but then my work PC > was frequently bugchecking > because of a faulty memory module), and I did not tie any recent password > change (if there was any at all) > with my unability to run

Re: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Corinna Vinschen via Cygwin
On Jul 31 21:09, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > Hi all, > > I seem to be unable to start "Cygwin64 Terminal" (using the standard icon > placed on the desktop when Cygwin gets installed) > after I had to change my password (at work). My account did not change. > What

RE: Unable to start Cygwin64 terminal after password change

2021-08-01 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
More info: Running "cygcheck -rvs" from under bash (that I could only start from cmd.exe as shown earlier) does not seem to show anything unusual (I have only single install of Cygwin, there's no conflict of any kind, and all the packages check out Okay). SysDir: C:\WINDOWS\system32 WinDir:

RE: Unable to start Cygwin64 terminal after password change

2021-08-01 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Unless of course you execute bash with -noprofile. The only way I can start bash now, is from cmd.exe, since terminal (mintty) is not working for me, as I explained in my first message: C:\WINDOWS\system32>c:\cygwin64\bin\bash NCBI_NT+User(1606)@NCBIPC9135 /cygdrive/c/WINDOWS/system32 $ id

Re: Unable to start Cygwin64 terminal after password change

2021-08-01 Thread René Berber via Cygwin
On 8/1/2021 11:57 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: [snip] BTW, $USER is not defined in the bash environment (not sure if it should be) Quoting man bash: "When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it

RE: Unable to start Cygwin64 terminal after password change

2021-08-01 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> $ head /proc/version It seems to be not much different from the 'uname -a' output I showed earlier, but here it goes: $ head /proc/version CYGWIN_NT-10.0-18363 version 3.2.0-340.x86_64 (corinna@calimero) (gcc version 9.3.0 20200312 (Fedora Cygwin 9.3.0-1) (GCC) ) 2021-03-29 08:42 UTC >

Re: Unable to start Cygwin64 terminal after password change

2021-07-31 Thread Brian Inglis
On 2021-07-31 15:09, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: I seem to be unable to start "Cygwin64 Terminal" (using the standard icon placed on the desktop when Cygwin gets installed) after I had to change my password (at work). My account did not change. What I see is that

Unable to start Cygwin64 terminal after password change

2021-07-31 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
Hi all, I seem to be unable to start "Cygwin64 Terminal" (using the standard icon placed on the desktop when Cygwin gets installed) after I had to change my password (at work). My account did not change. What I see is that the terminal window pops up momentarily with a text "This account is