xterm 在 WSL 下失败:没有足够的 ptys

xterm fails under WSL: not enough ptys

刚刚更新到最新的 Windows 10 版本(内部版本 14316),我启动了 Linux 的 Windows 子系统,它应该 运行 Ubuntu 安装在 Windows.

当我在终端输入 xterm 时出现错误:

xterm: Error 32, errno 2: No such file or directory
Reason: get_pty: not enough ptys

有什么问题吗? 我想安装 KDE konsole,可以吗?

Windows Subsystem for Linux(还)没有一个有效的伪终端(pty)实现。需要创建一个的程序(如 xterm,还有 konsolescreenrlwrap)总是会失败并显示 ENOENT ("No such file or directory")

另请参阅:

编辑:截至 2016 年 6 月 9 日和版本 14361,此问题似乎已解决(请参阅下面对 Microsofts github 的评论和 Alexis 的评论)