Subject: pkg/28364: x11/gnome2-terminal can't find pty
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <michael@nosflow.com>
List: pkgsrc-bugs
Date: 11/20/2004 07:14:00
>Number:         28364
>Category:       pkg
>Synopsis:       x11/gnome2-terminal can't find pty
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 20 07:14:00 +0000 2004
>Originator:     Michael Wolfson
>Release:        2.0RC5
>Organization:
>Environment:
NetBSD gizmobook 2.0_RC5 NetBSD 2.0_RC5 (GIZMOBOOK) #4: Tue Nov 16 19:17:22 PST 2004  mw@gizmobook:/usr/src/src-2-0/sys/arch/macppc/compile/GIZMOBOOK macppc

>Description:
When launching a gnome-terminal it says:
~> gnome-terminal 

** (gnome-terminal:417): WARNING **: Error setting PTY size: Inappropriate ioctl for device.
Warning: no access to tty (Inappropriate ioctl for device).

** (gnome-terminal:417): WARNING **: Error reading PTY size, using defaults: Inappropriate ioctl for device.
Thus no job control in this shell.

** (gnome-terminal:417): WARNING **: Error reading PTY size, using defaults: Inappropriate ioctl for device.
mw has logged on ttyp2 from local.

** (gnome-terminal:417): WARNING **: Error setting PTY size: Inappropriate ioctl for device.
mw has logged on ttyp3 from local.

** (gnome-terminal:417): WARNING **: Error reading PTY size, using defaults: Inappropriate ioctl for device.


And in /var/log/messages it says:
Nov 19 19:03:33 gizmobook /netbsd: set{u,g}id pid 803 (gnome-pty-helper) was invoked by uid 502 ppid 417 (gnome-terminal) with fd 2 closed

>How-To-Repeat:
pkg_add gnome2-terminal
rehash
gnome-terminal
>Fix: