From owner-freebsd-questions@FreeBSD.ORG Sun May 20 14:26:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF14F16A468 for ; Sun, 20 May 2007 14:26:03 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.freebsd.org (Postfix) with ESMTP id 007B413C44C for ; Sun, 20 May 2007 14:26:02 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from ironport.bredband.com ([195.54.107.82] [195.54.107.82]) by mxfep02.bredband.com with ESMTP id <20070520142601.ODKV25484.mxfep02.bredband.com@ironport.bredband.com> for ; Sun, 20 May 2007 16:26:01 +0200 Received: from c-5416e555.03-51-73746f3.cust.bredbandsbolaget.se (HELO scode.mine.nu) ([85.229.22.84]) by ironport.bredband.com with ESMTP; 20 May 2007 16:26:01 +0200 Received: from scode.mine.nu (localhost [127.0.0.1]) by scode.mine.nu (Postfix) with ESMTP id 35BADC17C; Sun, 20 May 2007 16:26:00 +0200 (CEST) Message-ID: <46505A69.8090005@infidyne.com> Date: Sun, 20 May 2007 16:25:45 +0200 From: Peter Schuller User-Agent: Thunderbird 2.0.0.0 (X11/20070501) MIME-Version: 1.0 To: White Hat References: <20070519191926.75991.qmail@web34413.mail.mud.yahoo.com> In-Reply-To: <20070519191926.75991.qmail@web34413.mail.mud.yahoo.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig833538FE9456F8751B1609F9" Cc: FreeBSD Users Questions Subject: Re: vidcontrol: getting active vty: Inappropriate ioctl for device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 14:26:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig833538FE9456F8751B1609F9 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable > vidcontrol: getting active vty: Inappropriate ioctl > for device >=20 > I have this entry in the ~/.bash_profile file: >=20 > vidcontrol lightcyan vidcontrol is trying to affect the system console, and does it by manipulation file descriptor 0 (stdin). If you are logging in at the user in question at the console it should work. But in X it won't. You can make it do what you ask to the system console with: vidcontrol < /dev/console But that will require root privileges. --=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --------------enig833538FE9456F8751B1609F9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGUFp3DNor2+l1i30RCM2+AJ9eRQ3mjaAKDgxyJGzNpD52E7qxmgCfVesu nmDf+cEs2tHvTRIxl4VFirE= =CO7t -----END PGP SIGNATURE----- --------------enig833538FE9456F8751B1609F9--