[Konsole-devel] [Bug 146786] New: -e option sometimes fails: Konsole can't open a PTY (segfault, perhaps)
sheeettin at gmail.com
sheeettin at gmail.com
Thu Jun 14 17:04:42 UTC 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=146786
Summary: -e option sometimes fails: Konsole can't open a PTY
(segfault, perhaps)
Product: konsole
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: konsole-devel kde org
ReportedBy: sheeettin gmail com
Version: 1.6.6 (using KDE KDE 3.5.7)
Installed from: Ubuntu Packages
OS: Linux
Depending on what you execute, Konsole's -e option will cause Konsole to produce an error message (console output and dialog box) and exit without executing the desired command.
For example, try "konsole -e 'echo foo'". Here, it causes Konsole to print
kdecore (KProcess): WARNING: _attachPty() 11
konsole: WARNING: Unable to open a pseudo teletype!
Uh oh.. can't get terminal attributes..
...and a dialog box appears saying that Konsole needs read/write access to the PTYs. Strangely, "ls -Al /dev/pt*" shows everything is owned by root (group tty), permissions 0666.
In /dev/pts, I can read from and write to everything.
I can execute the launcher scripts for America's Army (a game) and Sauerbraten (another game) just fine (through the K menu, as "konsole -e '/path/to/script'", but the launcher script for Docking Station (another game) doesn't execute. It does work if executed in a shell, however.
More information about the konsole-devel
mailing list