From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RDNS_NONE,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.3 Received: by atuin.qyliss.net (Postfix, from userid 496) id 825914C91D; Wed, 6 Jan 2021 07:01:51 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id A70764C86A; Wed, 6 Jan 2021 07:01:22 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id C82414C8CF; Wed, 6 Jan 2021 07:01:20 +0000 (UTC) Received: from wout2-smtp.messagingengine.com (unknown [64.147.123.25]) by atuin.qyliss.net (Postfix) with ESMTPS id E7CCD4C862 for ; Wed, 6 Jan 2021 07:01:15 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 2E01C1297; Wed, 6 Jan 2021 02:00:59 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 06 Jan 2021 02:00:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=1EKmr7aZ77GBV1lGkuzTbaJ7HB Vmnv9Czf7+FFjTTtg=; b=QnjvSOYed6ExxPFK2cVDc9SALers0P9+gyNelM/rsq QS47rwUry+RxZfAaQPPTBoD72wexouf2r4TayO1Rt9v4NfjxdO5pEpFybxn3ndyP rQ3mFmAMBwZQfoR+lSFjOL9JART6P6rkd+Ga8Z+Sb76cwxCIb8ymqIjlQwxT30Ur u6njSbChrxrYU9ehHPkeq3dJIImZDNCyYyH6zU86vNploFAsbLM6gDHbubbhw84Q mfkBir5MSOOM6xQAyYZG7CBVGwOX6oo0Zjtpz+2DiWH+I1aH01eFMCmiuYhvZotG 27IZRbHSrq4DEm7lqHAQsQIloAfwWp4R7vItM4NvJQDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=1EKmr7 aZ77GBV1lGkuzTbaJ7HBVmnv9Czf7+FFjTTtg=; b=B6fqXdy9h58dxQwhG7PxPU Z7OWgEXAZwFDxTlR8+Jep2xRTzLbE2tMaxfBHb6nrQpY322i6XWNY1y+wcQlFV9d pcmunzUeZZt+h/d30mLe7ldTTd1dTyx2xwk27yL7LMhTMPtskyzf2Bgn+PdHVO41 fxegUZueGtzIMYpvMyuTJ9tJnz76Dhfw5yw/30dEbWOyGjlOr9VIoqO01qyPdcPZ cV2HXCg3m4FOVcB3RipNe3R3wWXGqCKRBfjKBtNbgqLtscwmQaApxpJDXbUrWljp 3or+rlqk97V10z5JHd1xDWdBJQqIevtEwRQv/tzIk6hLsxrW39o5Ohe6908PDrsA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefkedguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhffkfggtgesghdtre ertddttdenucfhrhhomheptehlhihsshgrucftohhsshcuoehhihesrghlhihsshgrrdhi sheqnecuggftrfgrthhtvghrnhepffejffefheeujedtlefgveegjeefffdtueegudekje ekieehueffudeivdfgudeunecuffhomhgrihhnpegrlhihshhsrgdrihhspdhsphgvtght rhhumhdqohhsrdhorhhgnecukfhppeekgedrudekgedrvdefgedrgeelnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdr ihhs X-ME-Proxy: Received: from x220.qyliss.net (p54b8ea31.dip0.t-ipconnect.de [84.184.234.49]) by mail.messagingengine.com (Postfix) with ESMTPA id 19BF6108005B; Wed, 6 Jan 2021 02:00:58 -0500 (EST) Received: by x220.qyliss.net (Postfix, from userid 1000) id 914884BA; Wed, 6 Jan 2021 07:00:56 +0000 (UTC) From: Alyssa Ross To: Thomas Leonard Subject: Re: New user getting started questions In-Reply-To: References: Date: Wed, 06 Jan 2021 07:00:53 +0000 Message-ID: <87ble2czx6.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Message-ID-Hash: TGEZ52ZQXQPPJQOJKJ6FQQI243SV7QFI X-Message-ID-Hash: TGEZ52ZQXQPPJQOJKJ6FQQI243SV7QFI X-MailFrom: hi@alyssa.is 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; suspicious-header CC: Michael Raskin <7c6f434c@mail.ru>, discuss@spectrum-os.org X-Mailman-Version: 3.3.1 Precedence: list List-Id: General high-level discussion about Spectrum Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain Hi! Thanks for getting in touch. :) To be honest, I'm surprised you got as far as you did -- like Michael says, I'm currently working towards a proof of concept, so none of what you've tried out so far is really meant for use outside of that proof of concept. > I've been running Qubes for a few years now and I'd like to give > Spectrum a try, as I've been having some hardware and performance > problems with Qubes. Is there some up-to-date guide I can follow? I > found https://alyssa.is/using-virtio-wl/#demo and was able to see the > weston terminal. I also tried updating to the latest commit and was > able to get a nested wayfire window with: > > nix-build . -A spectrumPackages && ./result-3/bin/spectrum-vm > > (I'm fairly new to Nix, so not sure if this is the right way to do things) Pretty close -- spectrumPackages is an attribute set containing lots of derivations, which is why you end up with lots of numbered result-* symlinks. If you do -A spectrumPackages.spectrum-vm it'll just give you a single result symlink pointing to that, and you won't need to go hunting for the right one. :) > I managed to change the keyboard layout, mount a tmpfs for home, and > increase the memory enough to start firefox, but I haven't managed to > get much further. Things I tried so far: > > - I tried replacing wayfire with weston-terminal, to avoid the nested > session. But sommelier segfaults when I do that. I'm surprised -- this has worked for me before, although it's been a while since I tried this so maybe I changed something. > - I tried adding `--shared-dir /tmp/ff:ff:type=9p` to share a host > directory. Then `mount -t 9p -o trans=virtio,version=9p2000.L ff /tmp` > in the VM seemed to work, but `ls /tmp` crashed the VM. Yeah, this is a known issue. I have a patch[1] for it but didn't add it to the package since I mostly have been working with my own source builds of crosvm. [1]: https://spectrum-os.org/git/crosvm/commit/?id=1e318da5b57c12f67bed3b528100dbe4ec287ac5 > - I tried using `-d /dev/mapper/disk` to share an LVM partition, but > `mount -t ext4 /dev/vdb /tmp` refused to mount it. Never tried that, so I don't know anything about it I'm afraid. > - I tried enabling networking with `--host_ip 10.0.0.1`, etc, but it > said it couldn't create a tap device. I guess it needs more > privileges. Yeah, crosvm needs to be CAP_NET_ADMIN for that (which is difficult to do with Nix). You can make a TAP device yourself iproute2 and use --tap-fd to tell crosvm to use it, or you can use the mktuntap program I wrote (with a privelege drop after running mktuntap), like this: sudo mktuntap -pvB 3 \ sudo -u $USER -C 4 result/bin/spectrum-vm -- --tap-fd 3 > Ideally, I'd like to run a VM with each of my old Qubes filesystems, > to get back to where I was with my Qubes setup, before investigating > new spectrum stuff (e.g. one app per VM). Do you have any advice on > this? I see these lists are a bit quiet - I hope someone is still > working on this because it sounds great :-) Like Michael said, there's a lot I need to do before it's really ready to use like this, but I am working on it (or at least I will be again once my anti-burnout break ends). Once I am, I hope to be more active on the lists again. I used to post weekly status updates, and would like to get into doing that again once I'm back because they were a great way to keep people up to date with the project and for me to have a record of what I'd been doing. Reading some of the old status updates should give you a bit of a feel for where things are, although things are a bit further along than they were when I wrote the last one because I put the status updates on hold to try to chase a funding milestone. Hope that's all clear -- please ask more questions if you have them, although if it's anything particularly in the weeds I might wait until I'm back from my break to answer. :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJBBAEBCAArFiEEH9wgcxqlHM/ARR3h+dvtSFmyccAFAl/1YCYNHGhpQGFseXNz YS5pcwAKCRD52+1IWbJxwAEDD/44UxKoXw3xXlII4HtV0XMU+ioxtkc7bb++Ym4O GrICMwXfu1Va5yJeu84d3Czd+Ah7lg54aup+ELTm7pI4oBy40zW4HqSKw80sC1Zl 6JlHNXg5iXz+hCxD+8bBRJgiG4gfurZt1PdzY3yIe283sTiwKkVEOruAY0Gn08/Y njeRe5XFs+nXdnZ5cwOBAK7OgzPuOwIvG5zv6nNckrNo4H+9DZ0wylJhLyPF+4Li g0cM5LBYEYVHw/dBzm0A1vW31QBApN9XL29r6pwUCfeZdmE++IIIrZQPso+KFg1y VIRUOjGRUri0J7+KLChgBOGq4dMunGibQGkjeOJBJkFlfARkjBBSUEAwfGemqB6d oAQCpLO6f0Ooth8bP7OPF18NL7fJtGSugYLfvVOYfY61kTu+NA4duVnQO1g+nwGd WY43qryILCF4X1RKeHNrMGi52zoCM8NRo6dQQNLz1E5dTzIwJOl1CNHPiA2yv1+w uLwxYKhbT9KofW953yMQP0r7qQy/hFUoa/2OJRUrltxqHs1x2BNhc0gALTMQlFlv i2hWWTsjROHP3MqHCm4r8jaxok1OuJsqY4x+0HG/g5ozG3pBxsbWhxpnVfZ+mafM 9R/1lz5I/TmfsXuexEMd+y8GORcZ2UJN6UYYTJ/BoJp1Q5aHlvVVNqSyZTqWbsXA +EsOow== =KHRE -----END PGP SIGNATURE----- --=-=-=--