▼スレッド
│
└◇2043:startxwin.sh実行時のエラー [aki] 04/03 21:25
└◇2046:Re:startxwin.sh実行時のエラー [MSだす。] 04/04
└◇2047:Re[2]:startxwin.sh実行時のエラー [aki] 04/04
└◇2054:Re[3]:startxwin.sh実行時のエラー [MSだす。] 04/05
└◇2059:Re[4]:startxwin.sh実行時のエラー [aki] 04/05 <
自分はwww.atmarkit.co.jp/flinux/special/cygwin2/cygwin01a.htmlを参照してcygwinをインストールしたのですが、いざcygwinを起動してみてstartxwin.shを実行するとウインドウマネージャー twmが起動しませんでした。(通知領域にCygwin/X Serverが起動しました。ひとつ新たにウインドウが出ました。botOX@名前 ~ と表示されていました。)スレッド一覧
そこでWindow Makerを起動させようとviでstartxwin.shを開けて下のほうに
#twmとなっていたところを
#twm
wmaker &
と書かれいるとおりにしました。
そして再度startxwin.shを実行してみました。
すると今度は別ウインドウでエラーが報告されました。これがその内容です。
A fatal error has occurred and Cygwin/X will now exit.
Please open /tmp/XWin.log for more information.
Vendor: The Cygwin/X Project
Release:4.3.0.63
Contact:cygwin-xfree@cygwin.com
XWin was started with the following command-line:
XWin multiwindow -clipboard
またCygwinのコマンドラインのところには
$ wmaker warning: could not find user GNUstep directory (/home/CPU09/GNUste
p/Defaults/).
Installing WindowMaker 0.80.1 for current user...
Creating /home/CPU09/GNUstep user directory
Copying defaults database...
・省略(長すぎるのではじめと終わりの部分です。)・・・
Installation Finished
wmaker warning: /home/CPU09/GNUstep/Defaults/ directory created with defaul
t configuration.
wmaker fatal error: it seems that there is already a window manager running
とで表示されていました。自分は何かがインストールされているんだなと思いました・・・
次にそこで書かれているとおりに/tmp/XWin.logを見てみました。以下がその内容です。(長くなってすいません。)
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 4.3.0.63
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
X :0 -multiwindow -clipboard
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winScreenInit - dwWidth: 1024 dwHeight: 768
winSetEngine - Multi Window => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel
winCreateBoundingWindowWindowed - User w: 1024 h: 768
winCreateBoundingWindowWindowed - Current w: 1024 h: 768
winAdjustForAutoHide - Original WorkArea: 53 0 768 1024
winAdjustForAutoHide - Adjusted WorkArea: 53 0 768 1024
winCreateBoundingWindowWindowed - WindowClient w 1024 h 715 r 1024 l 0 b 715 t 0
winCreateBoundingWindowWindowed - Returning
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 715 depth: 16
winAllocateFBShadowGDI - Dibsection width: 1024 height: 715 depth: 16 size image
: 1464320
winAllocateFBShadowGDI - Created shadow stride: 1024
winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f
winInitVisualsShadowGDI - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winFinishScreenInitFB - Calling winInitWM.
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitWM - Returning.
winFinishScreenInitFB - returning
winScreenInit - returning
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
InitOutput - Returning.
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shar
ed 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"
Rules = "xfree86" Model = "jp" Layout = "jp" Variant = "(null)" Options = "(null
)"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
winPointerWarpCursor - Discarding first warp: 512 357
winBlockHandler - Releasing pmServerStarted
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
winBlockHandler - pthread_mutex_unlock () returned
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the disp
lay.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the di
splay.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winClipboardWindowProc - WM_DRAWCLIPBOARD - Initializing - Returning.
ddxBeforeReset - Hello
winClipboardProc - Call to select () failed: -1. Bailing.
winClipboardProc - XDestroyWindow succeeded.
ddxBeforeReset - Clipboard thread has exited.
winClipboardIOErrorHandler!
それからもう一度startxwin.shを実行しても
$ wmaker fatal error: it seems that there is already a window manager running と表示されるだけです。
いったいこの状態からどうやったらwindow managerを起動できるのでしょうか?よろしくお願いします。
>startxwin.shを実行するとウインドウマネージャー twmが起動スレッド一覧
>しませんでした。(通知領域にCygwin/X Serverが
>起動しました。
>ひとつ新たにウインドウが出ました。botOX@名前 ~ と
>表示されていました。)
2039の質問と同様、multiwindowモードでXが起動しています
(2039以下も参考にどうぞ)。そのもとではtwmやwindow maker
といったウィンドウマネージャーは使えません(使う必要が
ない、というべきかもしれません)。
その新たに開いたwindowのコマンドラインからXアプリが起動できます。ためしに
$ xcalc &
と打ってみてください($はプロンプトです)。Xの電卓が起動します。Windowsの画面に直接Xアプリのウィンドウが個々別々に開くので便利です。
multiwindowモードは使いたくない、twmやwindowmakerなどの
ウィンドウマネージャーを使いたのであれば、XWin.exe を
-multiwindow のオプションを付けずに起動する必要があります(御覧になった解説が書かれた時点ではまだ-multiwindowはデフォルトではなかったのでしょう)。
/usr/X11R6/bin/startxwin.shの中の
XWin -multiwindow -clipboard &
のところでmultiwindowが指定されているのでそれを消すか、
あるいは/usr/X11R6/bin/startxwin.shを自分のホームディレクトリにでもコピーして上記編集をして自分用のstartxwin.sh
として使うと良いでしょう。
レスありがとうございます。スレッド一覧
早速/usr/X11R6/bin/startxwin.sh の中の
XWin -multiwindow -clipboard のところの -multiwindow
を消して保存しました。そして、再度startxwin.shを実行するとみごとにwindow makerが起動しました!
ありがとうございます!
window makerが起動しただけでもうれしいのですが、startxwin.shを実行し、window makerが起動する際に以下のようなエラー?がでます。
$ TIFFReadDirectory: warning, /usr/X11R6/share/WINGs/Images.tiff: unknown field with tag 317 (0x13d) encountered.
TIFFReadDirectory: Warning, /usr/X11R6/share/WindowMaker/Icons/Terminal.tiff: unknown field with tag 317 (0x13d) encountered.
TIFFReadDirectory: Warning, /usr/X11R6/share/WindowMaker/Icons/Terminal.tiff: unknown field with tag 317 (0x13d) encountered.
何かと何かのファイルがぶつかっている?というような意味になるのでしょうか?いまいち意味がわかりません。
また質問になりますが、このエラー?はどのような設定すると解消されるのでしょうか?よろしくお願いします。
これは設定上の問題ではありません。スレッド一覧
一種のバグです。
ただ、いつ直されるのか、あるいはこのまま放置されるのか
良くわかりません。
エラーが出ているのはwmakerで使われているアイコンイメージ
のファイルに関するもので、実際にアイコンのイメージが
くずれたり、イメージが全く表示されなかったりします。
(特にwmakerの設定ツールWPrefs内のイメージが表示されない
のが悲惨です。)
アイコンのイメージ自体は問題の無いものに変更することは
できます。イメージのくずれたアイコンがあれば
右クリック、settingsでアイコンの設定windowが開くので
そこの"icon image"のbrowsを開いて他のイメージに
変更すると良いでしょう。
(私としては、デフォルトのmultiwindowモードの使用を
薦めたい気も結構するのですが)。
なるほど。バグでしたか。。。スレッド一覧
確かにひとつアイコンのイメージが崩れていました。(あんまり気にしませんでしたが。)
これはアドバイスどおりにsettingで
ちがうイメージを適当に割り当てておきました。
window makerを使うとlinuxを実際につかっている?という感じがしてよかったですが、multiwindowモードを使ってみると、かなり融通がききいて使いやすかったです。
こんな質問にいろいろなアドバイスほんとうにありがとうございました。