From owner-freebsd-questions Tue Nov 7 20:33:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.icehouse.net (mail.icehouse.net [204.203.53.2]) by hub.freebsd.org (Postfix) with ESMTP id 7714A37B479 for ; Tue, 7 Nov 2000 20:33:51 -0800 (PST) Received: from mars.walker.dom (ppp-264.icehouse.net [204.203.54.34]) by mail.icehouse.net (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id UAA20450; Tue, 7 Nov 2000 20:33:43 -0800 X-Authentication-Warning: mail.icehouse.net: Host ppp-264.icehouse.net [204.203.54.34] claimed to be mars.walker.dom From: Keith Walker Date: Tue, 7 Nov 2000 20:33:42 -0800 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" To: kgc@sonic.net References: <3A08AC51.47AD864E@sonic.net> In-Reply-To: <3A08AC51.47AD864E@sonic.net> Subject: Re: KDE2 konsole prolems Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: <00110720334201.43783@mars.walker.dom> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday 07 November 2000 5:28 pm, you wrote: > I've been having some troubles with KDE2 since I upgraded to the stable > release out of the ports tree. It's alot better overall, but: > > The second problem appears to be with konsole_grantpty. When started > from an xterm, which launches just fine from run, konsole pops up as > expected, works just fine, but this error displays on the controlling > xterm: > > $konsole > konsole_grantpty: cannot determine the name of device. > konsole: chownpty failed for device /dev/ptyp2::/dev/ttyp2. > > : This means the session can be eavesdroped. > : Make sure konsole_grantpty is installed in > : /usr/local/bin/ and setuid root. > The initial problem is with a call to ttyname() in the konsole_grantpty program. FreeBSD insists that /dev/ptyp? are not tty's I guess. Working around that gave me other errors that I've not tracked down yet having to do with calls to waitpid() which return an error of ECHILD, even though the child was successfully run (my modified konsole_grantpty). I'm at the limits of my current knowledge, so I'm afraid that I can't help much more, but maybe that'll get you or someone else started. :-( -- Keith Walker kew@icehouse.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message