[問題] 請問Cygwin/X打不出字的問題

看板Linux作者 (愛上天使)時間13年前 (2012/09/20 17:04), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
不好意思,在網路上找了好久雖然找到類似的問題可是還是不懂要怎麼處理。 之前安裝了Cygwin,然後最近作業需要而要用到圖形介面 所以我試著用了一下Cygwin-X 於是打了startx叫出Cygwin-X,沒想到完全沒辦法在上面打字。 我在網路上面查了一下看到這樣的資訊: http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-i-cant-type-anything 3.2. I upgraded my X server and now I can't type anything into any X application Launch the X server via the shortcut under "Cygwin-X" on the start menu. Technical details: The startxwin.bat script used to set several enviroment variables used by the X server to specify the location of files it needs to access. Specifically this batch file would set XKEYSYMDB to /usr/X11R6/lib/X11/XKeysymDB. This file is now at /usr/share/X11/XKeysymDB, and without it the keyboard won't work. 好吧老實說我沒有看很懂,反正我先照著她做直接從windows的star menu啟動Cygwin-X 可是仍然沒有辦法打字Orz... 然後我又接著google到了這個網頁,好像作者跟我碰到的問題也很像 http://mhtsai208.blogspot.tw/2010/10/cannot-type-anything-into-any-x.html 所以是keyboard設定的問題?好吧然後我照著他教的做了 鍵入 startx -xkblayout us 但是X-server有一度跳出來可是瞬間就又關掉了Orz... 請問有人有碰過類似的問題嗎? 或者是有哪位高手大大能教一下這該怎麼做呢? 有學長建議我可以試著下載Xming用用看 我下載了並安裝了,可是我不太知道該怎樣讓Cygwin去call它 可以也順便告訴我如果我要用Xming的話 該怎麼用Cygwin去call Xming嗎? 感激不盡! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.115.34.124

09/20 19:57, , 1F
xming的話,直接點下去就可以跑了,不用從cygwin叫
09/20 19:57, 1F

09/21 01:58, , 2F
感謝!
09/21 01:58, 2F
文章代碼(AID): #1GMjmVHM (Linux)