[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: konsole kpart: Konsole is unable to open a PTY...
From:       "Leo Spalteholz" <leo.spalteholz () gmail ! com>
Date:       2006-03-04 21:30:48
Message-ID: 7c98fd570603041330i30cea261kc24a86d6e37734f0 () mail ! gmail ! com
[Download RAW message or body]

On 2/2/06, Karim Ryde <karim@bredband.net> wrote:
> On Tuesday 31 January 2006 02:50, Michael Pyne wrote:
> > On Monday 30 January 2006 15:36, Karim Ryde wrote:
> > > Cannot get this to work with TerminalInterface:
> > > ...
> > > session_terminal->startProgram( "ls", "-la" );
> > > ...
> > >
> > > Maybe I'm missing something very basic here?
> >
> > I just fought with yakuake the other day trying to get it to not use the
> -l
> > flag to /bin/sh.  I think I know what may be afflicting you.
> >
> > The second parameter to startProgram should be a QStrList (C++ is
> > automatically casting the QString to QStrList for you).
> >
> > QStrList args;
> >
> > args.append("ls");  // Put command name first in args
> > args.append("-la"); // Then follow with all options.
> >
> > // But startProgram() still needs the command name even though
> > // it is first in args.
> > session_terminal->startProgram("ls", args);
> >
> > Let me know if this works for you.
>
> Tried that without success.
>
> Same error:
> "Konsole is unable to open a PTY (pseudo teletype). It is likely that this
> is
> due to an incorrect configuration of the PTY devices. Konsole needs to have
> read/write access to the PTY devices."

Did this get resolved?   I'm getting this same error when trying to
execute any Klik cmg files.  Konsole pops up with that error, and the
cmg won't run.  /dev/pty* are all rw for everyone, /dev/pts is
mounted, and kgrantpty is installed and setuid root.  Was there
anything else to try?

Cheers,
Leo
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic