2

Having just updated to the newest Windows 10 release (build 14316), I started the Windows Subsystem for Linux, which is supposed to run an Ubuntu installation on Windows.

When I type xterm in terminal I get error:

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

What's the problem? I would like to install KDE konsole, it will work?

nowox
  • 25,978
  • 39
  • 143
  • 293
lukassz
  • 3,135
  • 7
  • 32
  • 72

1 Answers1

4

Windows Subsystem for Linux doesn't (yet) have a working pseudo-terminal (pty) implementation. Programs that need to create one (like xterm, but also konsole, screen and rlwrap) will invariably fail with ENOENT ("No such file or directory")

see also: rlwrap could not open master pty

EDIT: as of june 9 2016, and build 14361, this problem appears to have been solved (see the comments on Microsofts github and Alexis' comment below)

Community
  • 1
  • 1
Hans Lub
  • 5,513
  • 1
  • 23
  • 43