Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Steinar Bang :

> Platform: amd64, windows 10 10.0.18363 Build 18363,
>   cygwin xorg-server 1.20.5-3, xlaunch 20160530-1

> I start X11 by double clicking the following config.xlaunch:
>  https://gist.github.com/steinarb/8687e2113c601e061da909e75a180f39

> After the reboot caused by a windows 10 upgrade, launching X11 using
> xlaunch have stopped working.

[snip! attempts at fixing]
> Here's XWin.0.log from a startup attempt:
>  https://gist.github.com/steinarb/dacfec5172fd547cbec7c87723163193

The log doesn't have any obvious errors, but I've tried googling the
most error-message-like lines (so far without any luck).

I tried googling "xorg.conf is not supported" and found
 
https://stackoverflow.com/questions/27526938/x-does-not-start-after-cygwin-upgrade
(title was promising but this is from 2014 and probably irrelevant)

I tried googling "Returning, supported engines 0005" and found
 https://sourceware.org/legacy-ml/cygwin/2015-09/msg00084.html
(title also promising, but from 2015 and probably irrelevant as well)


Is the problem that I'm using xlaunch?  From the version number it looks
like it is from 2016?  Has the world change enough that it now longer
works for launching x?

What does people use to launch cygwin X these days?

--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> Hi Steinar,
> please provide the cygcheck.out as suggested by:

>> Problem reports:  https://cygwin.com/problems.html

Here is cygcheck.out:

Cygwin Configuration Diagnostics
Current System Time: Sat Jun 13 10:28:45 2020

Windows 10 Enterprise Ver 10.0 Build 18363 

Path:   C:\cygwin64\usr\local\bin
C:\cygwin64\bin
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\ProgramData\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\Program Files\Intel\WiFi\bin
C:\Program Files\Common Files\Intel\WirelessCommon
C:\Program Files\Git\cmd
C:\ProgramFiles\apache-maven-3.6.3\bin
C:\Program Files (x86)\Calibre2
C:\ProgramFiles\GnuWin32\bin
C:\Program Files\nodejs
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\Program Files\Java\jdk1.8.0_241\bin
C:\Program Files\PuTTY
C:\WINDOWS\System32\OpenSSH
D:\Profiles\sbang\AppData\Local\Microsoft\WindowsApps
D:\Profiles\sbang\AppData\Local\Programs\Fiddler
D:\Profiles\sbang\AppData\Roaming\npm
C:\Program Files\Microsoft VS Code\bin
C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16\bin
D:\Profiles\sbang\AppData\Local\Microsoft\WindowsApps
D:\Profiles\sbang\apps\bin
C:\cygwin64\usr\local\go

Output from C:\cygwin64\bin\id.exe
UID: 1294839(sbang)
GID: 1049089(AD-ONE+Group(513)
=1049089(AD-ONE+Group(513))
545(Users)
4(INTERACTIVE)
66049(CONSOLE LOGON)
11(Authenticated Users)
15(This Organization)
4095(CurrentSession)
66048(LOCAL)
1361473(AD-ONE+Group(312897))
1361472(AD-ONE+Group(312896))
1086844(AD-ONE+Group(38268))
1484203(AD-ONE+Group(435627))
1266009(AD-ONE+Group(217433))
1086606(AD-ONE+Group(38030))
1497990(AD-ONE+Group(449414))
1333979(AD-ONE+Group(285403))
1333928(AD-ONE+Group(285352))
1186662(AD-ONE+Group(138086))
1484283(AD-ONE+Group(435707))
1463770(AD-ONE+Group(415194))
1281522(AD-ONE+Group(232946))
1333933(AD-ONE+Group(285357))
1525979(AD-ONE+Group(477403))
1059787(AD-ONE+Group(11211))
1186571(AD-ONE+Group(137995))
4294967295(Unknown+Group)
70145(Authentication authority asserted identity)
1266497(AD-ONE+Group(217921))
401408(Medium Mandatory Level)

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

USER = 'sbang'
PWD = '/cygdrive/d/Profiles/sbang'
HOME = '/cygdrive/d/Profiles/sbang'

USERDOMAIN = 'AD-ONE'
OS = 'Windows_NT'
NVM_DIR = '/cygdrive/d/Profiles/sbang/.nvm'
LS_COLORS = 
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01
 
;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
PROCESSOR_LEVEL = '6'
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'
LANG = 'en_US.UTF-8'
TZ = 'Europe/Oslo'
HOSTNAME = 'ITEM-S63383'
PUBLIC = 'd:\Profiles\Public'
OLDPWD = '/cygdrive/d/Profiles/sbang'
ATLAS_HOME = 'C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16'
UATDATA = 'C:\WINDOWS\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77'
USERNAME = 'sbang'
JAVA_HOME = 'C:\Program Files\Java\jdk1.8.0_241'
LOGONSERVER = '\\WOSLODCONE02'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'd:\Profiles\sbang\AppData\Local'
COMPUTERNAME = 'ITEM-S63383'
FPS_BROWSER_APP_PROFILE_STRING = 'Internet Explorer'
!:: = '::\'
LC_COLLATE = 'POSIX'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'd:\Profiles\sbang'
PATHEXT = '.COM;.EXE;.BAT

Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> can you start X11 with startxwin ?
> If you start with just "XWin :0 -multiwindow -clipboard"
> does it work ?

startxwin isn't found:
 sbang@ITEM-S63383:~$ startxwin
 -bash: startxwin: command not found
 sbang@ITEM-S63383:~$ which startxwin
 which: no startxwin in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files 
(x86)/Common 
Files/Oracle/Java/javapath:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
 Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common 
Files/Intel/WirelessCommon:/cygdrive/c/Program 
Files/Git/cmd:/cygdrive/c/ProgramFiles/apache-maven-3.6.3/bin:/cygdrive/c/Program
 Files (x86)/Calibre2:/cygdrive/c/ProgramFiles/GnuWin32/bin:/cygdrive/c/Program 
Files/nodejs:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
 Files/Java/jdk1.8.0_241/bin:/cygdrive/c/Program 
Files/PuTTY:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/d/Profiles/sbang/AppData/Local/Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/AppData/Local/Programs/Fiddler:/cygdrive/d/Profiles/sbang/AppData/Roaming/npm:/cygdrive/c/Program
 Files/Microsoft VS Code/bin:/cygdrive/c/Application
 
s/Atlassian/atlassian-plugin-sdk-8.0.16/bin:/cygdrive/d/Profiles/sbang/AppData/Local/Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/apps/bin:/usr/local/go)
 sbang@ITEM-S63383:~$

I thought it might be because xorg-scripts wasn't installed, so I
installed xorg-scripts 1.0.1-1, but it didb't make startxwin appear.

I *do* have xorg-server 1.20.5-3 installed (and it was working until a
couple of days ago).

startxwin is supposed to be installed with xorg-server?

Thanks!

--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Steinar Bang :

> Marco Atzeri via Cygwin :
>> can you start X11 with startxwin ?
>> If you start with just "XWin :0 -multiwindow -clipboard"
>> does it work ?

> startxwin isn't found:
>  sbang@ITEM-S63383:~$ startxwin
>  -bash: startxwin: command not found
>  sbang@ITEM-S63383:~$ which startxwin
>  which: no startxwin in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files 
> (x86)/Common 
> Files/Oracle/Java/javapath:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
>  Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common 
> Files/Intel/WirelessCommon:/cygdrive/c/Program 
> Files/Git/cmd:/cygdrive/c/ProgramFiles/apache-maven-3.6.3/bin:/cygdrive/c/Program
>  Files 
> (x86)/Calibre2:/cygdrive/c/ProgramFiles/GnuWin32/bin:/cygdrive/c/Program 
> Files/nodejs:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
>  Files/Java/jdk1.8.0_241/bin:/cygdrive/c/Program 
> Files/PuTTY:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/d/Profiles/sbang/AppData/Local/
>  
> Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/AppData/Local/Programs/Fiddler:/cygdrive/d/Profiles/sbang/AppData/Roaming/npm:/cygdrive/c/Program
>  Files/Microsoft VS Code/bin:/cygdrive/c/Application
>  
> s/Atlassian/atlassian-plugin-sdk-8.0.16/bin:/cygdrive/d/Profiles/sbang/AppData/Local/Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/apps/bin:/usr/local/go)
>  sbang@ITEM-S63383:~$

> I thought it might be because xorg-scripts wasn't installed, so I
> installed xorg-scripts 1.0.1-1, but it didb't make startxwin appear.

> I *do* have xorg-server 1.20.5-3 installed (and it was working until a
> couple of days ago).

> startxwin is supposed to be installed with xorg-server?

I was missing the xinit package and installed xinit 1.4.1-1 and then I
got startxwin.

It failed in the startup with messages that looks similar to the ones
output to the log file:
sbang@ITEM-S63383:~$ startxwin
xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist
xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
 /cygdrive/d/Profiles/sbang/.serverauth.1056

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
sbang@ITEM-S63383:~$


Starting with "XWin :0 -multiwindow -clipboard" outputs pretty much the
same as the log file (X doesn't start):
sbang@ITEM-S63383:~$ XWin :0 -multiwindow -clipboard
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

XWin :0 -multiwindow -clipboard

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
sbang@ITEM-S63383:~$

--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Marco Atzeri via Cygwin

On 13.06.2020 11:30, Steinar Bang wrote:

Marco Atzeri via Cygwin :



Hi Steinar,
please provide the cygcheck.out as suggested by:



Problem reports:  https://cygwin.com/problems.html


Here is cygcheck.out:


as attachment was mentioned in the link.
In line screw up the search function of the mailing list
archive.



Cygwin Configuration Diagnostics
Current System Time: Sat Jun 13 10:28:45 2020

Windows 10 Enterprise Ver 10.0 Build 18363





USER = 'sbang'
PWD = '/cygdrive/d/Profiles/sbang'
HOME = '/cygdrive/d/Profiles/sbang'


It is never a good idea to have the Cygwin Home dir the
same of Windows user dir
have you modified the "/etc/nsswitch.conf" ?

nothing obvious from the other data

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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Marco Atzeri via Cygwin

On 13.06.2020 11:55, Steinar Bang wrote:

Steinar Bang :



Marco Atzeri via Cygwin :

can you start X11 with startxwin ?
If you start with just "XWin :0 -multiwindow -clipboard"
does it work ?



startxwin isn't found:
  sbang@ITEM-S63383:~$ startxwin
  -bash: startxwin: command not found
  sbang@ITEM-S63383:~$ which startxwin
  which: no startxwin in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files 
(x86)/Common 
Files/Oracle/Java/javapath:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
 Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common 
Files/Intel/WirelessCommon:/cygdrive/c/Program 
Files/Git/cmd:/cygdrive/c/ProgramFiles/apache-maven-3.6.3/bin:/cygdrive/c/Program
 Files (x86)/Calibre2:/cygdrive/c/ProgramFiles/GnuWin32/bin:/cygdrive/c/Program 
Files/nodejs:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
 Files/Java/jdk1.8.0_241/bin:/cygdrive/c/Program 
Files/PuTTY:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/d/Profiles/sbang/AppData/Local/
  
Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/AppData/Local/Programs/Fiddler:/cygdrive/d/Profiles/sbang/AppData/Roaming/npm:/cygdrive/c/Program
 Files/Microsoft VS Code/bin:/cygdrive/c/Application
  
s/Atlassian/atlassian-plugin-sdk-8.0.16/bin:/cygdrive/d/Profiles/sbang/AppData/Local/Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/apps/bin:/usr/local/go)
  sbang@ITEM-S63383:~$



I thought it might be because xorg-scripts wasn't installed, so I
installed xorg-scripts 1.0.1-1, but it didb't make startxwin appear.



I *do* have xorg-server 1.20.5-3 installed (and it was working until a
couple of days ago).



startxwin is supposed to be installed with xorg-server?


I was missing the xinit package and installed xinit 1.4.1-1 and then I
got startxwin.

It failed in the startup with messages that looks similar to the ones
output to the log file:
sbang@ITEM-S63383:~$ startxwin
xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist
xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
  /cygdrive/d/Profiles/sbang/.serverauth.1056

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
xinit: giving up
xinit: unable to connect to X server: Connection refused



this looks like another program blocking the effort
and it can be as Xwin can NOT write files with the needed
permission on your home directory


What is the output of
  grep home  /etc/nsswitch.conf

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


[ANNOUNCEMENT] Updated: Perl distributions

2020-06-13 Thread Achim Gratz



The following Perl distributions have been updated to their latest
version on CPAN:


noarch
--
perl-CGI-4.49-1
perl-libwww-perl-6.45-1
perl-Mojolicious-8.53-1
perl-Test-MockModule-0.173.0-1
perl-Test-TrailingSpace-0.0600-1


-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.
--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> as attachment was mentioned in the link.
> In line screw up the search function of the mailing list
> archive.

Sorry!

>> USER = 'sbang'
>> PWD = '/cygdrive/d/Profiles/sbang'
>> HOME = '/cygdrive/d/Profiles/sbang'

> It is never a good idea to have the Cygwin Home dir the
> same of Windows user dir

Why this not a good idea?

> have you modified the "/etc/nsswitch.conf" ?

Not intentionally.  It looks like this:

sbang@ITEM-S63383:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
#This file is read once by the first process in a Cygwin process tree.
#To pick up changes, restart all Cygwin processes.  For a description
#see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
#
# Defaults:
# passwd:   files db
# group:files db
# db_enum:  cache builtin
# db_home:  /home/%U
db_home:  windows
# db_shell: /bin/bash
# db_gecos: 

> nothing obvious from the other data

Ok

--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> this looks like another program blocking the effort and it can be as
> Xwin can NOT write files with the needed permission on your home
> directory

Could this be a virus checker blocking the writer?

> What is the output of
>   grep home  /etc/nsswitch.conf

sbang@ITEM-S63383:~$ grep home  /etc/nsswitch.conf
# db_home:  /home/%U
db_home:  windows
sbang@ITEM-S63383:~$


--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Steinar Bang :

> Marco Atzeri via Cygwin :
>> this looks like another program blocking the effort and it can be as
>> Xwin can NOT write files with the needed permission on your home
>> directory

> Could this be a virus checker blocking the writer?

What files is it XWin tries to write? And where does it try to write
them?

Thanks!

--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Holger, Vodafone
Hello,

If you ever find it out, I have the same situation (win10, X startup fail with 
connection refused) Also Windows 10, but I do not know, when it starts, I am 
not using X very often. I tried to re-install the complete x-packages of 
Cygwin, also started from scratch with my dot-files in the home dir, and my 
home dir is not my windows home but /home/.

If I can help in finding out it, please let me know, what I can do

Regards, Holger

> Am 13.06.2020 um 13:31 schrieb Marco Atzeri via Cygwin :
> 
> On 13.06.2020 11:55, Steinar Bang wrote:
>>> Steinar Bang :
>>> Marco Atzeri via Cygwin :
 can you start X11 with startxwin ?
 If you start with just "XWin :0 -multiwindow -clipboard"
 does it work ?
>>> startxwin isn't found:
>>>  sbang@ITEM-S63383:~$ startxwin
>>>  -bash: startxwin: command not found
>>>  sbang@ITEM-S63383:~$ which startxwin
>>>  which: no startxwin in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files 
>>> (x86)/Common 
>>> Files/Oracle/Java/javapath:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
>>>  Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common 
>>> Files/Intel/WirelessCommon:/cygdrive/c/Program 
>>> Files/Git/cmd:/cygdrive/c/ProgramFiles/apache-maven-3.6.3/bin:/cygdrive/c/Program
>>>  Files 
>>> (x86)/Calibre2:/cygdrive/c/ProgramFiles/GnuWin32/bin:/cygdrive/c/Program 
>>> Files/nodejs:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
>>>  Files/Java/jdk1.8.0_241/bin:/cygdrive/c/Program 
>>> Files/PuTTY:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/d/Profiles/sbang/AppData/Local/
>>>  
>>> Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/AppData/Local/Programs/Fiddler:/cygdrive/d/Profiles/sbang/AppData/Roaming/npm:/cygdrive/c/Program
>>>  Files/Microsoft VS Code/bin:/cygdrive/c/Application
>>>  
>>> s/Atlassian/atlassian-plugin-sdk-8.0.16/bin:/cygdrive/d/Profiles/sbang/AppData/Local/Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/apps/bin:/usr/local/go)
>>>  sbang@ITEM-S63383:~$
>>> I thought it might be because xorg-scripts wasn't installed, so I
>>> installed xorg-scripts 1.0.1-1, but it didb't make startxwin appear.
>>> I *do* have xorg-server 1.20.5-3 installed (and it was working until a
>>> couple of days ago).
>>> startxwin is supposed to be installed with xorg-server?
>> I was missing the xinit package and installed xinit 1.4.1-1 and then I
>> got startxwin.
>> It failed in the startup with messages that looks similar to the ones
>> output to the log file:
>> sbang@ITEM-S63383:~$ startxwin
>> xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist
>> xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist
>> Welcome to the XWin X Server
>> Vendor: The Cygwin/X Project
>> Release: 1.20.5.0
>> OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
>> x86_64
>> OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
>> Package: version 1.20.5-3 built 2019-09-06
>> XWin was started with the following command line:
>> /usr/bin/XWin :0 -multiwindow -auth
>>  /cygdrive/d/Profiles/sbang/.serverauth.1056
>> (II) xorg.conf is not supported
>> (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
>> LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
>> LoadPreferences: Loading /etc/X11/system.XWinrc
>> LoadPreferences: Done parsing the configuration file...
>> winDetectSupportedEngines - RemoteSession: no
>> winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
>> winDetectSupportedEngines - Returning, supported engines 0005
>> xinit: giving up
>> xinit: unable to connect to X server: Connection refused
> 
> 
> this looks like another program blocking the effort
> and it can be as Xwin can NOT write files with the needed
> permission on your home directory
> 
> 
> What is the output of
>  grep home  /etc/nsswitch.conf
> 
> 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

--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Marco Atzeri via Cygwin

On 13.06.2020 14:00, Steinar Bang wrote:

Marco Atzeri via Cygwin :



as attachment was mentioned in the link.
In line screw up the search function of the mailing list
archive.


Sorry!


USER = 'sbang'
PWD = '/cygdrive/d/Profiles/sbang'
HOME = '/cygdrive/d/Profiles/sbang'



It is never a good idea to have the Cygwin Home dir the
same of Windows user dir


Why this not a good idea?


because permissions like the one needed for ssh
can be screwd by Windows ACL permission inherited


have you modified the "/etc/nsswitch.conf" ?


Not intentionally.  It looks like this:

sbang@ITEM-S63383:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
#This file is read once by the first process in a Cygwin process tree.
#To pick up changes, restart all Cygwin processes.  For a description
#see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
#
# Defaults:
# passwd:   files db
# group:files db
# db_enum:  cache builtin
# db_home:  /home/%U
db_home:  windows
# db_shell: /bin/bash
# db_gecos: 


can you reset the default

db_home:  /home/%U


close all processes and try X again ?
This should use /home/sbang as your new home and
we can see if it is a permission problem that is causing
issue to Xwin


--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Marco Atzeri via Cygwin

On 13.06.2020 15:14, Holger, Vodafone wrote:

Hello,

If you ever find it out, I have the same situation (win10, X startup fail with 
connection refused) Also Windows 10, but I do not know, when it starts, I am not 
using X very often. I tried to re-install the complete x-packages of Cygwin, also 
started from scratch with my dot-files in the home dir, and my home dir is not my 
windows home but /home/.

If I can help in finding out it, please let me know, what I can do



bottom post on this mailing list.

Have you any BLODA installed ?
https://cygwin.com/faq/faq.html#faq.using.bloda

--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :
>>> It is never a good idea to have the Cygwin Home dir the
>>> same of Windows user dir

>> Why this not a good idea?

> because permissions like the one needed for ssh
> can be screwd by Windows ACL permission inherited

Ok.

FWIW I have used cygwin ssh for two things:
 1. Launching mosh sessions (this still worked after the Win10 upgrade)
 2. Running "ssh -Y " sessions from lxterminal launched with XWin by xlaunch
and it has worked fine until the reboot followed by the Win10 upgrade.

mosh still works, and normal ssh (without -Y) from cygwin terminals
still works, after the Win10 upgrade.

> can you reset the default

> db_home:  /home/%U

> close all processes and try X again ?
> This should use /home/sbang as your new home and
> we can see if it is a permission problem that is causing
> issue to Xwin

I changed the /etc/nsswitch.conf file, and rebooted to ensure all
processes had been killed.  But cygwin still seemed to use the
windows profile directory.  I still have HOME set to the profile
directory.  I have all of my unix-y program setup files there (used by
GNU emacs, git bash, and mingw utilities)

But still no luck in launching XWin, either with xlaunch or from the
command line.

I will unset HOME and reboot and try again.

For now, here's the output from the launch from the cygwin console:
sbang@ITEM-S63383:~$ pwd
/cygdrive/d/Profiles/sbang
sbang@ITEM-S63383:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
#This file is read once by the first process in a Cygwin process tree.
#To pick up changes, restart all Cygwin processes.  For a description
#see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
#
# Defaults:
# passwd:   files db
# group:files db
# db_enum:  cache builtin
db_home:  /home/%U
# db_home:  windows
# db_shell: /bin/bash
# db_gecos: 
sbang@ITEM-S63383:~$ ll /home/sbang
ls: cannot access '/home/sbang': No such file or directory
sbang@ITEM-S63383:~$ pwd
/cygdrive/d/Profiles/sbang
sbang@ITEM-S63383:~$ startxwin

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
 /cygdrive/d/Profiles/sbang/.serverauth.652

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
sbang@ITEM-S63383:~$

--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Steinar Bang :
> Marco Atzeri via Cygwin :


>> can you reset the default

>> db_home:  /home/%U

>> close all processes and try X again ?
>> This should use /home/sbang as your new home and
>> we can see if it is a permission problem that is causing
>> issue to Xwin

> I changed the /etc/nsswitch.conf file, and rebooted to ensure all
> processes had been killed.  But cygwin still seemed to use the
> windows profile directory.  I still have HOME set to the profile
> directory.  I have all of my unix-y program setup files there (used by
> GNU emacs, git bash, and mingw utilities)

> But still no luck in launching XWin, either with xlaunch or from the
> command line.

> I will unset HOME and reboot and try again.

I renamed environment HOME to HOME_DISABLED (in advanced system
settings) and rebooted.

cmd.exe showed that HOME was gone.

However, in cygwin bash HOME was still set to the profile directory and
that was still used as the HOME dir.

startxwin still failed to start X.

Output from the cygwin console for this attempt (I have rebooted with
HOME in place so that I can send email using emacs and Gnus):

sbang@ITEM-S63383:~$ pwd
/cygdrive/d/Profiles/sbang
sbang@ITEM-S63383:~$ env | grep HOME
ATLAS_HOME=C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_241
HOME=/cygdrive/d/Profiles/sbang
HOME_DISABLED=d:\Profiles\sbang
HOMEDRIVE=d:
HOMEPATH=\Profiles\sbang
sbang@ITEM-S63383:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
#This file is read once by the first process in a Cygwin process tree.
#To pick up changes, restart all Cygwin processes.  For a description
#see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
#
# Defaults:
# passwd:   files db
# group:files db
# db_enum:  cache builtin
db_home:  /home/%U
# db_home:  windows
# db_shell: /bin/bash
# db_gecos: 
sbang@ITEM-S63383:~$ startwinx
-bash: startwinx: command not found
sbang@ITEM-S63383:~$ startxwin

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
 /cygdrive/d/Profiles/sbang/.serverauth.985

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
sbang@ITEM-S63383:~$

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


[ANNOUNCEMENT] Updated: maxima-5.44.0-1

2020-06-13 Thread Achim Gratz



Maxima has been updated to the latest upstream release 5.44.0 on Cygwin.


Maxima - Computer Algebra System


Maxima is a system for the manipulation of symbolic and numerical
expressions, including differentiation, integration, Taylor series,
Laplace transforms, ordinary differential equations, systems of linear
equations, polynomials, sets, lists, vectors, matrices and
tensors. Maxima yields high precision numerical results by using exact
fractions, arbitrary-precision integers and variable-precision
floating-point numbers. Maxima can plot functions and data in two and
three dimensions.

Maxima is written in CommonLisp and based on the DOE Macsyma that was
developed at MIT.


-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.
--
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


"kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-13 Thread David Karr via Cygwin
I've been using kubectl in Cygwin on Windows 10 for quite a while, to
communicate to our in-house k8s clusters. I often use "kubectl exec" to
open a shell in a container or directly execute a shell command.  This has
worked perfectly fine for a long time.

A couple of days ago, I discovered that all of these attempts were failing
with "Upgrade request required".  I hadn't upgraded kubectl or Cygwin in
quite a while. I doubt our clusters had a k8s upgrade, but it's entirely
possible.

A colleague of mine has a very similar desktop configuration (Windows 10,
Cygwin), and he's not seeing this symptom.

I noticed that when I ran "kubectl exec" with max verbosity, it shows the
resulting "curl" command that it runs. I tried that resulting command, and
it results in the same response. I then tried updating my Cygwin tools and
retesting, no change.

I then took the entire resulting "kubectl exec" command line and ran it in
a "cmd" shell.  No problem at all.  No error.

I know I haven't provided much useful information yet. I wanted to get an
initial response before I started providing those diagnostics. Is there a
clear issue here that I'm not aware of?
--
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: symbolic links to /cygdrive/X/xxx with capital letter X

2020-06-13 Thread Andrey Repin
Greetings, Wayne Davison!

> On Fri, Jun 12, 2020 at 4:05 AM Andrey Repin wrote:
>> And you've got exactly what you asked for.

> I think you missed the important part of the email. Distilled down,
> this is wrong:

> $ ln -s /cygdrive/C/Windows foo
> $ readlink foo
> /mnt/C/Windows

The cygdrive prefix is resolved, if no other mount points match.
Since you have /mnt/C mount point, it is resolved first.

> The symlink's value changed to a path that doesn't exist on a typical
> install and is now broken. The original /cygdrive/C/Windows path works
> fine as long as you have it mounted to ignore case. Perhaps the
> rewrite (if it is even required) should change it into
> /cygdrive/c/Windows?

You can resolve it to `cygpath --proc-cygdrive`, which is more useful, if you
want a portable solution.


-- 
With best regards,
Andrey Repin
Saturday, June 13, 2020 23:44:47

Sorry for my terrible english...

--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Andrey Repin
Greetings, Marco Atzeri!

>>
>> USER = 'sbang'
>> PWD = '/cygdrive/d/Profiles/sbang'
>> HOME = '/cygdrive/d/Profiles/sbang'

> It is never a good idea to have the Cygwin Home dir the
> same of Windows user dir

That's not true.

> have you modified the "/etc/nsswitch.conf" ?

> nothing obvious from the other data


-- 
With best regards,
Andrey Repin
Saturday, June 13, 2020 23:36:42

Sorry for my terrible english...

--
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: symbolic links to /cygdrive/X/xxx with capital letter X

2020-06-13 Thread Wayne Davison
On Sat, Jun 13, 2020 at 1:50 PM Andrey Repin wrote:
> The cygdrive prefix is resolved, if no other mount points match.
> Since you have /mnt/C mount point, it is resolved first.

I wish it would have resolved it to the cygdrive prefix, because then
it would have worked (and would have been /cygdrive/C/Windows). Maybe
cygwin is getting confused by the WLS ubuntu install I have? It puts
its mounts under /mnt, but cygwin has always used the /cygdrive path.

..wayne..
--
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: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-13 Thread Marco Atzeri via Cygwin

On 13.06.2020 20:53, David Karr via Cygwin wrote:

I've been using kubectl in Cygwin on Windows 10 for quite a while, to
communicate to our in-house k8s clusters. I often use "kubectl exec" to
open a shell in a container or directly execute a shell command.  This has
worked perfectly fine for a long time.

A couple of days ago, I discovered that all of these attempts were failing
with "Upgrade request required".  I hadn't upgraded kubectl or Cygwin in
quite a while. I doubt our clusters had a k8s upgrade, but it's entirely
possible.

A colleague of mine has a very similar desktop configuration (Windows 10,
Cygwin), and he's not seeing this symptom.

I noticed that when I ran "kubectl exec" with max verbosity, it shows the
resulting "curl" command that it runs. I tried that resulting command, and
it results in the same response. I then tried updating my Cygwin tools and
retesting, no change.

I then took the entire resulting "kubectl exec" command line and ran it in
a "cmd" shell.  No problem at all.  No error.

I know I haven't provided much useful information yet. I wanted to get an
initial response before I started providing those diagnostics. Is there a
clear issue here that I'm not aware of?
--


from where is kubectl coming from ?

In cygwin I found only a kubectl.py in the ansible package

--
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: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-13 Thread David Karr via Cygwin
On Sat, Jun 13, 2020 at 10:31 PM Marco Atzeri via Cygwin wrote:

> On 13.06.2020 20:53, David Karr via Cygwin wrote:
> > I've been using kubectl in Cygwin on Windows 10 for quite a while, to
> > communicate to our in-house k8s clusters. I often use "kubectl exec" to
> > open a shell in a container or directly execute a shell command.  This
> has
> > worked perfectly fine for a long time.
> >
> > A couple of days ago, I discovered that all of these attempts were
> failing
> > with "Upgrade request required".  I hadn't upgraded kubectl or Cygwin in
> > quite a while. I doubt our clusters had a k8s upgrade, but it's entirely
> > possible.
> >
> > A colleague of mine has a very similar desktop configuration (Windows 10,
> > Cygwin), and he's not seeing this symptom.
> >
> > I noticed that when I ran "kubectl exec" with max verbosity, it shows the
> > resulting "curl" command that it runs. I tried that resulting command,
> and
> > it results in the same response. I then tried updating my Cygwin tools
> and
> > retesting, no change.
> >
> > I then took the entire resulting "kubectl exec" command line and ran it
> in
> > a "cmd" shell.  No problem at all.  No error.
> >
> > I know I haven't provided much useful information yet. I wanted to get an
> > initial response before I started providing those diagnostics. Is there a
> > clear issue here that I'm not aware of?
> > --
>
> from where is kubectl coming from ?
>
> In cygwin I found only a kubectl.py in the ansible package
>

It's from here:
https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-windows
.
--
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: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Marco Atzeri via Cygwin

On 11.06.2020 17:57, Steinar Bang wrote:

Platform: amd64, windows 10 10.0.18363 Build 18363,
   cygwin xorg-server 1.20.5-3, xlaunch 20160530-1

I start X11 by double clicking the following config.xlaunch:
  https://gist.github.com/steinarb/8687e2113c601e061da909e75a180f39

After the reboot caused by a windows 10 upgrade, launching X11 using
xlaunch have stopped working.

I have tried:
  1. Running xlaunch directly instead of double clicking config.xlaunch
  2. Running setup-86_64.exe to install all pending upgrades
  3. Running setup-86_64.exe to reinstall xlaunch
  4. Running setup-86_64.exe to reinstall xorg-server

But none of this has made any difference.

Does anyone have an idea what the problem might be?

Here's XWin.0.log from a startup attempt:
  https://gist.github.com/steinarb/dacfec5172fd547cbec7c87723163193

Thanks1


- Steinar



Hi Steinar,
forgot to ask, there is stackdump  of Xwin ?

usually the stack dump are under /usr/bin

  ls /usr/bin | grep stack

but they can also be on your home directory
or in other places.

Re-looking at your Xwin.0.log

XWin was started with the following command line:

XWin :0 -multiwindow -clipboard -wgl

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1080
winInitializeScreenDefaults - native DPI x 120 y 120
[ 24028.656] (II) xorg.conf is not supported
[ 24028.656] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
more information

[ 24028.656] LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
[ 24028.656] LoadPreferences: Loading /etc/X11/system.XWinrc
[ 24028.656] LoadPreferences: Done parsing the configuration file...
[ 24028.671] winDetectSupportedEngines - RemoteSession: no
[ 24028.687] winDetectSupportedEngines - DirectDraw4 installed, allowing 
ShadowDDNL
[ 24028.687] winDetectSupportedEngines - Returning, supported engines 
0005


on my log the next record is
   winSetEngine - Multi Window or Rootless => ShadowGDI

so it seems something is going wrong there

from "man Xwin" I see two possible options for troubleshooting
engine detection faults

---
   -engine engine_type_id
   This option, which is intended for developers, overrides 
the  server's
   automatically  selected  drawing  engine type.  This 
parameter will be
   ignored if the specified drawing engine type is not 
supported  on  the

   current system.

   Default  behavior is to select the drawing engine with 
optimum perfor‐
   mance that supports the specified depth and window 
configuration.


   The engine type ids are:

   1   Shadow GDI

   4   Shadow DirectDraw Non-Locking



on my system both options work, can you check on yours ?

   startxwin -- -engine 4


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