From owner-freebsd-questions@freebsd.org Wed Nov 9 13:02:33 2016 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 9E78EC36F39 for ; Wed, 9 Nov 2016 13:02:33 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (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 622B6F01 for ; Wed, 9 Nov 2016 13:02:33 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-qk0-x230.google.com with SMTP id n21so143610338qka.3 for ; Wed, 09 Nov 2016 05:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:in-reply-to:references:organization :mime-version:content-transfer-encoding; bh=rt9yxzx8Q+AReaxJCMZDmCsgPguK8f8XTTYpMHn7ats=; b=KCcWq/mh2tQ3CPIOdUy26YOoI++vEq2k0mpESXlJ5rkd5rEr+A8tmRq1bP6QURmHFI tey0HWPtUWppSfkh/oUtHSn37wbIWKbF4cO77K/l30OBFDQ819JS8YtI+4Jk4d7Q3qol H9XZk+barsQaIM00IT4VZQQqLux1HfhtHtrxk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=rt9yxzx8Q+AReaxJCMZDmCsgPguK8f8XTTYpMHn7ats=; b=V0UZA/8tW8+waChuZNJbR+25BjCMHcj/Cp6As+Tl/ny+DLgRbRnGnPq1B+KlTJHsoU 7pzTTaAB+FeKqNwsDdtNOCJNO0xjAlm/MiuAAW1sxO0mgzZNbriletVLheHWTdqInTkF c7nl05CwcgVrjuJLAx2W6SvqecKyo3pA4j9AE3z6ziXpHV/5VfawLnC8AamolBDctn8F jyi2vFx+7nUuwNuT4+65K7iJ60rDRYNGoJmFRafV4SncwRW4HjnG0rlwIlZRqqu3k+fP 3l7Ct5DdRD9Imt/x2U0qwgxvl9iqqqZMobwcr2UiuZ+X6xkabWOSJDVfwHn8tGtnZgIF nvKw== X-Gm-Message-State: ABUngvd/QOxpcVfYlO9hFwuPjiqspgFGh4S4xCqPTBt+rlMpxAALMYglm5kf5E0XMgx7Ig== X-Received: by 10.55.162.83 with SMTP id l80mr17923812qke.168.1478696551950; Wed, 09 Nov 2016 05:02:31 -0800 (PST) Received: from Papi ([177.135.28.43]) by smtp.gmail.com with ESMTPSA id w12sm22232191qka.4.2016.11.09.05.02.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Nov 2016 05:02:31 -0800 (PST) Date: Wed, 9 Nov 2016 10:03:02 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org Subject: Re: VirtualBox on a remote server (SOLVED) Message-ID: <20161109100302.66efe0dc@Papi> In-Reply-To: <20161109111948.2ab0fd73@eto-mona.office.smartweb.sk> References: <20161109111948.2ab0fd73@eto-mona.office.smartweb.sk> Organization: BSD X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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: Wed, 09 Nov 2016 13:02:33 -0000 On Wed, 9 Nov 2016 11:19:48 +0100 "Martin \"eto\" Misuth" wrote: > On Tue, 8 Nov 2016 15:31:00 -0300 > Mario Lobo wrote: > > > Hi; > > > > I have virtualbox running for a long time without any problems. The > > version I had running on two servers was 5.0.14, and decided to > > upgrade it to 5.1.8 with qt5. I tried compiling it with qt4 but the > > compilation stops with an error. > > > > Both servers have 10.3 stable r308305. > > > > I did the upgrade on the first server and it went OK. I ssh to it, > > type VirtualBox and the QT interface shows up fine on my local > > display. > > First I would check whether, first, working, server is not equipped > with intel vga by any chance, making it work with libGL, while second > one, being matrox equipped, fails. > > > process 11828: D-Bus library appears to be incorrectly set up; > > failed to read machine uuid: Failed to open "/etc/machine-id": No > > such file or directory > > See the manual page for dbus-uuidgen to correct this issue. > > D-Bus not compiled with backtrace support so unable to print a > > backtrace Abort trap (core dumped) > > This error looks much weirder, and obviously is related to some DBus > silliness. Maybe you have DBus daemon failing (or not starting) > on that machine? > > In my opinion it boils down to way in which you are running > virtualbox. > > It is some time I used virtualbox with FreeBSD, but I remember > getting it run "properly" (as in-what I considered being proper) > needed some dedication. > > Running vbox vm thorugh remoted X is certainly not proper, IMHO. > > If you are interested in trying the more "proper" (and more involved) > setup, I can provide you with pointers, how it was done, but whether > those would still apply I don't know. > > In the hindsight, whole thing was very, very subotimal and took some > scripting to get semi reliable. I was using vbox + FreeBSD because of > ZFS. ZFS was not that speedy when used this way, though, and vbox is > not very "headless" friendly out of the box, either. Each vbox update > meant recompile and so forth. > > I don't want to sound pessimistic, but I would not use such stack > these days. > > So what is your reason to run vbox on FreeBSD specifically? > > If it is ZFS as backing store, and you are not using "advanced" vbox > features (USB redir, GL accel), it might be worthy of your time to > explore whether your guests can run in bhyve, or try linux + qemu/kvm > + ZFS. > In my experience either is much more sysadmin friendly, once you > learn their warts, than vbox. > > eto > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hi Martin; Thanks for replying. Solved both errors! The dbus error was solved by running: dbus-uuidgen --ensure To generate a machine-id, which was lacking. The libGL error was solved by issuing: export LIBGL_ALWAYS_INDIRECT=1 The reason for this is because on X-forwarded ssh sessions, the Xserver tries to open the display of the client, which in this case is running on an Intel i915 card. It was trying to use direct rendering and it can't for whatever reason. Setting the above env var solves the problem and I now get the QT GUI on my display. Thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."