2014-12-17 9 views
15

Nach der Aktualisierung von Cygwin startet der X-Server nicht. Soweit ich die einzige Fehlermeldung von der Befehlsausgabe sagen kann, ist:X startet nicht nach Cygwin-Upgrade

xinit: XFree86_VT Eigenschaft hat unerwartet 0 Produkte anstelle von 1

/var/log/xwin/XWin.0.log diese Nachricht nicht hat. Ich habe die gesamte Ausgabe an der Unterseite eingefügt.

Nach der ersten Installation von einem Cygwin-Spiegel hatte ich Cygwin Ports verwendet, um eine aktuelle Version von git zu erhalten. Mein letztes Update stammt von Cygwin Mirror. Könnte das das Problem verursacht haben?

Ich habe bereits versucht, alles von Cygwin Mirror neu zu installieren, mit der Neuinstallation Option für jede Kategorie. Habe ich neben der Deinstallation und der Neuinstallation noch eine andere Möglichkeit?

 
$ /usr/bin/startxwin 

Welcome to the XWin X Server 
Vendor: The Cygwin/X Project 
Release: 1.16.2.0 
OS: CYGWIN_NT-6.1 OAKN00563024A 1.7.33-2(0.280/5/3) 2014-11-13 15:47 x86_64 
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64) 
Package: version 1.16.2-1 built 2014-11-11 

XWin was started with the following command line: 

/usr/bin/XWin :0 -multiwindow -nolisten tcp -auth 
/home/I063510/.serverauth.1328 

(II) xorg.conf is not supported 
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information 
LoadPreferences: /home/I063510/.XWinrc not found 
LoadPreferences: Loading /etc/X11/system.XWinrc 
LoadPreferences: Done parsing the configuration file... 
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL 
winDetectSupportedEngines - Returning, supported engines 00000015 
winSetEngine - Multi Window or Rootless => ShadowGDI 
winScreenInit - Using Windows display depth of 32 bits per pixel 
winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 900 depth: 32 
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff 
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 
MIT-SHM extension disabled due to lack of kernel support 
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel 
glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll' 
GL_VERSION:  4.3.0 
GL_VENDOR:  NVIDIA Corporation 
GL_RENDERER: Quadro K2100M/PCIe/SSE2 
(II) AIGLX: enabled GLX_SGI_make_current_read 
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer 
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control 
(II) AIGLX: enabled GLX_SGIX_pbuffer 
(II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample 
(II) 1002 pixel formats reported by wglGetPixelFormatAttribivARB 
(II) AIGLX: Set GLX version to 1.4 
(II) 825 fbConfigs 
(II) ignored pixel formats: 0 not OpenGL, 54 RBGA float, 87 RGBA unsigned float, 0 unknown pixel type, 36 unaccelerated 
(II) GLX: Initialized Win32 native WGL GL provider for screen 0 
winPointerWarpCursor - Discarding first warp: 800 450 
(--) 8 mouse buttons found 
(--) Setting autorepeat to delay=500, rate=31 
(--) Windows keyboard layout: "00000409" (00000409) "US", type 7 
(--) Found matching XKB configuration "English (USA)" 
(--) Model = "pc105" Layout = "us" Variant = "none" Options = "none" 
Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none" 
winInitMultiWindowWM - DISPLAY=:0.0 
winMultiWindowXMsgProc - DISPLAY=:0.0 
winProcEstablishConnection - winInitClipboard returned. 
winClipboardThreadProc - DISPLAY=:0.0 
OS maintains clipboard viewer chain: yes 
winMultiWindowXMsgProc - XOpenDisplay() returned and successfully opened the display. 
winInitMultiWindowWM - XOpenDisplay() returned and successfully opened the display. 
winClipboardProc - XOpenDisplay() returned and successfully opened the display. 
xinit: XFree86_VT property unexpectedly has 0 items instead of 1 
xinit: connection to X server lost 

waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. 
winClipboardProc - XDestroyWindow succeeded. 
winClipboardIOErrorHandler! 
winMultiWindowXMsgProcIOErrorHandler! 
winInitMultiWindowXMsgProc - Caught IO Error. Exiting. 
winDeinitMultiWindowWM - Noting shutdown in progress 
(EE) Server terminated successfully (0). Closing log file. 

Antwort

19

ich das gleiche Problem nach CygWin Upgrade erfüllt.

xwin funktioniert gut für mich, und es ist sauber, ohne das hässliche Xterm-Fenster.

alias runx="run xwin -multiwindow -noclipboard" 

Laut Daniel, "-noclipboard" ist kein Muss, Danke.

+1

Dies löste das Problem für mich und öffnete kein hässliches Xterm-Fenster wie die Antwort von @Miserable Variable. Für die persönliche Vorliebe habe ich "-Clipboard" statt "-Noclipboard" verwendet. –

+1

Ich auch tatsächlich beschlossen, dies als die bessere Lösung :) –

+0

Dies funktionierte wie ein Traum für mich. Nach Monaten der Suche nach einer Lösung. Ich habe den Alias ​​zu meiner '~/.profile' hinzugefügt. Danke – RiggsFolly

7

fand ich die Antwort auf Cygwin-X mailing list:

 
Once I switched to 

xinit -- -multiwindow -clipboard & 

I was fine. 
4

Von http://x.cygwin.com/docs/ug/using.html:##

  • Beachten Sie, dass nicht mehr startxwin verlässt nach ~/.startxwinrc abgeschlossen ist, so dass> X läuft, aber, ähnlich wie startx, wartet, bis ~/.startxwinrc beendet und dann tötet X

    Wenn Sie nicht möchten, dass der X-Server beendet wird, bis Sie explizit dazu aufgefordert werden, beenden Sie Ihre ~/.startxwinrc mit etwas wie exec sleep infinity.


Also, am Ende Ihres setzen ~/.startwinrc:

exec sleep infinity 
1

Ich hatte ein solches Problem, fand aber, dass die Verknüpfung zum Starten xwin das Ziel hatte

C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe 

Aber ändert dies

C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin 

macht es funktioniert.

Verwandte Themen