Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] New install - Wayland and graphical login
Date: Fri, 25 Jun 2021 23:52:21
Message-Id: 2418747.4XsnlVU6TS@lenovo.localdomain
In Reply to: Re: [gentoo-user] New install - Wayland and graphical login by antlists
1 On Friday, 25 June 2021 20:15:22 BST antlists wrote:
2 > On 25/06/2021 09:46, Michael wrote:
3 > > On Friday, 25 June 2021 08:50:32 BST antlists wrote:
4 > >> On 23/06/2021 10:11, jdm wrote:
5 > >>> On Mon, 21 Jun 2021 16:17:41 +0100
6 > >>>
7 > >>> Michael <confabulate@××××××××.com> wrote:
8 > >>>> On Monday, 21 June 2021 17:27:31 BST Wols Lists wrote:
9 > >>>>> What happens when you get to the end of the handbook?
10 > >>>>>
11 > >>>>> I want to get a working Wayland setup with a (multi-user) graphical
12 > >>>>> login. When I set my old system up ($DEITY knows how long ago) I
13 > >>>>> seem to remember a page on setting up X, and all sorts of stuff.
14 > >>>>>
15 > >>>>> Now, you seem to get dumped at working tty1 prompt, and then the
16 > >>>>> *helpful* documentation JUST STOPS. It doesn't even point you at
17 > >>>>> anything! (Yes it points you at the portage page about how to
18 > >>>>> maintain your system, but that isn't much use if you can't DO
19 > >>>>> anything with the system...)
20 > >>>>>
21 > >>>>> I've found the page on Wayland, but it just says "set this use flag
22 > >>>>> and install two packages".
23 > >>>>>
24 > >>>>> Where's the documentation that tells me what I need, and how to set
25 > >>>>> it up, please ...
26 > >>>>>
27 > >>>>> Cheers,
28 > >>>>> Wol
29 > >>>>
30 > >>>> Have you tried using a Display Manager? Some of my systems won't
31 > >>>> work with Wayland, but I haven't spent time to find out why all I get
32 > >>>> with them is a black screen.
33 > >>>>
34 > >>>> Anyway, from a VT you'd run something like:
35 > >>>>
36 > >>>> XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland
37 > >>>>
38 > >>>> or
39 > >>>>
40 > >>>> XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
41 > >>>
42 > >>> There is a wayland greeter which uses greetd and gtkgreet which may
43 > >>> be worth looking at and there is a gentoo wiki which goes a long with
44 > >>> it. It works with wayfire which is a nice wayland window manager and is
45 > >>> very reliable.
46 > >>>
47 > >>> Also look at https://wiki.gentoo.org/wiki/Wayland_Desktop_Landscape
48 > >>
49 > >> Thanks, but I'm none the wiser ... the thing is, for X the instructions
50 > >> are simple - "install xorg, run startx".
51 > >>
52 > >> Okay, I've done that and got errors I need to solve, but with Wayland I
53 > >> just don't have a clue. I don't know what I need, I don't know how to
54 > >> start it, all I've got is a pile of bits in a box, and I don't know what
55 > >> to do with them.
56 > >>
57 > >> Everything I find is like a meccano set - there's loads of bits and
58 > >> pieces, but no instructions, and I don't have a clue how they fit
59 > >> together. Where's the recipe that says "do this this and this and you
60 > >> should have a gui"?
61 > >>
62 > >> Cheers,
63 > >> Wol
64 > >>
65 > > From what I recall as long as you set USE="wayland" globally and
66 > > re-emerge
67 > >
68 > > world with '--changed-use' you should able to launch your dekstop in
69 > > wayland, rather than Xserver.
70 > >
71 > > https://wiki.gentoo.org/wiki/Wayland
72 > >
73 > > There is a caveat, to make things simple: your desktop environment should
74 > > have full support for wayland compositing - e.g. Plasma and Gnome come
75 > > ready baked with their own compositor and will run in Wayland. Window
76 > > managers which do not possess a compositor will require one installed
77 > > separately, as noted in jdm's post, but then we're getting into a box
78 > > with a pile of bits in it.
79 > >
80 > > To launch wayland you can either install a Display Manager and select to
81 > > start wayland from its GUI options, instead of X11, or you can run the
82 > > stanzas I provided above.
83 >
84 > Bear in mind my profile is desktop/plasma/systemd ...
85 >
86 > This is very informative, but it blows up on me ... I've checked that
87 > wayland is in my use flags so that should all be okay ...
88 >
89 > # XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland
90 > ... startplasma-wayland not found ...
91 >
92 > # emerge qtgreet
93 > emerge: there are no ebuilds to satisfy "qtgreet".
94 >
95 > So you've massively helped in that I now know much better how things fit
96 > together, but unfortunately you've also been no help at all in that the
97 > stuff you've pointed at doesn't work ...
98 >
99 > Where do I go from here ...
100 >
101 > Cheers,
102 > Wol
103
104 I don't think systemd is different (although I don't use it with Gentoo),
105 unless you want to launch a Display Manager like e.g. sddm.
106
107 Given your error, you appear to not have installed the requisite packages for
108 the Plasma/KDE. It should have been installed as a dependency of plasma-
109 workspace:
110
111 $ qfile startplasma-wayland
112 kde-plasma/plasma-workspace: /usr/bin/startplasma-wayland
113
114 If you have Gnome already installed then you can use the stanza for gnome-
115 session instead.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] New install - Wayland and graphical login Wols Lists <antlists@××××××××××××.uk>