Cygwin なんでも掲示板

一覧最新記事過去一覧 | 検索FAQアンテナHOME
(新規投稿・発言はできません)


スレッド

└◇3128:
xwindowが開かない・・・ [じゃり] 01/31 12:43

 ├◇3129:Re:xwindowが開かない・・・ [zxcv] 01/31
 │└◇3130:Re[2]:xwindowが開かない・・・ [じゃり] 01/31
 │ └◇3132:Re[3]:xwindowが開かない・・・ [zxcv] 02/01
 └◇3133:Re:xwindowが開かない・・・ [じゃり] 02/05
  └◇3134:解決しました!!! [じゃり] 02/05
   ├◇3140:私も同じです・・・・ [gden] 02/16
   └◇3177:別法で立ち上がってます [くらまて] 04/11 <


3128● xwindowが開かない・・・[ じゃり ] 2006 01/31 12:43
先日Sleipnirを導入して、ついでにMcafeeもインストールしたのですが、どういうわけかその後cygwinからxwindowを開くことが出来なくなりました。startx,startxwin.sh,等試しましたが、画面下のタスクバーにXwindowのアイコンはでるのですが、開けません。原因はMcafeeのFirewallか何かかと思うのですが、どうかご助言お願い致します。
スレッド一覧


3129● Re:xwindowが開かない・・・[ zxcv ] 2006 01/31 18:01
Cygwin の Xwin.exe は tcp/6000 のポートをリッスンしていると思いますが、パーソナルファイアウォール等でブロックされて無いでしょうか?

# ブロックされてたら、ウィンドウ生成を含むいろんな要求がXサーバーに届きませんよね?
スレッド一覧


3130● Re[2]:xwindowが開かない・・・[ じゃり ] 2006 01/31 22:31
zxcvさんご返信ありがとうございます。McafeeのWirusscan、Firewall等を無効にして、cygwinからstartxとしてxwindowを起動させようとしたのですがやっぱり開いてくれません・・・。その時でたメッセージを下記に記します。
−−−−−−−−
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -multiwindow -clipboard -silent-dup-error

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 16
winInitVisualsShadowGDI - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
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
(--) Setting autorepeat to delay=500, rate=31
(II) Loading US keyboard layout.
(--) winConfigKeyboard - Layout: "E0010411" (00000411)
(--) Using preset keyboard for "Japanese" (411), type "7"
−−−ここまで来てフリーズ・・・

もうMcafeeをアンインストールしてCygwin再インストールしかないでしょうか・・・?
スレッド一覧


3132● Re[3]:xwindowが開かない・・・[ zxcv ] 2006 02/01 23:04
私も X の stderr は読めないクチなんですが、手元の WindowsXP Noteでは bash から startx とやると以下のメッセージが出て、ルートレスのウィンドウマネージャーと xterm が立ち上がります。

じゃりさんの場合は、キーボード設定で止ってるんでしょうかね?

私には、それ以上は分からないです。 m(_r_)m



$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/
X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winSetEngine - Multi Window or Rootless => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1400 height: 1050 depth: 32
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
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
(--) Setting autorepeat to delay=500, rate=31
(II) Loading US keyboard layout.
(--) winConfigKeyboard - Layout: "E0100411" (00000411)
(--) Using preset keyboard for "Japanese" (411), type "7"
Rules = "xorg" Model = "jp106" Layout = "jp" Variant = "(null)" Options = "(null)"
(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winPointerWarpCursor - Discarding first warp: 700 525
winInitMultiWindowWM - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - winInitClipboard returned.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
スレッド一覧


3133● Re:xwindowが開かない・・・[ じゃり ] 2006 02/05 04:48
ご返事遅れましたがzxcvさん、ありがとうございます。

cygwin再インストールしまして、再びstartxしてみた結果、同じところでフリーズしてしまいました・・・。
startxwin.batでは、画面下のタスクバーにcygwin/X server - 0:0 のアイコンは出るのですが、結局Xwindowは開いてくれません。startxwin.batの内容は、インストール後、まったくいじっておりません。どなたか助けて下さい!!
スレッド一覧


3134● 解決しました!!![ じゃり ] 2006 02/05 16:21
Mcafee Private Serviceのみをアンインストールしたところ、異常なくXwindowを開くことが出来ました!!どうやら原因はfirewallではなかったみたいです。理由はイマイチなんですがとにかく嬉しいので報告させてもらいます!

重ねてzxcvさん、ありがとうございました!
スレッド一覧


3140● 私も同じです・・・・[ gden ] 2006 02/16 18:43
私も同じ状況になって困っていました。

たすかりました。
スレッド一覧


3177● 別法で立ち上がってます[ くらまてんぐ ] 2006 04/11 22:58
私も同じ症状でXが落ちるので困ってましたが,たまたま xinit と打ってみたら,なんと動いています。何か欠けているのかも知れませんが,とりあえずご報告。
スレッド一覧

早田のホームページへ
CGIROOM