2013-03-18 69 views
2

我试图安装X11的Cygwin的。安装似乎顺利,但没有文档中描述的startxwin.bat文件。我手动下载这个文件,并把它放在正确的地方。它运行并在taskmanager中看到xwin.exe - 但没有“TERMINAL”。cygwin的startxwin.bat不起作用

任何人都可以帮忙吗?

PS:我试图让X11的,因为我相信我需要它在gnuplot的娇滴滴阴谋 - 一些可以证明我确实需要为X11。从Cygwin中端调用startxwin

OUTPUT:

$ startxwin 

Welcome to the XWin X Server 
Vendor: The Cygwin/X Project 
Release: 1.13.3.0 
OS: CYGWIN_NT-6.1-WOW64 LskyHome2 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64) 
Package: version 1.13.3-1 built 2013-03-09 

XWin was started with the following command line: 

X :0 -multiwindow 

Initializing built-in extension Generic Event Extension 
Initializing built-in extension SHAPE 
Initializing built-in extension MIT-SHM 
Initializing built-in extension XInputExtension 
Initializing built-in extension XTEST 
Initializing built-in extension BIG-REQUESTS 
Initializing built-in extension SYNC 
Initializing built-in extension XKEYBOARD 
Initializing built-in extension XC-MISC 
Initializing built-in extension XINERAMA 
Initializing built-in extension XFIXES 
Initializing built-in extension XFree86-Bigfont 
Initializing built-in extension RENDER 
Initializing built-in extension RANDR 
Initializing built-in extension COMPOSITE 
Initializing built-in extension DAMAGE 
Initializing built-in extension MIT-SCREEN-SAVER 
Initializing built-in extension DOUBLE-BUFFER 
Initializing built-in extension RECORD 
Initializing built-in extension DPMS 
Initializing built-in extension X-Resource 
Initializing built-in extension GLX 
(II) xorg.conf is not supported 
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information 
LoadPreferences: /home/moon sky/.XWinrc not found 
LoadPreferences: Loading /etc/X11/system.XWinrc 
LoadPreferences: Done parsing the configuration file... 
winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD 
winDetectSupportedEngines - Windows NT, allowing PrimaryDD 
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL 
winDetectSupportedEngines - Returning, supported engines 0000001f 
winSetEngine - Multi Window or Rootless => ShadowGDI 
winScreenInit - Using Windows display depth of 32 bits per pixel 
winAllocateFBShadowGDI - Creating DIB with width: 1920 height: 1080 depth: 32 
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff 
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 
winInitMultiWindowWM - Calling pthread_mutex_lock() 
winMultiWindowXMsgProc - Calling pthread_mutex_lock() 
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 
GL_VERSION:  3.3.0 
GL_VENDOR:  NVIDIA Corporation 
GL_RENDERER: GeForce GTX 260/PCI/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) 450 pixel formats reported by wglGetPixelFormatAttribivARB 
(II) AIGLX: Set GLX version to 1.4 
(II) 333 fbConfigs 
(II) GLX: Initialized Win32 native WGL GL provider for screen 0 
[dix] Could not init font path element /usr/share/fonts/TTF/, removing from list! 
[dix] Could not init font path element /usr/share/fonts/OTF/, removing from list! 
[dix] Could not init font path element /usr/share/fonts/Type1/, removing from list! 
winPointerWarpCursor - Discarding first warp: 960 540 
(--) 5 mouse buttons found 
(--) Setting autorepeat to delay=500, rate=31 
(--) Windows keyboard layout: "00000409" (00000409) "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" 
winBlockHandler - pthread_mutex_unlock() 
winInitMultiWindowWM - pthread_mutex_lock() returned. 
winInitMultiWindowWM - pthread_mutex_unlock() returned. 
winMultiWindowXMsgProc - pthread_mutex_lock() returned. 
winInitMultiWindowWM - DISPLAY=:0.0 
winMultiWindowXMsgProc - pthread_mutex_unlock() returned. 
winProcEstablishConnection - winInitClipboard returned. 
winMultiWindowXMsgProc - DISPLAY=:0.0 
winClipboardProc - DISPLAY=:0.0 
winInitMultiWindowWM - XOpenDisplay() returned and successfully opened the display. 
winMultiWindowXMsgProc - XOpenDisplay() returned and successfully opened the display. 
winClipboardProc - XOpenDisplay() returned and successfully opened the display. 

moon [email protected] ~ 
$ Warning: Cannot convert string "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type FontStruct 
Warning: Unable to load any usable ISO8859 font 
Warning: Unable to load any usable ISO8859 font 
Error: Aborting: no font found 

回答

0

我不认为你需要X11在Windows gnuplot的。请参阅:http://www.gnuplot.info/

Gnuplot supports many different types of output 
      interactive screen display:   cross-platform (Qt, wxWidgets, x11) or system-specific (MS Windows, OS/2) 
      static screen display:    system-specific (OSX(aqua), svga, ...) 
      direct output to file:    postscript (including eps), pdf, png, gif, jpeg, LaTeX, metafont, emf, svg, ... 
      mouseable web display formats:  HTML5, svg 

但是,它可能更容易使用不同的预编译的二进制。请参阅:http://www.maths.manchester.ac.uk/~pjohnson/Gnuplot/windows_gnuplot.html

+0

谢谢你,但我一个cygwin终端内工作,并需要调用GNUPLOT命令行参数当我想绘制一些东西时。我认为单独调用GNUPLOT会很麻烦 – ManInMoon 2013-03-18 17:55:11

+0

我尝试了你的建议 - 我发现它很有用。但是,它似乎有一些特殊之处。 LIKE smooth没有累积选项 - 你知道一个方法吗? – ManInMoon 2013-03-23 08:33:30

0

startxwin.bat,取而代之的startxwin.exe被删除... http://permalink.gmane.org/gmane.os.cygwin.xfree/20615

寻找它/bin

+0

我在cygwin终端跑“运行startx”,得到了这一点:不支持(II)的xorg.conf (II)查看http://x.cygwin.com/docs/faq/cygwin-x-faq.html为更多信息 LoadPreferences:/home/moon/.XWinrc没有找到 – ManInMoon 2013-03-18 21:34:30

+0

startxwin,不运行startx – jturney 2013-03-19 01:28:33

+0

@jturney。我得到非常相似的结果。我从上面的问题添加了命令的输出 – ManInMoon 2013-03-19 07:22:25