From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] New install - Wayland and graphical login
Date: Sat, 26 Jun 2021 00:51:49 +0100 [thread overview]
Message-ID: <2418747.4XsnlVU6TS@lenovo.localdomain> (raw)
In-Reply-To: <3b642a75-8b01-a8c6-8ad4-ff61af6a9287@youngman.org.uk>
[-- Attachment #1: Type: text/plain, Size: 4611 bytes --]
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 <confabulate@kintzios.com> 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.
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:
$ 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.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-06-25 23:52 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-21 16:27 [gentoo-user] New install - Wayland and graphical login Wols Lists
2021-06-21 15:17 ` Michael
2021-06-23 9:11 ` jdm
2021-06-25 7:50 ` antlists
2021-06-25 8:46 ` Michael
2021-06-25 19:15 ` antlists
2021-06-25 23:51 ` Michael [this message]
2021-06-26 7:19 ` Wols Lists
2021-06-26 9:28 ` Michael
2021-06-26 10:50 ` antlists
2021-06-26 12:00 ` Michael
2021-06-28 19:23 ` antlists
2021-06-29 7:49 ` [gentoo-user] [FIXED] " Wols Lists
2021-06-29 9:44 ` Michael
2021-06-29 10:32 ` antlists
2021-06-29 11:14 ` Michael
2021-06-27 9:05 ` [gentoo-user] " Wols Lists
2021-06-27 10:36 ` Michael
2021-06-27 11:52 ` antlists
2021-06-27 12:24 ` Michael
2021-06-27 15:14 ` Jack
2021-06-27 15:44 ` antlists
2021-08-04 20:24 ` [gentoo-user] SOLVED (hopefully) " antlists
2021-08-04 22:28 ` Michael
2021-07-03 11:00 ` [gentoo-user] " Tamer Higazi
2021-07-03 19:25 ` antlists
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2418747.4XsnlVU6TS@lenovo.localdomain \
--to=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox