RE: inkscape installed but does nothing.
(I tried to reply to this message twice and got mailer-daemon failure notices both times. My apologies if this is a duplicate message.) Yes, they are installed. which xwin xinit/usr/bin/xwin/usr/bin/xinit When I try to run inkscape, I don't get any errors and there were no messages about missing programs or dependencies when I ran the installer. I'm not trying to start a GUI. I have a script that I used to batch convert svg images in a folder to png. When that script wouldn't work (I've used it on other machines, including this one years ago using 32-bit cygwin instead of 64-bit that I'm using now) I started trying to invoke it from the command line, and that's when I discovered it's not doing anything. If I start Cygwin64 WindowMaker and type "inkscape" into the right-click run dialogue, I get a popup window, ErrorCould not execute command: inkscape Thanks! On Wednesday, November 22, 2023 at 01:45:39 AM EST, Brian Inglis wrote: On 2023-11-21 21:33, René Berber via Cygwin wrote:> On 11/21/2023 10:23 PM, J.F. Huesman via Cygwin wrote:>>> I installed inkscape 0.92.3-1 using the cygwin update program.Calling>> inkscape does nothing.> [snip]>> All graphical apps use Cygwin/X (or any X Windows). To check that Cygwin/X server is installed: $ which xinit xwin /usr/bin/xinit /usr/bin/xwin if not then install xinit and that pulls in all the other machinery. Or you can display on a remote host X server using e.g. $ DISPLAY=:0 inkscape ... & --Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achievednon pas lorsqu'il n'y a plus rien à ajouter not when there is no more to addmais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- 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: EXTERNAL SENDER: Capturing a Cygwin instance from another PC
> -Original Message- > From: Cygwin > On Behalf Of Jose Isaias Cabrera via Cygwin > Sent: Wednesday, November 22, 2023 8:53 AM > To: cygwin List > Subject: EXTERNAL SENDER: Capturing a Cygwin instance from another PC > > > Greetings! > > I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I > have in another Win10 PC. I copied the C:\cygwin64 folder from the Win10 pc > to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from > cygwin.com to the win11 PC. I ran it and chose "Install from Local Directory" > and only one shortcut for "Cygwin64 Terminal" was created on the desktop. > No Cygwin nor Cygwin-X folders were created on the Start menu. The > original cygwin from the Win10 PC had X installed also. > > Any idea how to get this done automatically? I know I can go and create > folders manually, etc., but it kind of a pain. Any help would be greatly > appreciated. Thanks. > > josé > > -- I've had some success doing this in the past (pre Cygwin64 days), but I did it using rsync from inside a Cygwin shell on the original machine, copying to a windows mapped drive pointing to the "C$" admin share of the target machine. Note: You will need admin privs on the target machine to use the C$ share. You also will have to have the default mount setting in /etc/fstab to NOT include "noacl" (which it doesn’t by default) so that Cygwin file protection masks get copied, and you need to use a set of options for rsync that copy the file privs and dates. I believe I used "rsync -av /cygdrive/c/cygwin64 /cygdrive/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: Capturing a Cygwin instance from another PC
On Wed, 22 Nov 2023 at 17:15, Eliot Moss via Cygwin wrote: > > On 11/22/2023 10:43 AM, Bill Stewart via Cygwin wrote: > > On Wed, Nov 22, 2023 at 7:53 AM Jose Isaias Cabrera wrote: > > > > I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I > >> have in another Win10 PC. I copied the C:\cygwin64 folder from the Win10 pc > >> to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from > >> cygwin.com to the win11 PC. I ran it and chose "Install from Local > >> Directory" and only one shortcut for "Cygwin64 Terminal" was created on the > >> desktop. No Cygwin nor Cygwin-X folders were created on the Start menu. The > >> original cygwin from the Win10 PC had X installed also. > >> > > > > I don't think "Install from Local Directory" means "reproduce same cygwin > > installation on a separate computer". > > In fact, it means to install using the package files in some local directory, > i.e., "assume the packages are already downloaded". > > It would be reasonable to copy over downloaded packages. > > I believe there are commands / techniques that would then make it fairly > easy to install that specific set of packages "from scratch" (but from > the local copy of the packages). Copying *installed* file hierarchies > is trickier because of permission / ownership concerns. Does Cygwin have a way to dump the list of installed packages, and feed that list back to Cygwin setup.exe? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- 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: Capturing a Cygwin instance from another PC
On 11/22/2023 10:43 AM, Bill Stewart via Cygwin wrote: On Wed, Nov 22, 2023 at 7:53 AM Jose Isaias Cabrera wrote: I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I have in another Win10 PC. I copied the C:\cygwin64 folder from the Win10 pc to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from cygwin.com to the win11 PC. I ran it and chose "Install from Local Directory" and only one shortcut for "Cygwin64 Terminal" was created on the desktop. No Cygwin nor Cygwin-X folders were created on the Start menu. The original cygwin from the Win10 PC had X installed also. I don't think "Install from Local Directory" means "reproduce same cygwin installation on a separate computer". In fact, it means to install using the package files in some local directory, i.e., "assume the packages are already downloaded". It would be reasonable to copy over downloaded packages. I believe there are commands / techniques that would then make it fairly easy to install that specific set of packages "from scratch" (but from the local copy of the packages). Copying *installed* file hierarchies is trickier because of permission / ownership concerns. Best - EM -- 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
Set localisation locale of Windows netstat?
Good morning! How can I set the localisation locale of Windows netstat cmd from Cygwin? LC_ALL=C does not help, a French or German Windows will use French or German language still Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- 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: [PATCH] Cygwin: Add /dev/disk/by-label and /dev/disk/by-uuid symlinks
Hi Corinna, Corinna Vinschen wrote: Hi Christian, On second thought... I had a bad night tonight and was thinking a long time about this and that. It suddenly occured to me that there might be another problem with this approach, attaching ordinals to the label name. Assuming you have a single filesystem labled "VOLUME" which is on a fixed disk. So you get something like this: $ ls -l /dev/disk/by-label total 0 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:09 VOLUME -> ../../sdb1 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:10 root -> ../../sda3 Now you insert an USB Stick with a FAT32 filesystem, also labeled "VOLUME". Now you get something like this: $ ls -l /dev/disk/by-label total 0 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:12 'VOLUME#0' -> ../../sdb1 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:12 'VOLUME#1' -> ../../sdc1 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:10 root -> ../../sda3 So the label name changes, depending on inserting or removing another partition. This is intentional. If the first duplicate appears, it is IMO better to also replace the original name to show that a duplicate exists. Not saying I have a good solution myself, so I wonder if we should just let it slip, but I thought we should at least talk about it... Users should be aware that unspecific label names like VOLUME could not be used as a persistent link if drives are changed. Same may apply to by-partuuid names as preformatted SD-cards and USB flash drives may have a null MBR serial number. Regards, Christian
Re: Capturing a Cygwin instance from another PC
On 11/22/2023 4:38 PM, Jose Isaias Cabrera via Cygwin wrote: Thanks, Eliot. Hmmm... I would have thought that by now this process would have been thought of. It has been: https://cygwin.com/pipermail/cygwin/2020-June/245384.html Ken -- 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 fails to create sockets correctly
Cygwin fails to create sockets correctly on some computers. Specifically, this fails on my machines with Windows 10 Enterprise, but works fine on a system with Windows 10 Pro. This was first observed on or about Nov 19, 2023. On one of the Windows 10 Enterprise machines X has been running for several days and has a functioning socket created on Nov 15, but new sockets cannot be successfully created. Steps to reproduce:1) Run any program that will produce a named socket.2) Do an ls -l on the socket, it will come up as an ordinary file with permissions -rw-rw-rw- instead of srw-rw-rw- (note the missing "s"). All my Windows 10 Enterprise machines are centrally managed by my employer. The following Microsoft packages seem to have been installed / updated recently: Microsoft Edge Microsoft.Edge 119.0.2151.72Microsoft Edge Update Microsoft Edge Update 1.3.181.5Microsoft Edge WebView2 Runtime Microsoft.EdgeWebView2Runtime 119.0.2151.72App Installer Microsoft.DesktopAppInstaller_8wekyb3d8??? 1.21.3133.0Microsoft Edge Microsoft.MicrosoftEdge.Stable_8wekyb3d??? 119.0.2151.72Feedback Hub Microsoft.WindowsFeedbackHub_8wekyb3d8b??? 1.2309.12711.0Phone Link Microsoft.YourPhone_8wekyb3d8bbwe 1.23092.158.0Microsoft 365 Apps for enterprise - en-??? Microsoft.Office 16.0.16924.20150Mail and Calendar microsoft.windowscommunicationsapps_8we??? 16005.14326.2174???Microsoft Update Health Tools {1FC1A6C2-576E-489A-9B4A-92D21F542136} 3.74.0.0 I specifically noticed the socket issue for ssh-add and for X11. The issue can also be shown with nc. Below are logs. Affected system:Edition Windows 10 EnterpriseVersion 22H2Installed on 5/12/2022OS build 19045.3693Experience Windows Feature Experience Pack 1000.19053.1000.0 LAPTOP:~$ uname -aCYGWIN_NT-10.0-19045 LAPTOP 3.4.9-1.x86_64 2023-09-06 11:19 UTC x86_64 Cygwin LAPTOP:~$ nc -lkU aSocket.sock &[1] 1451LAPTOP:~$ ls -l aSocket.sock-rw-rw-rw-+ 1 uwe Users 54 Nov 22 10:37 aSocket.sock LAPTOP:~$ eval `ssh-agent -s`; ssh-add ~/.ssh/id_rsaAgent pid 1365Error connecting to agent: Bad file descriptorLAPTOP:~$ ls -l /tmp/ssh-FRwzveik5MWt/total 1-rw-rw-rw-+ 1 uwe Users 54 Nov 22 10:09 agent.1364 LAPTOP:~$ xinit Welcome to the XWin X ServerVendor: The Cygwin/X ProjectRelease: 1.21.1.8OS: CYGWIN_NT-10.0-19045 LAPTOP 3.4.9-1.x86_64 2023-09-06 11:19 UTC x86_64OS: Windows 10 [Windows NT 10.0 build 19045] x64Package: version 21.1.8-1 built 2023-06-19 XWin was started with the following command line: X :0 (II) xorg.conf is not supported(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more informationwinUpdateDpi - primary monitor native DPI x 96 y 96LoadPreferences: /home/uwe/.XWinrc not foundLoadPreferences: Loading /etc/X11/system.XWinrcLoadPreferences: Done parsing the configuration file...winDetectSupportedEngines - RemoteSession: nowinDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNLwinDetectSupportedEngines - Returning, supported engines 0005winSetEngine - Using Shadow DirectDraw NonLockingwinScreenInit - Using Windows display depth of 32 bits per pixelwinWindowProc - WM_SIZE - new client area w: 1904 h: 1011winFinishScreenInitFB - Masks: 00ff ff00 00ffMIT-SHM extension disabled due to lack of kernel supportXFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel(EE) AIGLX: No native OpenGL in modes with a root window(II) IGLX: Loaded and initialized swrast(II) GLX: Initialized DRISWRAST GL provider for screen 0winPointerWarpCursor - Discarding first warp: 952 505(--) 16 mouse buttons found(--) Setting autorepeat to delay=500, rate=31(--) Windows keyboard layout: "0409" (0409) "US", type 4(--) Found matching XKB configuration "English (USA)"(--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none" waiting for X server to begin accepting connections ...[etc].. [closing down X externally] winDeinitMultiWindowWM - Noting shutdown in progress(II) Server terminated successfully (0). Closing log file.xinit: giving upxinit: unable to connect to X server: Connection refusedxinit: server error # in a separate terminal while X was runningLAPTOP:~$ v /tmp/.X11-unix/total 1-rw-rw-rw-+ 1 uwe Users 54 Nov 22 10:12 X0 Unaffected system-Edition Windows 10 ProVersion 22H2Installed on 11/2/2020OS build 19045.3693Experience Windows Feature Experience Pack 1000.19053.1000.0 BLACK:~$ uname -aCYGWIN_NT-10.0-19045 BLACK 3.4.9-1.x86_64 2023-09-06 11:19 UTC x86_64 Cygwin BLACK:~$ nc -lkU
Re: binfmt support in Cygwin?
On Tue, 26 Sept 2023 at 07:15, Cedric Blancher wrote: > > Good morning! > > Does Cygwin support something like Linux binfmt, to register new binary types? > > Goal would be to recognise python compiled code, or > https://wiki.debian.org/QemuUserEmulation ? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- 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: EXTERNAL SENDER: Capturing a Cygwin instance from another PC
On Wednesday, November 22, 2023 11:20 AM, Dale Lobb (Sys Admin) expressed: > Cc: cygwin@cygwin.com > > > I've had some success doing this in the past (pre Cygwin64 days), but I did > it using rsync [clip] > Thanks, Dale. Too much work. ;-) Interestingly enough, after running setup pointing locally, and then running setup pointing to "Install from Internet", it found some updates. But, still no X icons. I know what I need to do, but I just thought it would be as easy as what I thought would be logically thinking. :-) Perhaps, this is a feature that should be added to setup. Just thinking out-loud. :-) josé -- 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: Capturing a Cygwin instance from another PC
On Wednesday, November 22, 2023 11:15 AM, Eliot Moss expressed: > > On 11/22/2023 10:43 AM, Bill Stewart via Cygwin wrote: > > On Wed, Nov 22, 2023 at 7:53 AM Jose Isaias Cabrera wrote: [clip] > >> desktop. No Cygwin nor Cygwin-X folders were created on the Start menu. The > >> original cygwin from the Win10 PC had X installed also. > >> > > > > I don't think "Install from Local Directory" means "reproduce same cygwin > > installation on a separate computer". > > In fact, it means to install using the package files in some local directory, > i.e., "assume the packages are already downloaded". > > It would be reasonable to copy over downloaded packages. > > I believe there are commands / techniques that would then make it fairly > easy to install that specific set of packages "from scratch" (but from > the local copy of the packages). Copying *installed* file hierarchies > is trickier because of permission / ownership concerns. Thanks, Eliot. Hmmm... I would have thought that by now this process would have been thought 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: Capturing a Cygwin instance from another PC
On Wed, Nov 22, 2023 at 7:53 AM Jose Isaias Cabrera wrote: I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I > have in another Win10 PC. I copied the C:\cygwin64 folder from the Win10 pc > to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from > cygwin.com to the win11 PC. I ran it and chose "Install from Local > Directory" and only one shortcut for "Cygwin64 Terminal" was created on the > desktop. No Cygwin nor Cygwin-X folders were created on the Start menu. The > original cygwin from the Win10 PC had X installed also. > I don't think "Install from Local Directory" means "reproduce same cygwin installation on a separate computer". -- 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 3.4.9 - how to install ssh-keygen
On 2023-11-22 00:40, Matthias--- via Cygwin wrote: Am Dienstag, dem 21.11.2023 um 19:23 -0700 schrieb Brian Inglis: On 2023-11-20 09:54, Matthias--- via Cygwin wrote: Dear all, I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. After installing defaults plus openssh 9.5p 1-1, I open the Cygwin64-Terminal as Administrator and run ssh-host-config. * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config * Answered "no" to use StrictMode * and "yes" to install sshd as a service * I just press for the question for "Value of CYGWIN for the daemon". cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys available". Unfortunately I can't find ssh-keygen in the installable packages. Howto install ssh-keygen or how to create hostkeys? Delete any manually created directories as permissions are likely wrong then run $ /usr/bin/ssh-user-config Thank you, $HOME/.ssh has been created with id_dsa and id_dsa.pub rsa and ecdsa hasn't been created also if it said "*** Info: Generating /home/meyer/.ssh/id_..." Now you can securely use ssh-keygen -A to create all default host key types or ssh-keygen -t TYPE -a ROUNDS -b BITS -c for keys of any types and strengths you wish. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- 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
Capturing a Cygwin instance from another PC
Greetings! I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I have in another Win10 PC. I copied the C:\cygwin64 folder from the Win10 pc to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from cygwin.com to the win11 PC. I ran it and chose "Install from Local Directory" and only one shortcut for "Cygwin64 Terminal" was created on the desktop. No Cygwin nor Cygwin-X folders were created on the Start menu. The original cygwin from the Win10 PC had X installed also. Any idea how to get this done automatically? I know I can go and create folders manually, etc., but it kind of a pain. Any help would be greatly appreciated. Thanks. josé -- 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: [PATCH] Cygwin: Add /dev/disk/by-label and /dev/disk/by-uuid symlinks
Hi Christian, On second thought... I had a bad night tonight and was thinking a long time about this and that. It suddenly occured to me that there might be another problem with this approach, attaching ordinals to the label name. Assuming you have a single filesystem labled "VOLUME" which is on a fixed disk. So you get something like this: $ ls -l /dev/disk/by-label total 0 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:09 VOLUME -> ../../sdb1 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:10 root -> ../../sda3 Now you insert an USB Stick with a FAT32 filesystem, also labeled "VOLUME". Now you get something like this: $ ls -l /dev/disk/by-label total 0 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:12 'VOLUME#0' -> ../../sdb1 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:12 'VOLUME#1' -> ../../sdc1 lrwxrwxrwx 1 corinna vinschen 0 Nov 22 10:10 root -> ../../sda3 So the label name changes, depending on inserting or removing another partition. Not saying I have a good solution myself, so I wonder if we should just let it slip, but I thought we should at least talk about it... Thanks, Corinna