From owner-freebsd-questions@freebsd.org Sun Apr 9 18:24:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC9C0D36A73 for ; Sun, 9 Apr 2017 18:24:37 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-pg0-x236.google.com (mail-pg0-x236.google.com [IPv6:2607:f8b0:400e:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1C67A08 for ; Sun, 9 Apr 2017 18:24:37 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-pg0-x236.google.com with SMTP id g2so93748396pge.3 for ; Sun, 09 Apr 2017 11:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=QCPPibCKV/lb/t8W1VQc+12a4pHNkcFVcyDdSSZ0L+k=; b=EF54Gvx8pbhz4UjBUxUMRqHPEeyciERbBS772XH3C3tn6Qy1USQFmbxEO2nxoFnxwR eXIv+hbl5YaSWhk7LrV2lZLJNoK+3MeQOakWTnTmfGS4FdGQjo6O0bNTFUavHOfQAdET pfqunXOdrgkBuhdZNuk6iBWQ4uLUnrOZsYXokADiv+Q5ITMbbOEepFRQK234xYAaiq9n wfnNWrX2se92TE67ynnzyWeKCZ4gC8SB8aOJm615YVWzg+KmmHKO8XxlPkQft1VlkjB2 lnvtekeTVDXYwWlpkg01h3D0SqgkuCwkMDybHg3Bt+e2b1h3gcIWaZK0nk9Y+qxQP6fY EdpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=QCPPibCKV/lb/t8W1VQc+12a4pHNkcFVcyDdSSZ0L+k=; b=bhehCkpaQgBp1R2rLTKiKwb+tCL/fI6qFbxAwlgFBunh5Ju7OPcRoEFu2BikdH+g1B k5Z7FAuqMnaDHsTcxrWSdesuP5dyNqPKHlqTpBkUFsLWjXoKg9MCP+ydjxfvlmIX20D5 JaAMNH8iLTa+vt7AivvFqWTwoKUFwyf32ZBxFNqwg7JpMPQUssfvtbnqI+JBS3pW1yt9 5ym1MOBHRANKPRc0N2OE5r99gIPzsJyvnvOZyxIrEFPQxKD1IgRtaQBgVyuFvRolaIka gQJLB5xyWlqRo7n7+W+NTBth+ygz+lMrxxE4DPqMYfz+/+65+/iLM7jJcA5yxByGQ66F 3cYA== X-Gm-Message-State: AFeK/H06x4jQvAI9P0riqefUZu2j7kMiS47uZcCwxSaAciCk2vsBPJhJsYArKNWG0g9TbQ== X-Received: by 10.99.126.80 with SMTP id o16mr50847295pgn.1.1491762277164; Sun, 09 Apr 2017 11:24:37 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id h25sm20159193pfk.119.2017.04.09.11.24.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Apr 2017 11:24:36 -0700 (PDT) Subject: Re: Unable to add self to group vboxusers To: freebsd-questions@freebsd.org References: From: JD Message-ID: <58EA7C59.3010608@gmail.com> Date: Sun, 9 Apr 2017 12:24:25 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2017 18:24:38 -0000 On 04/09/2017 12:04 PM, Manish Jain wrote: > Hi, > > > I am trying to run VirtualBVox under my under my system, a FreeBSD (p1) > 11 amd64 box with a radeon R5 230 (Caicos) card. > > > I did the following and rebooted : > > a) installed virtualbox-ose via pkg > > b) inserted vboxnet_enable="YES" in /etc/rc.conf > > c) added self to users vboxusers with : 'pw groupmod vboxusers -m ' > > d) added the following line to /etc/devfs.rules : > > add path 'usb/*' mode 0660 group operator > > Upon reboot, trying to run VirtualBox gets me : > > libGL error: MESA-LOADER: failed to retrieve device information > libGL error: image driver extension not found > libGL error: failed to load driver: radeon > libGL error: failed to open drm device: Permission denied > libGL error: failed to load driver: r600 > Effective UID is not root (euid=1001 egid=1001 uid=1001 > gid=1001) (rc=-10)

Please try reinstalling > VirtualBox.

where: SUPR3HardenedMain > what: 2 > VERR_PERMISSION_DENIED (-10) - Permission denied. > > ^C > > > When I run the groups command, I get different results based on > effective UID : > > > a) as root, when I run 'groups ', I spot vboxusers among the groups > for > > b) as normal user, when I run groups I do not see vboxusers among my > groups. > > > I am therefore unable to run VirtualBox. What exactly could be the > problem that leads me into vboxusers not being among my groups ? > > > Thanks for any help > > Manish Jain > I do not know how you tried to add users to a group, but here is the CLI command $ sudo |usermod -a -G wheel Unfortunately, the command only allows the addition of one user at a time :( |