From nobody Fri Nov 26 23:34:47 2021 X-Original-To: freebsd-emulation@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BDEFB18AEABD for ; Fri, 26 Nov 2021 23:34:51 +0000 (UTC) (envelope-from dereks@lifeofadishwasher.com) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J1B165khsz3kWZ for ; Fri, 26 Nov 2021 23:34:50 +0000 (UTC) (envelope-from dereks@lifeofadishwasher.com) Received: by mail-qt1-x82d.google.com with SMTP id j17so10354794qtx.2 for ; Fri, 26 Nov 2021 15:34:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifeofadishwasher.com; s=google; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=vjA+eKJMvuqbArlmRRpFJ+IYa35rj/YCyq7iP6mvd9g=; b=Z3tJHO10uweb21eMq17K2+b0x5xsn9+yrkgDnyzQKSo9G6IMdiZuFEQypgTryOE2Du EIip29F/9I4fMovH5c4vYtAkyT19Htvhu3uEx030Mi6vOnKLJaXvYj/yRDuG3c97bmv5 Exg6PdDsDvdAeZ0P68SagXqXgRuehlLeaeyBQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=vjA+eKJMvuqbArlmRRpFJ+IYa35rj/YCyq7iP6mvd9g=; b=xO00LdnkZbnmz3PorqbETmMgNwImJFHwmU0kbAI63FCx0hxYg5LydnoHAzT8gsCn+0 w5v42uSUiCo3tnymQw6JFfKWnim2NlAgktOYByd6cZ4UwAvGDJwhmnNpOhrTx5E0lGf9 htzw99QwXsBcn7x1YGy9fkuNyKHwfs7bw7cx9OKaMCOVXfqmO2Am06qgxeEB+WNC7x1t K507qQrmE7i1MbZosxloMlRGosvC+IbLUwSXvCFVB/8/4nnn7se0GtJs/5mk0RhSog1R iwgii5AjF3L7Urermqnkx+rBsxjIcSMz5pll6ewVnqOUTiEATNci59YziTkHPQ2ZB6xE iDHA== X-Gm-Message-State: AOAM532MDfm1y6Aj5k5t7/yLOPXnwlOIkYmwLudEYVttwJC5ruqTJSh4 RiGirehe9SQq9r4GuIByw/d5RKgqRZPD/g== X-Google-Smtp-Source: ABdhPJynlg3YIs0hhVUNUafYr/366bTrHM6DrNo2j//tcZAAGto7nxbDsSVINEj1OZKS76oKpZt6nQ== X-Received: by 2002:ac8:5dcf:: with SMTP id e15mr19953601qtx.567.1637969689699; Fri, 26 Nov 2021 15:34:49 -0800 (PST) Received: from lifeofadishwasher.com ([2601:547:900:2410:3024:1efb:1f91:fbce]) by smtp.gmail.com with ESMTPSA id az16sm4133895qkb.124.2021.11.26.15.34.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Nov 2021 15:34:49 -0800 (PST) Received: by lifeofadishwasher.com (sSMTP sendmail emulation); Fri, 26 Nov 2021 18:34:47 -0500 Date: Fri, 26 Nov 2021 18:34:47 -0500 From: Derek Schrock To: freebsd-emulation@freebsd.org Subject: Re: VirtualBox Remote Instance Message-ID: Mail-Followup-To: freebsd-emulation@freebsd.org References: <1504452818.359186.1637965506245@ichabod.co-bxl> List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1504452818.359186.1637965506245@ichabod.co-bxl> X-Rspamd-Queue-Id: 4J1B165khsz3kWZ X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=lifeofadishwasher.com header.s=google header.b=Z3tJHO10; dmarc=none; spf=none (mx1.freebsd.org: domain of dereks@lifeofadishwasher.com has no SPF policy when checking 2607:f8b0:4864:20::82d) smtp.mailfrom=dereks@lifeofadishwasher.com X-Spamd-Result: default: False [1.63 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[lifeofadishwasher.com:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.07)[-0.071]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-emulation@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; DKIM_TRACE(0.00)[lifeofadishwasher.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82d:from]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[lifeofadishwasher.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > ~:$ pkg info | awk '/virtualbox/ {print $1}' > virtualbox-ose-6.1.26_3 > virtualbox-ose-additions-6.1.26_1 > virtualbox-ose-kmod-6.1.26 FYI, pkg info has -x that will allow you to filter packages from the regex pattern given to -x: pkg info -x virtualbox > > Here's the problem: > When running VirtualBox over SSH with X11-forwarding, I'm unable to start windowed virtual machines from the GUI. A window comes up saying "Creating process for virtual machine '...' (GUI/Qt) ... (1/2)" and nothing happens. > - VMs start fine using the "Headless Start" menu option. > - VMs fail to start using "Normal" or "Detachable" menu options. > - VMs start fine using any of the three options locally (on the VMs host). > > Here's the kicker: > If I'm logged in on the VM's host, both "Normal" and "Detachable" work over SSH. What is causing that, and how can I fix it so I don't have to be logged in locally on the host to start windowed instances remotely? > This sounds as if it's an issue with the local X server running or you're just not waiting long enough for the Qt window to appear. For example trying to run xterm via a VPN back to from home machine over the Internet takes ~10 seconds. Is this running X11 Forwarding via a local LAN or WAN? If WAN give it more time? If you gave it enough time I'd guess it's back to the local X server. I might recommend using net/xrdp instead of X11 Forwarding or use www/phpvirtualbox with VNC if you need console access. I've seen too many issues over the past couple years with applications not working correctly via X11 Forwarding to just stop using it other than simple applications. > More details: > I've enable the following ExtraData items on the VM, but nothing comes up while waiting for the failed windowed session to start: > setextradata burp GUI/Dbg/Enabled true > setextradata burp GUI/Dbg/AutoShow true > > I've also tried running the windowed VM instance directly without result: > ~:$ ssh burp.host "virtualboxvm --startvm burp --debug-command-line" > > Furthermore, log-outs hang on the VM's host if a windowed instance of the VM is running over SSH. >