Summary: | konsole can't open pty | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Armin Berres <armin> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.9.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Armin Berres
2007-11-21 23:44:33 UTC
> Do you have any idea what can be broken, or how we can debug it?
I don't know I'm afraid. Kubuntu have working RC1 packages, is there some difference between their pty setup and that on Debian?
Sorry, we don't have an idea if there's a difference ;) Weh should have a LiveCD ready shortly after RC2 -- maybe this can be used for debugging the issue... > Weh should have a LiveCD ready shortly after RC2 --
> maybe this can be used for debugging the issue...
Yes thanks. Please add a note to this bug report when it is ready.
an strace looks like this: [pid 8338] open("/dev/ptyp0", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory) .. [pid 8338] open("/dev/ptyoz", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory) [pid 8338] write(2, "konsole(8338)/kdecore (KProcess/"..., 85konsole(8338)/kdecore (KProcess/K3Process) KPty::open: Can't open a pseudo teletype ) = 85 It looks like konsole tries to find on legacy (BSD) pty. Now looking in Debian's current kernel configuration the option LEGACY_PTYS is not set. You have to configure konsole to use Unix98 ptys. OK, we finally sorted it out: The problem was a missing /dev/ptmx of the build environment which built kdelibs. Building in a 'fixed' environment fixes the problem. Sorry for the noise. |