Re: Xwin has stopped working

2020-12-13 Thread Andrey Voropaev via Cygwin
On Sat, Dec 12, 2020 at 5:56 PM Ken Brown via Cygwin  wrote:
>
> On 12/12/2020 11:19 AM, Andrey Voropaev via Cygwin wrote:
> > On Sat, Dec 12, 2020 at 11:57 AM Marco Atzeri via Cygwin
> >  wrote:
> >>
> >> On 10.12.2020 14:17, Andrey Voropaev via Cygwin wrote:
> >>> I was using startxwin to run Xorg in multiwindow mode. Untill today it
> >>> worked perfectly. Now my Windows 10 got some updates and Xorg stopped
> >>> working. I see only following messages at the end of startup:
>
> Your cygcheck output contains the following:
>
> Potential app conflicts:
>
> ZoneAlarm Personal Firewall
> Detected: HKLM Registry Key.
>
> Can you try disabling ZoneAlarm and see if that helps?

Not really, this is company-laptop, so I don't have Admin-password.
Well, I guess our company has made everything possible to render
laptops useless.

Any way to work around it?

Best regards
Andrey
--
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


Re: BUG Report: rlwrap + cygwin (dll) + Windows 10

2020-12-13 Thread Takashi Yano via Cygwin
On Sat, 12 Dec 2020 20:05:05 + (UTC)
Alberto Moral Beneitez via Cygwin  wrote:
> Hi, everybody
> First of all, this is my first bug report, so I don't know if I am doing 
> correctly... I don't know if one must be registered to summit this type of 
> repport. And be patient with my English.
> 
> The problem is that rlwrap has stopped working in combination with:   
>- Windows 10 (I use version 2004, compilation 19041.685, Spanish). It 
> still works in Windows 8.1 and previous   
> 
>- rlwrap 0.37-1
>- cygwin 3.1.7-1 (Unix emulation engine). The last version that works in 
> WIndows 10 is 3.0.7-1.   
> 
>- any DOS/Windows command line application (as Oracle sqlplus, Dimensions 
> dmcli, or even Windows cmd)
> 
> For example, you can try with DOS/Windows cmd: 
> 
> rlwrap cmd
> It clears the screen and does not work.
> As I've said, it works with:   
>-  previous versions of Windows (8.1, 7)
> 
>- versions 3.0.7-1 or previous of the cygwin package.
>- of course, with cygwin interactive commands (the problem only appears 
> with DOS/Windows command line apps)
> 
> Thanks in advance for your great job (I use cygwin for a long time and is an 
> essential part in the Windows computers I use).

Please try:
env CYGWIN=disable_pcon rlwrap cmd

Also, you can use alias like:
alias rlwrap="env CYGWIN=disable_pcon rlwrap"

-- 
Takashi Yano 
--
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


Re: BUG Report: rlwrap + cygwin (dll) + Windows 10

2020-12-13 Thread Marco Atzeri via Cygwin

On 13.12.2020 13:43, Takashi Yano via Cygwin wrote:

On Sat, 12 Dec 2020 20:05:05 + (UTC)
Alberto Moral Beneitez via Cygwin  wrote:

Hi, everybody



Please try:
env CYGWIN=disable_pcon rlwrap cmd

Also, you can use alias like:
alias rlwrap="env CYGWIN=disable_pcon rlwrap"


I had the impression the CYGWIN enviroment was used only by the first 
cygwin process to set global behaviour and following changes were

uneffective

Am I missing something ?

Regards
Marco




--
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


Re: Commercial use of cygwin

2020-12-13 Thread Hamish McIntyre-Bhatty via Cygwin
On 12/12/2020 18:44, Adam Dinwoodie wrote:
> On Sat, 12 Dec 2020 at 17:27, Hamish McIntyre-Bhatty wrote:
>> Do the points made here also apply to commercial but open-source use of
>> Cygwin?
>>
>> For extra context, I have an application with bundles parts of Cygwin
>> and libraries built against Cygwin. None of the source or binaries is
>> modified.
>>
>> I know I at least have to state which packages are included in the
>> bundle and provide links to the source for those, but I am not sure if
>> it is required that I eg provide a downloadable compressed folder with
>> complete source for everything.
>>
>> Can anyone give me some advice? The work everyone does for Cygwin is
>> valuable and I certainly don't intend to claim any of it is mine.
> The discussion in this thread so far, as best I can tell, amounts to
> "you need to comply with the license agreements in the packages you
> distribute". That is definitely the case for commercial open-source
> projects as much as it is for anything else.
>
> In my opinion, the safest way to make sure you're compliant is to
> provide all the source code for all the binaries you're distributing
> in the same way you make those binaries available; if you're shipping
> software on CD, ship the source code on the same CD; if you're
> shipping software by providing a download link, provide a download
> link nearby to the source code. In particular, it's not sufficient to
> merely point to the Cygwin website or even Cygwin mirrors, as those
> could disappear while you're still legally obliged to provide source
> code for at least anything with a GPL/LGPL/&c license.
>
> That all being said, I am not a lawyer, and I have no particular
> authority in the Cygwin project to assert what is and isn't
> permissible. Particularly for any commercial use, I would want
> professional legal advice on anything I wasn't confident about.
>
> HTH
>
> Adam

Thanks, that's to conclusion I came to for GPL'd code as well, just
wanted another opinion.

Hamish



0x87B761FE07F548D6.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
--
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


Cygwin 3.1.7: ssh-keygen hanging (and as part of ssh-host-config)

2020-12-13 Thread Forum User

Hi,

I have been using Cygwin for 15+ years, and have always used it to ssh 
onto remote machines. About a couple of months ago, ssh/ sftp/ 
ssh-keygen started to hang - and am no longer able to do this. This all 
does look to conincide with the Windows 10 Build 1803 release.


I have had to move onto Putty/ MobaXterm - but this will NEVER replace 
being able to do this via mntty/ Cygwin.


After some analysis, l thought this was due to a conflict with Windows 
OpenSSH (installed after build 1803), so l uninstalled Cygwin completed, 
removed Windows OpenSSH Optional Feature and all Windows Rollback/ 
Packages that included ssh-keygen.exe.


I have performed the Cygwin Uninstall/ Reinstall 3 times, and 
reinstalled using various suggestions from the Web, e.g. renaming the 
ssh service to be cygsshd.


For the Cygwin Uninstall - l did the following:

* Ran setup-x86_64.exe to uninstall all executables
* Removed all registry entries for Cygwin
 * HKEY_CURRENT_USER\Software\Cygwin
 * HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
* Removed the cygssh (and previous sshd)
 * LOCAL_MACHINE\SYSTEM\ControlSet001\services\sshd (/ cygssh)
 * Checking services.msc to ensure that the service had 
disappeared

* Removed the C:\cygwin64 directory

For the next installs, l constantly renamed the home directory - and am 
currently on C:\CYGWIN (as an installation directory).


Whenever, l use ssh/ ssh-keygen Windows Task Manager shows the process 
taking up 30% CPU and 2.1Mb Memory - but they never complete.


$ ssh-user-config
*** Query: Shall I create a SSH2 RSA identity file for you? (yes/no) yes
*** Info: Generating /home/Sukhbir/.ssh/id_rsa

<< run as an Administrator >>

$ ssh-host-config

*** Info: Generating missing SSH host keys

Both just get stuck. I feel that if l can get this fixed, then this may 
fix being able to use Cygwin to ssh/ sftp to remote machines again.


The cygcheck.out is after my last reinstall - where l only chose a) zip 
b) unzip c) openssh d) openssl - and then the base package. I use Cygwin 
across other accounts on the Windows box, and have left the 
nsswitch.conf to leave the home directory inside the Cygwin installation 
directory. Previously, this was inside User directory of the 
Administrator Account (Sukhbir). This is a local Account.


Can anybody see what the issue is?  . . . l have spent all day doing the 
above . . .and have run out of ideas and web links :)


Regards,

Sukhster.
Cygwin Configuration Diagnostics
Current System Time: Sun Dec 13 17:36:30 2020

Windows 10 Home Ver 10.0 Build 18363 

Path:   C:\CYGWIN\usr\local\bin
C:\CYGWIN\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\Program Files (x86)\QuickTime\QTSystem
C:\Program Files\PuTTY
C:\Users\Sukhbir\AppData\Local\Microsoft\WindowsApps
C:\Users\Sukhbir\AppData\Local\Programs\Fiddler

Output from C:\CYGWIN\bin\id.exe
UID: 197609(Sukhbir)   GID: 197121(None)
197121(None)   545(Users)
4(INTERACTIVE) 66049(CONSOLE LOGON)
11(Authenticated Users)15(This Organization)
113(Local account) 4095(CurrentSession)
66048(LOCAL)   262154(NTLM Authentication)
401408(Medium Mandatory Level)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'Sukhbir'
PWD = '/home/Sukhbir'
HOME = '/home/Sukhbir'

USERDOMAIN = 'LENOVO-Y500-ARV'
OS = 'Windows_NT'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
PROCESSOR_LEVEL = '22'
PSModulePath = 'C:\Program 
Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules'
CommonProgramW6432 = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
TZ = 'Europe/London'
HOSTNAME = 'LENOVO-Y500-ARVIND'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/cygdrive/c/Users/Sukhbir/Desktop'
USERNAME = 'Sukhbir'
NDI_RUNTIME_DIR_V4 = 'C:\Program Files\NewTek\NDI 4 Runtime\v4'
NDI_RUNTIME_DIR_V3 = 'C:\Program Files\NewTek\NDI 4 Runtime\v4'
NDI_RUNTIME_DIR_V2 = 'C:\Program Files\NewTek\NDI 4 Runtime\v4'
LOGONSERVER = '\\LENOVO-Y500-ARV'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\Sukhbir\AppData\Local'
COMPUTERNAME = 'LENOVO-Y500-ARV'
FPS_BROWSER_APP_PROFILE_STRING = 'Internet Explorer'
!:: = '::\'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\Sukhbir'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
SYSTEMROOT = 'C:\WINDOWS'
USERDOMAIN_ROAMINGPROFILE = 'LENOVO-Y500-ARV'
PROCESSOR_IDENTIFIER = 'AMD64 Family 22 Model 48 Stepping 1, AuthenticAMD'
TMP = '/tmp'
LC_CTYPE = 'en_GB.UTF-8'
TERM_PROGRAM = 'mintty'
TERM_PROGRAM_VERSION = '3.4.3'
OneDrive = 'C:\Users\Sukhbir\OneDrive'
PROCESSOR_REVISION = '3001'
FPS_BROWSER_USER_PROFILE_STRING = 'Default'
PROFILEREAD = 'true'
NUMBER_OF_PROCESSORS = '4'
ProgramW6432 = 'C:\Program Files'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
APPDATA = 'C:\Users\Sukhbir\AppData\Roaming'
SH

cygwin Rsync x32 issue

2020-12-13 Thread Jim Brain
I perused the archive and did not see anything noted about this, but 
please forgive me if it's been discussed.


Server: ubuntu 2004, running rsync 3.1.3 protocol version 31

client Windows 10 x64.

When calling rsync x64 3.2.4dev, transfer works fine.

When using rsync x32 3.2.4dev, downloaded last night, same transfer 
fails, with:


"

dup() in/out/err failed
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
[sender] _exit_cleanup(code=12, file=io.c, line=228): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(228) 
[sender=3.2.4dev]

[sender] _exit_cleanup(code=12, file=io.c, line=228): about to call exit(12)

"

cwrsync fails in the same way.

Sadly, I would ignore and just use x64 rsync (as I normally do on my 
system here), but this is to set up a sync job for a elderly user who 
wants to update his web site and only has Windows x32 bit.


Any help would be most appreciated.  I can probably come up with an 
alternate solution (scp or zip/ftp) but rsync seemed a clean approach to 
ensuring his local version of the site and the web version stayed in sync.


Jim

--
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