From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 Received: by atuin.qyliss.net (Postfix, from userid 496) id 00A27937A; Wed, 3 Nov 2021 19:17:25 +0000 (UTC) Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id A041A93A2; Wed, 3 Nov 2021 19:16:59 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 89FA79332; Wed, 3 Nov 2021 19:16:56 +0000 (UTC) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by atuin.qyliss.net (Postfix) with ESMTPS id 94CED9331 for ; Wed, 3 Nov 2021 19:16:52 +0000 (UTC) Received: by mail-lf1-f41.google.com with SMTP id o18so7157291lfu.13 for ; Wed, 03 Nov 2021 12:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7skSgS+isbBbcmd5EEVyhkk8Eg8PW2K9ZQVUtEazYnc=; b=JnUQtAdbsqbu3rS8NLL18UHNB2BOh2wPa3ToBHQDlM3fQXjNKVeMVMadeg/sfQPw6V FSgiejvJz5gXD/IfPgfaVzXaNsoX1uUzgcf3XwbxGHFQt1RC927gy90lnvRPfBhJ3ka4 qPV8VMiViABRzjiHqxIQZHIOzWIIQU4nTuhry0RLhP1B40yIPiKxEBLAYJ8bmp+bCE+g QPOs0Hc4xfjLeL087zEPIJSDQ/zA+5yTJ9QrWRp727LnBFvGuWXN2KawTfNmY69lVfCH ZNOXbgoHOwBPk56TaCWGoU8TzwsdHOpqQxb1HEpszEhmCFjeuE9CjhfP0DAmD7pJvQiD 7BTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7skSgS+isbBbcmd5EEVyhkk8Eg8PW2K9ZQVUtEazYnc=; b=Xvrr7vr3gStzEwNQTRhYdIVQZ4btpe/JYevY7d7wM9f0nDr4pgcKH+kheFdNFJjrQ2 CJTpceOa4hhVNKv/1okVlrmDX+AFk9QP+dUjzkzNbkXb6JmetvXPBIXLwXbPvUs1r+qU YoAZ5rwfr3UvB8EzfS+t3zGhwts/97iEw1nmO1FdTBmtJbW5TXICslGlWL1r9v1HUy1u W9A9FNRDk1FoU4xzBVNVvbA7w8Lt0e73w2d1JVxTiDg0KHWPQwzq3foDOPOu4+K6tSh/ vHHcr/7Mvu7lYbONwgYfw2z51e4miZNvPXtcQEALXp5cYvqX8BCSO/MjPcNlTTLBtdnV GbZA== X-Gm-Message-State: AOAM532q0amGNcbpN5cJQZgQ289jtjAQTYVhbW330bVRXu51vFrDCM7w n7aRaPnDjnSnvIxGSMmQIj0dynkdoQa8cjU4lFo= X-Google-Smtp-Source: ABdhPJxPO9rodAxkUcUIwp7edRs4ckM0QqoZwb+e5ywbCrxJfAD/Ky49b1mE0GLGcrFB64bLnEHEIaBIsK6zPqGmmjM= X-Received: by 2002:ac2:46d6:: with SMTP id p22mr25627198lfo.350.1635967011529; Wed, 03 Nov 2021 12:16:51 -0700 (PDT) MIME-Version: 1.0 References: <87ble2czx6.fsf@alyssa.is> <87lfcvn1ln.fsf@alyssa.is> <87bldrn0kh.fsf@alyssa.is> <20210309162556.ctiy3yfp7plkbdqs@x220.qyliss.net> <87o871tqqu.fsf@alyssa.is> In-Reply-To: <87o871tqqu.fsf@alyssa.is> From: Thomas Leonard Date: Wed, 3 Nov 2021 18:27:11 +0000 Message-ID: Subject: Re: New user getting started questions To: Alyssa Ross Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: BTQIE74HW2RB5BULDDNRZW6S5DSSYYZF X-Message-ID-Hash: BTQIE74HW2RB5BULDDNRZW6S5DSSYYZF X-MailFrom: talex5@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Michael Raskin <7c6f434c@mail.ru>, discuss@spectrum-os.org X-Mailman-Version: 3.3.4 Precedence: list List-Id: General high-level discussion about Spectrum Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Wed, 3 Nov 2021 at 11:37, Alyssa Ross wrote: > > Thomas Leonard writes: > > > On Sat, 13 Mar 2021 at 07:21, Thomas Leonard wrote: > > [...] > >> For the short-term, it would be fairly easy to make a slight change to > >> the wayland-virtwl-proxy so that a version of it could run on the > >> host. Unlike the guest one, which has to copy frames and deal with > >> virtwl, this would just pass FDs through. And instead of connecting to > >> /dev/wl0, it would just connect to the host compositor socket. It > >> would then block access to screenshots (since it doesn't proxy that), > >> and would add the VM's name to each window's title. > >> > >> Eventually I'd like to turn it into a full compositor, but I'm going > >> to be busy for the next 6 months at least. > > > > The 6 months passed and I had a bit more free time to work on this, > > and now the proxy runs on the host too! > > > > I didn't have time to write a compositor though, because I ended up > > spending my whole holiday getting Xwayland support added (see > > https://roscidus.com/blog/blog/2021/10/30/xwayland/ if you want the > > details - it's surprisingly complicated!). > > That's awesome =E2=80=94 thanks for keeping us updated! > > Have you seen the new mechanism for Wayland over virtio-gpu context > types that Google are moving towards? It's supported in mainline Linux > now, and in Sommelier. I'd expect virtio-wl to go away at some point in > favour of that. Ah, is that released already? I saw you mentioned it in your handy graphics write-up, but I thought it wasn't due until Linux 5.16: https://www.phoronix.com/scan.php?page=3Dnews_item&px=3DVirtIO-Linux-5.16-C= tx-Type I don't know any details about it, but unless it's massively more complicated than virtwl it shouldn't be any trouble to switch to it. Will be nice not having to port virtwl to each new kernel! > Also, I've been following some Qubes work recently, and it sounds like > they might be interested in doing X11 over Wayland in a way that > wouldn't need special compositor support (and the corresponding > potential for security bugs). It sounds like it would be a lot of work > though, so we'll see=E2=80=A6 Isn't that what Sommelier and wayland-proxy-virtwl are both doing already though? There's no need for any X11 support in the host compositor with them. -- talex5 (GitHub/Twitter) http://roscidus.com/blog/ GPG: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC