1 頁 (共 1 頁)

裝了 DarwinPorts 之後 X11 不能開啟

發表於 : 02/25/2006 8:02 am
yenlung
我的 iBook 上原本裝了 Fink, 在 Fink 時代 X11 是可以開啟的。

後來我發現 DarwinPorts 我要用的幾個程式比較新, 所以「加裝」了 DarwinPorts, 安裝 Maxima, TeXmacs。

結果, X11 不能執行了。查 Console 的抱怨如下:
XFree86 Version 4.4.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[DRI] screen 0 installation complete
Screen 0 added: 1024x768 @ (0,0)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Quitting XDarwin...
我有試過重裝 X11, 依然是不行的。

發表於 : 02/25/2006 7:22 pm
yenlung
看來 "Owner of /tmp/.X11-unix should be set to root " 不是嚴重的問題, 好像不動也可, 如果要就把 .X11-unix 的 owner 改成 root 就是。

可是 "Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! " 我還是不知如何是好。目前已經砍了 DarwinPorts, 執行

sudo rm -rf /usr/X11R6
sudo rm -rf /etc/X11
sudo rm -rf /Applications/Utilities/X11.app
sudo rm -rf /Library/Receipts/X11User.pkg

砍了 X11, 再重新安裝 X11, 還是不行。

發表於 : 02/26/2006 12:04 am
yenlung
結果用 root 執行一次 X11 就可以了:

sudo /Applications/Utilities/X11.app/Contents/MacOS/X11