From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2845139335 for ; Sat, 26 Jun 2021 05:57:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B04A0E0871; Sat, 26 Jun 2021 05:57:23 +0000 (UTC) Received: from mail-out-auth2.hosts.co.uk (mail-out-auth2.hosts.co.uk [212.84.127.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C494E0837 for ; Sat, 26 Jun 2021 05:57:22 +0000 (UTC) Received: from host86-157-72-169.range86-157.btcentralplus.com ([86.157.72.169] helo=[192.168.1.64]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1lx1Jg-0005dx-Cn for gentoo-user@lists.gentoo.org; Sat, 26 Jun 2021 06:57:21 +0100 Subject: Re: [gentoo-user] New install - Wayland and graphical login To: gentoo-user@lists.gentoo.org References: <60D0BDF3.9000302@youngman.org.uk> <3116964.aeNJFYEL58@lenovo.localdomain> <3b642a75-8b01-a8c6-8ad4-ff61af6a9287@youngman.org.uk> <2418747.4XsnlVU6TS@lenovo.localdomain> From: Wols Lists Message-ID: <60D6D4FC.70303@youngman.org.uk> Date: Sat, 26 Jun 2021 08:19:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <2418747.4XsnlVU6TS@lenovo.localdomain> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5bb07af5-f113-40ce-881d-f6d3c3aac9c6 X-Archives-Hash: dff01127b641fa30ea4bebcdd8b207a9 On 26/06/21 00:51, Michael wrote: > On Friday, 25 June 2021 20:15:22 BST antlists wrote: >> On 25/06/2021 09:46, Michael wrote: >>> On Friday, 25 June 2021 08:50:32 BST antlists wrote: >>>> On 23/06/2021 10:11, jdm wrote: >>>>> On Mon, 21 Jun 2021 16:17:41 +0100 >>>>> >>>>> Michael wrote: >>>>>> On Monday, 21 June 2021 17:27:31 BST Wols Lists wrote: >>>>>>> What happens when you get to the end of the handbook? >>>>>>> >>>>>>> I want to get a working Wayland setup with a (multi-user) graphical >>>>>>> login. When I set my old system up ($DEITY knows how long ago) I >>>>>>> seem to remember a page on setting up X, and all sorts of stuff. >>>>>>> >>>>>>> Now, you seem to get dumped at working tty1 prompt, and then the >>>>>>> *helpful* documentation JUST STOPS. It doesn't even point you at >>>>>>> anything! (Yes it points you at the portage page about how to >>>>>>> maintain your system, but that isn't much use if you can't DO >>>>>>> anything with the system...) >>>>>>> >>>>>>> I've found the page on Wayland, but it just says "set this use flag >>>>>>> and install two packages". >>>>>>> >>>>>>> Where's the documentation that tells me what I need, and how to set >>>>>>> it up, please ... >>>>>>> >>>>>>> Cheers, >>>>>>> Wol >>>>>> >>>>>> Have you tried using a Display Manager? Some of my systems won't >>>>>> work with Wayland, but I haven't spent time to find out why all I get >>>>>> with them is a black screen. >>>>>> >>>>>> Anyway, from a VT you'd run something like: >>>>>> >>>>>> XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland >>>>>> >>>>>> or >>>>>> >>>>>> XDG_SESSION_TYPE=wayland dbus-run-session gnome-session >>>>> >>>>> There is a wayland greeter which uses greetd and gtkgreet which may >>>>> be worth looking at and there is a gentoo wiki which goes a long with >>>>> it. It works with wayfire which is a nice wayland window manager and is >>>>> very reliable. >>>>> >>>>> Also look at https://wiki.gentoo.org/wiki/Wayland_Desktop_Landscape >>>> >>>> Thanks, but I'm none the wiser ... the thing is, for X the instructions >>>> are simple - "install xorg, run startx". >>>> >>>> Okay, I've done that and got errors I need to solve, but with Wayland I >>>> just don't have a clue. I don't know what I need, I don't know how to >>>> start it, all I've got is a pile of bits in a box, and I don't know what >>>> to do with them. >>>> >>>> Everything I find is like a meccano set - there's loads of bits and >>>> pieces, but no instructions, and I don't have a clue how they fit >>>> together. Where's the recipe that says "do this this and this and you >>>> should have a gui"? >>>> >>>> Cheers, >>>> Wol >>>> >>> From what I recall as long as you set USE="wayland" globally and >>> re-emerge >>> >>> world with '--changed-use' you should able to launch your dekstop in >>> wayland, rather than Xserver. >>> >>> https://wiki.gentoo.org/wiki/Wayland >>> >>> There is a caveat, to make things simple: your desktop environment should >>> have full support for wayland compositing - e.g. Plasma and Gnome come >>> ready baked with their own compositor and will run in Wayland. Window >>> managers which do not possess a compositor will require one installed >>> separately, as noted in jdm's post, but then we're getting into a box >>> with a pile of bits in it. >>> >>> To launch wayland you can either install a Display Manager and select to >>> start wayland from its GUI options, instead of X11, or you can run the >>> stanzas I provided above. >> >> Bear in mind my profile is desktop/plasma/systemd ... >> >> This is very informative, but it blows up on me ... I've checked that >> wayland is in my use flags so that should all be okay ... >> >> # XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland >> ... startplasma-wayland not found ... >> >> # emerge qtgreet >> emerge: there are no ebuilds to satisfy "qtgreet". >> >> So you've massively helped in that I now know much better how things fit >> together, but unfortunately you've also been no help at all in that the >> stuff you've pointed at doesn't work ... >> >> Where do I go from here ... >> >> Cheers, >> Wol > > I don't think systemd is different (although I don't use it with Gentoo), > unless you want to launch a Display Manager like e.g. sddm. Looking at sddm, it appears to require X? I might well have to play with that, given that I want a multi-user system (indeed, multi-head) system, but that can wait ... > > Given your error, you appear to not have installed the requisite packages for > the Plasma/KDE. It should have been installed as a dependency of plasma- > workspace: Ah. Another piece of missing information ... I'll try that. I would have thought that would have been pulled in seeing as I've got wayland and qt use flags etc > > $ qfile startplasma-wayland > kde-plasma/plasma-workspace: /usr/bin/startplasma-wayland > > If you have Gnome already installed then you can use the stanza for gnome- > session instead. > My use flags also contain -gtk -gnome ... gnome at least is on my list of pet hates ... Cheers, Wol