Re: can not startx
On 13/01/2011 10:35, Reinier Post wrote: Yaakov (Cygwin/X yselkowitz at users.sourceforge.net writes: On 05/01/2010 16:56, eric lin wrote: this is my /var/log/XWin.0.log where I think problm cause, fail startx, please help, eric Sigh. Lets try this again: Problem reports: http://cygwin.com/problems.html Yaakov Cygwin/X I can't follow the rules, there because I'm posting this from http://post.gmane.org/post.php?group=gmane.os.cygwin.xfreefollowup=20508 which doesn't support attachments. My XWin.0.log exhibits the same problem eric lin reported: XKB: Could not invoke xkbcomp [etc.] Since this has been reported a few times, I've added this to the Cygwin/X FAQ, [1]. Unfortunately, the X server currently needs to fork() a process to run xkbcomp as part of it's startup. If something is interferring with the ability of the cygwin to do this (e.g. BLOADA or remap issues), then the X server can't start. [1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-failed-to-compile-keymap To check this I replaced xkbcomp with a shell script and indeed, it does not get called. Running as X -logverbose 100 does not shed any light on the problem. Running X or XWin with strace doesn't work (strace refuses to run X and on XWin crashes out with access violation, I'm on Windows 7). 'strace X' doesn't work because X is a cygwin symlink, which strace, being a purely windows program, doesn't understand about. I can reproduce a crash using 'strace XWin'. The eip value suggests this is something going boom inside the cygwin DLL. --- Process 2116, exception C005 at 610C7E86 219568 813989 [main] XWin 2116 exception::handle: In cygwin_except_handler exc 0xC005 at 0x610C7E86 sp 0x20C920 34 814023 [main] XWin 2116 exception::handle: In cygwin_except_handler sig 11 at 0x610C7E86 19 814042 [main] XWin 2116 exception::handle: In cygwin_except_handler calling 0x0 16 814058 [main] XWin 2116 exception::handle: Exception: STATUS_ACCESS_VIOLATION 62 814120 [main] XWin 2116 try_to_debug: debugger_command '' 479 814599 [main] XWin 2116 open_stackdumpfile: Dumping stack trace to XWin.exe.stackdump --- Process 2116, exception C005 at 61026397 88607 903206 [main] XWin 2116 exception::handle: In cygwin_except_handler exc 0xC005 at 0x61026397 sp 0x20C434 49 903255 [main] XWin 2116 exception::handle: In cygwin_except_handler sig 11 at 0x61026397 19 903274 [main] XWin 2116 exception::handle: In cygwin_except_handler calling 0x0 17 903291 [main] XWin 2116 exception::handle: Exception: STATUS_ACCESS_VIOLATION 8266 911557 [main] XWin 2116 exception::handle: Error while dumping state (probably corrupted stack) 54526 966083 [main] XWin 2116 _cygtls::inside_kernel: pc 0x61026397, h 0x6100, inside_kernel 0 The problem appeared after running a rebaseall and rebooting for a regular Windows 7 update. I haven't made any hardware changes and Cygwin/X was running fine yesterday. After the problem appeared, running another erebaseall or updating my Cygwin 1.7 installation didn't help. What arguments did you use to rebaseall? I seem to recall Windows 7 doesn't work well with the default ones. Problem reports: http://cygwin.com/problems.html Windows 7 or Windows 7 64bit? Please attach your cygcheck output as requested by the URL above. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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: can not startx
Yaakov (Cygwin/X yselkowitz at users.sourceforge.net writes: On 05/01/2010 16:56, eric lin wrote: this is my /var/log/XWin.0.log where I think problm cause, fail startx, please help, eric Sigh. Lets try this again: Problem reports: http://cygwin.com/problems.html Yaakov Cygwin/X I can't follow the rules, there because I'm posting this from http://post.gmane.org/post.php?group=gmane.os.cygwin.xfreefollowup=20508 which doesn't support attachments. My XWin.0.log exhibits the same problem eric lin reported: XKB: Could not invoke xkbcomp [etc.] To check this I replaced xkbcomp with a shell script and indeed, it does not get called. Running as X -logverbose 100 does not shed any light on the problem. Running X or XWin with strace doesn't work (strace refuses to run X and on XWin crashes out with access violation, I'm on Windows 7). The problem appeared after running a rebaseall and rebooting for a regular Windows 7 update. I haven't made any hardware changes and Cygwin/X was running fine yesterday. After the problem appeared, running another erebaseall or updating my Cygwin 1.7 installation didn't help. I'm not replying here to report the problem in full detail (because I can't add attachments) but to report a workaround: install XMing from http://sourceforge.net/projects/xming/ and run that. Then after setting $DISPLAY to 127.0.0.1:0.0 I can run X clients such as xterm from the Cygwin bash prompt. -- Reinier Post TU Eindhoven -- 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: can not startx
On 1/13/2011 5:35 AM, Reinier Post wrote: Yaakov (Cygwin/Xyselkowitzat users.sourceforge.net writes: On 05/01/2010 16:56, eric lin wrote: this is my /var/log/XWin.0.log where I think problm cause, fail startx, please help, eric Sigh. Lets try this again: Problem reports: http://cygwin.com/problems.html Yaakov Cygwin/X I can't follow the rules, there because I'm posting this from http://post.gmane.org/post.php?group=gmane.os.cygwin.xfreefollowup=20508 which doesn't support attachments. Feel free to send a full report with attachments as email to the cygwin-xfree list. You can reference the above URL for continuity if you like too. -- Larry _ 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/
can not startx
this is my /var/log/XWin.0.log where I think problm cause, fail startx, please help, eric --- 2010-01-05 14:39:20 MIT-SHM extension disabled due to lack of kernel support 2010-01-05 14:39:20 XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel 2010-01-05 14:39:20 (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so 2010-01-05 14:39:20 (II) GLX: Initialized DRISWRAST GL provider for screen 0 2010-01-05 14:39:21 (EE) XKB: Could not invoke xkbcomp 2010-01-05 14:39:21 (EE) XKB: Couldn't compile keymap 2010-01-05 14:39:21 XKB: Failed to compile keymap 2010-01-05 14:39:21 Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. 2010-01-05 14:39:21 Fatal server error: 2010-01-05 14:39:21 Failed to activate core devices. -- 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: can not startx
On 05/01/2010 16:56, eric lin wrote: this is my /var/log/XWin.0.log where I think problm cause, fail startx, please help, eric Sigh. Lets try this again: Problem reports: http://cygwin.com/problems.html Yaakov Cygwin/X -- 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: I donwload all X11 packages, it still not can not startx
1) to isolate where the error comes from, manually start xwin try the following : a) open the bash shell, if not sure check the properties of the shortcut that on desktop or cygwin folder in start menu execute the bash.exe from windows explorer as with any program exe file b) type ' xwin' at the shell only (will look like a dos or unix shell window) a blank window will appear and an icon in the taskbar on the right will appear, (nothing can be done in this window) c) now start the window manager (this will give the min, max and close buttons to programs) and a desktop the screen that was opened in step b use twm or icewm or 2) simply disable any window manager used, then restart find the '.xinitrc' file may be in /etc/x11/xinit/xinitrc directory, this can be edited in windows by using notepad even comment out using # look for twm or icewm , which is typically the last line of the file 3) try different window manager and see which works best eric lin-5 wrote: from bash shell: startx serverauth 5052 giving up xinit:connection refusederrno 111 please help, eric -- 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/ -- View this message in context: http://old.nabble.com/I-donwload-all-X11-packages%2C-it-still-not-can-not-startx-tp27008767p27020857.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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/
I donwload all X11 packages, it still not can not startx
from bash shell: startx serverauth 5052 giving up xinit:connection refusederrno 111 please help, eric -- 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: I donwload all X11 packages, it still not can not startx
eric lin wrote... from bash shell: startx serverauth 5052 giving up xinit:connection refusederrno 111 please help, eric Eric, you may want to do a little google'ing... here is what I got on the first hit: http://www.cygwin.com/ml/cygwin-xfree/2009-06/msg5.html Anyway, this may be something to start with. josé -- 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: I donwload all X11 packages, it still not can not startx
On 03/01/2010 22:36, eric lin wrote: from bash shell: startx serverauth 5052 giving up xinit:connection refusederrno 111 Start here: Problem reports: http://cygwin.com/problems.html Yaakov Cygwin/X -- 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/