Re: cygwin-x xterm not compatible with windows 7? Solution Found
Hi All: I fixed this problem. I was using the cygwin beta 1.7. I reinstalled cygwin using the last stable release, 1.5.25. I also had to add the sleep 5 line to startxwin.bat and startxwin.sh. So, I guess this is a defect to log against the 1.7 beta: the xterm executable can't seem to connect to shared memory for windows 7, home edition. George - Original Message - From: wgw...@sbcglobal.net To: cygwin-xfree@cygwin.com Sent: Tuesday, December 08, 2009 2:05 PM Subject: Re: cygwin-x xterm not compatible with windows 7? I turned off UAC, or so I am told. The server seems to start up OK. But xterm cannot access the shared memory? I ran this from the Cygwin.bat and got this stack dump. Exception: STATUS_ACCESS_VIOLATION at eip=3D73693A^M eax=00CA9719 ebx=5C3D6F68 ecx=0028B98D edx=038D esi=3A485B45 edi=5C3D6D69^M ebp=68345B45 esp=0028BB60 program=C:\cygwin\bin\xterm.exe, pid 168, thread main^ M cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B^M Stack trace:^M Frame Function Args^M End of stack trace ~ - Original Message - From: Larry Hall (Cygwin X) reply-to-list-only-l...@cygwin.com To: cygwin-xfree@cygwin.com Sent: Monday, December 07, 2009 3:53 PM Subject: Re: cygwin-x xterm not compatible with windows 7? On 12/07/2009 06:13 PM, Mike Ayers wrote: I'm asking because what I have noticed about Windows 7 Home Edition is that even though I have created a user for myself with administrative priveleges, unless I tell the OS that I want to run a program as the administrator it will default to the privileges for an ordinary user. I don't know a way to turn this off, yet. I don't believe there is a workaround, unfortunately. Vista has the same issue. Isn't this just UAC? You can turn that off for a user if you want. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: cygwin-x xterm not compatible with windows 7?
I turned off UAC, or so I am told. The server seems to start up OK. But xterm cannot access the shared memory? I ran this from the Cygwin.bat and got this stack dump. Exception: STATUS_ACCESS_VIOLATION at eip=3D73693A^M eax=00CA9719 ebx=5C3D6F68 ecx=0028B98D edx=038D esi=3A485B45 edi=5C3D6D69^M ebp=68345B45 esp=0028BB60 program=C:\cygwin\bin\xterm.exe, pid 168, thread main^ M cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B^M Stack trace:^M Frame Function Args^M End of stack trace ~ - Original Message - From: Larry Hall (Cygwin X) reply-to-list-only-l...@cygwin.com To: cygwin-xfree@cygwin.com Sent: Monday, December 07, 2009 3:53 PM Subject: Re: cygwin-x xterm not compatible with windows 7? On 12/07/2009 06:13 PM, Mike Ayers wrote: I'm asking because what I have noticed about Windows 7 Home Edition is that even though I have created a user for myself with administrative priveleges, unless I tell the OS that I want to run a program as the administrator it will default to the privileges for an ordinary user. I don't know a way to turn this off, yet. I don't believe there is a workaround, unfortunately. Vista has the same issue. Isn't this just UAC? You can turn that off for a user if you want. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: cygwin-x xterm not compatible with windows 7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of wgw...@sbcglobal.net Sent: Saturday, December 05, 2009 4:34 PM Sorry to take a bit of time to get back to you. I am attaching the files you requested. I am not familar with the cygwin x server log, but it looks like *that* starts up. It's just that xterm cannot connect. That does appear to be the case. You mentioned that the server listenens on 0.0.0.0. You mean a port? No. 0.0.0.0 is the broadcast IP address. When a server listens on that address, it listens to every interface on the computer, so it wouldn't matter if you tried connecting to localhost or the external address (i.e. leave your DISPLAY pointing to 127.0.0.1:0). I'm asking because what I have noticed about Windows 7 Home Edition is that even though I have created a user for myself with administrative priveleges, unless I tell the OS that I want to run a program as the administrator it will default to the privileges for an ordinary user. I don't know a way to turn this off, yet. I don't believe there is a workaround, unfortunately. Vista has the same issue. So, is it possible that the port that the cygwin-x server is listening on belongs to the administrator and the xterm session when it is launched cannot write to this port as a result? No, there are no ownership issues sending packets to ports. My suspicion would be that the non-administrator X server process would not be allowed to open the listeneing port, or be firewalled off, but neither can be the case if xcalc works. Have you tried running xterm from a cygwin console after the server has started? I tried running DOS cmd as the administrator btw, with no better results. Which DOS command? Thanks, Mike
Re: cygwin-x xterm not compatible with windows 7?
On 12/07/2009 06:13 PM, Mike Ayers wrote: I'm asking because what I have noticed about Windows 7 Home Edition is that even though I have created a user for myself with administrative priveleges, unless I tell the OS that I want to run a program as the administrator it will default to the privileges for an ordinary user. I don't know a way to turn this off, yet. I don't believe there is a workaround, unfortunately. Vista has the same issue. Isn't this just UAC? You can turn that off for a user if you want. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: cygwin-x xterm not compatible with windows 7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of wgw...@sbcglobal.net Sent: Thursday, December 03, 2009 1:47 PM I sent this post earlier this week and have not received any replies. If this is the wrong place to post this, please let me know where I should. This is the place, but I don't know how many of us have tried using 64 bit Windows 7 yet. I know I haven't, but I'll offer advice anyway. (What's the smiley for evil leer?) I just bought a new PC with windows 7 64 bit, build number 7600, version 6.1. I downloaded a fresh install of cygwin and cannot get cygwin-x xterm running. Cygwin version is 1.7.0(0.218/5/3) I tried running the cygwin-x XWin Server shortcut command line from a cmd window to get the error output: C:\cygwin\bin\run.exe /usr/bin/startxwin.bat and see this: /usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 this seems to be coming from this command in the batch file: :\Users\princessC:\cygwin\bin\\..\bin\run -p /usr/bin xterm -e /usr/bin/bash - usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 ...implying that the server didn't start. If I kill the server and run the script again, I'll get a STATUS_ACCESS_VIOLATION error, indicating some sort of shared memory corruption. I then have to restart the PC. I checked to see if there was more than one cygwin1.dll in response to earlier posts about this error and there is only one. I tried turning off the windows firewall. That helps in other ways, because other cygwin network utilities, such as nslookup were blocked until I did that. I tried changing the display from 127.0.0.1 to the IP address of the machine. I believe the X server listens on 0.0.0.0, so that shouldn't make a difference. Basically, I have a fresh machine with windows 7 and a fresh install of cygwin and I can't get xterm to work. Anyone have any ideas? Or is this just a windows 7 thing, and I'll have to give up on cygwin-x for a while? BTW, other shortcuts in the cygwin-x start folder work, such as bitmap and xcalc, just not the Xwin server and xterm. How can xcalc work if the server doesn't start?! Please send your /var/log/XWin0.log and cygcheck.out (cygcheck -s -v -r cygcheck.out) as attachments in the hope that they will inspire. Thanks, Mike
RE: cygwin-x xterm not compatible with windows 7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of wgw...@sbcglobal.net Sent: Thursday, December 03, 2009 1:47 PM I sent this post earlier this week and have not received any replies. If this is the wrong place to post this, please let me know where I should. This is the right place, but it's possible none of us with time to spare has run on Windows 7 64 bit yet. I just bought a new PC with windows 7 64 bit, build number 7600, version 6.1. I downloaded a fresh install of cygwin and cannot get cygwin-x xterm running. Cygwin version is 1.7.0(0.218/5/3) I tried running the cygwin-x XWin Server shortcut command line from a cmd window to get the error output: C:\cygwin\bin\run.exe /usr/bin/startxwin.bat and see this: /usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 this seems to be coming from this command in the batch file: :\Users\princessC:\cygwin\bin\\..\bin\run -p /usr/bin xterm -e /usr/bin/bash - usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 ...implying that the server didn't start. Did you run as administrator? I checked to see if there was more than one cygwin1.dll in response to earlier posts about this error and there is only one. I tried turning off the windows firewall. That helps in other ways, because other cygwin network utilities, such as nslookup were blocked until I did that. I tried changing the display from 127.0.0.1 to the IP address of the machine. I believe the X server listens on 0.0.0.0, so that shouldn't make a difference. Basically, I have a fresh machine with windows 7 and a fresh install of cygwin and I can't get xterm to work. Anyone have any ideas? Or is this just a windows 7 thing, and I'll have to give up on cygwin-x for a while? BTW, other shortcuts in the cygwin-x start folder work, such as bitmap and xcalc, just not the Xwin server and xterm. How can xcalc work if the server doesn't start?! Please send your /var/log/XWin0.log and cygcheck.out (cygcheck -s -v -r cygcheck.out) as attachments in the hope that they will inspire. Thanks, Mike
Re: cygwin-x xterm not compatible with windows 7?
On Thu, Dec 3, 2009 at 3:22 PM, Mike Ayers mike_ay...@tvworks.com wrote: This is the right place, but it's possible none of us with time to spare has run on Windows 7 64 bit yet. I'm running Windows 7 Professional, 64-bit. I have been using Cygwin 1.7 with latest X, etc. for some time without any problems. I haven't done anything special, so I haven't run into any of the same problems as the OP. - Jim -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: cygwin-x xterm not compatible with windows 7?
wgw...@sbcglobal.net wrote: Hi: I sent this post earlier this week and have not received any replies. If this is the wrong place to post this, please let me know where I should. Thanks Hi All: This is my first post here. I've never had a problem I couldn't fix with cygwin-x before. Here is the deal: I just bought a new PC with windows 7 64 bit, build number 7600, version 6.1. I downloaded a fresh install of cygwin and cannot get cygwin-x xterm running. Cygwin version is 1.7.0(0.218/5/3) I tried running the cygwin-x XWin Server shortcut command line from a cmd window to get the error output: C:\cygwin\bin\run.exe /usr/bin/startxwin.bat try this -- edit /usr/bin/startxwin.bat and put a 5 second sleep between the call to Xwin and the call to xterm, and see what happens -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/