From owner-freebsd-questions Thu Feb 5 03:18:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA02774 for questions-outgoing; Thu, 5 Feb 1998 03:18:28 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA02759; Thu, 5 Feb 1998 03:18:18 -0800 (PST) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id MAA00937; Thu, 5 Feb 1998 12:17:42 +0100 (MET) (envelope-from sos) Message-Id: <199802051117.MAA00937@sos.freebsd.dk> Subject: Re: can't run vgl programs unless I'm root In-Reply-To: from Donn Miller at "Feb 4, 98 05:51:39 pm" To: dmm125@bellatlantic.net (Donn Miller) Date: Thu, 5 Feb 1998 12:17:35 +0100 (MET) Cc: questions@FreeBSD.ORG, sos@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" In reply to Donn Miller who wrote: > Hello > > I couldn't get programs linked with libvgl to run unless I'm logged in as > root. I know that /dev/kmem needs to have write access. Maybe there are > others? > > Thanks. Any help appreciated. You need to be root, as libvgl messes with IO ports to the videocard, and this is not allowed if UID!=0. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..