From owner-freebsd-ports Sat Jul 22 17:12:46 2000 Delivered-To: freebsd-ports@freebsd.org Received: from thelab.hub.org (nat193.142.mpoweredpc.net [142.177.193.142]) by hub.freebsd.org (Postfix) with ESMTP id D5A6837B569 for ; Sat, 22 Jul 2000 17:12:38 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.3) with ESMTP id VAA14055; Sat, 22 Jul 2000 21:10:36 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Sat, 22 Jul 2000 21:10:35 -0300 (ADT) From: The Hermit Hacker To: kde-devel@max.tat.physik.uni-tuebingen.de Cc: freebsd-ports@freebsd.org Subject: KDE2 and konsole_grantpty (Was: Re: More on Session hangs ... ) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org okay, this might make sense to someone out there ... looking at konsole_grantpty, the fod that is failing appears to be: pty = ttyname(PTY_FILENO); /* posix */ if (pty == NULL) { fprintf(stderr,"%s: cannot determine the name of device.\n",argv[0]); return 1; /* FAIL */ } close(PTY_FILENO); where PTY_FILENO is hardcoded as 3: #define PTY_FILENO 3 /* keep in sync with grantpty */ What does the 3 signify? Is this something specific to Linux that needs to be set to a different value for *BSD (and, apparently, UnixWare7)? On Sat, 22 Jul 2000, The Hermit Hacker wrote: > On Sun, 23 Jul 2000, Ralf Nolden wrote: > > > The Hermit Hacker wrote: > > > > > > Do the following mean anything concerning the 'session hangs' I'm > > > experiencing? > > > > > > _IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root > > > konsole_grantpty: cannot determine the name of device. > > > konsole: chownpty failed for device /dev/ptyp8::/dev/ttyp8. > > > : This means the session can be eavesdroped. > > > : Make sure konsole_grantpty is installed in > > > : /usr/local/bin/ and setuid root. > > What OS are you running ? I have the same error when debugging with > > KDevelop under UnixWare7 and I´m helpless here, too although > > konsole_grantpty is seuid root and installed ;-( > > Running FreeBSD at this end ... apparently this is a common FreeBSD > problem also ... > > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy > Systems Administrator @ hub.org > primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org > > > >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << > > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message