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