无法在 Mac 中启动 XMonad

发布于 2024-07-21 09:27:33 字数 1391 浏览 10 评论 0原文

我已完成 Mac 版 XMonad 教程中的每个步骤。 但是,我无法启动它。

我的 shell 最初没有正确运行我的 .profile。 我的 PATH 现在可以正常工作了。 我运行以下命令失败,

startx

并且我发现

font_cache: Scanning user font directories to generate X11 font caches
font_cache: Updating FC cache
xauth:  creating new authority file /Users/Masi/.serverauth.2188

Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
X11.app: main(): argc=2
        argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
        argv[1] = --listenonly
Waiting for startup parameters via Mach IPC.
X11.app: do_start_x11_server(): argc=6
        argv[0] = /usr/X11/bin/X
        argv[1] = :0
        argv[2] = -nolisten
        argv[3] = tcp
        argv[4] = -auth
        argv[5] = /Users/Masi/.serverauth.2188
Xquartz starting:
X.Org X Server 1.4.2-apple42
Build Date: 20090517
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
font_cache: Done

我尝试使用 XMonad 失败,按“

Ctrl-Shift Enter

我对命令没有任何反应”。

如何在 Mac Leopard 中成功启动 XMonad?

I have completed every step in XMonad's tutorial for Mac.
However, I cannot start it.

My shell did not run my .profile initially properly. My PATH works now correctly.
I run the following command unsuccessfully

startx

and I get

font_cache: Scanning user font directories to generate X11 font caches
font_cache: Updating FC cache
xauth:  creating new authority file /Users/Masi/.serverauth.2188

Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
X11.app: main(): argc=2
        argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
        argv[1] = --listenonly
Waiting for startup parameters via Mach IPC.
X11.app: do_start_x11_server(): argc=6
        argv[0] = /usr/X11/bin/X
        argv[1] = :0
        argv[2] = -nolisten
        argv[3] = tcp
        argv[4] = -auth
        argv[5] = /Users/Masi/.serverauth.2188
Xquartz starting:
X.Org X Server 1.4.2-apple42
Build Date: 20090517
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
font_cache: Done

I have tried to use XMonad unsuccessfully by pressing

Ctrl-Shift Enter

I get nothing with the command.

How can you start XMonad successfully in Mac Leopard?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

调妓 2024-07-28 09:27:33

/usr/X11/lib/X11/xinit/xinitrc 是一个文本文件,您无法执行它,您应该使用

open -a X11运行 X11

/usr/X11/lib/X11/xinit/xinitrc is a text file you can't execute it, you should run X11 with

open -a X11

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文