On Tuesday, 29 June 2021 08:49:49 BST Wols Lists wrote:
> On 28/06/21 20:23, antlists wrote:
> > On 26/06/2021 13:00, Michael wrote:
> >> On Saturday, 26 June 2021 11:50:01 BST antlists wrote:
> >>> I just want a working systemd/wayland desktop system. So basically, a
> >>> full-weight normal desktop.
> >> 
> >> [snip ...]
> >> 
> >>> I've got this one selected, /desktop/plasma/systemd
> >> 
> >> Select default/linux/amd64/17.1/desktop/plasma/systemd (stable).
> >> 
> >> Then update @world.  You should be good to go as long as video drivers
> >> and
> >> firmware are in place, but if X11 is not working this could be an area
> >> meriting further investigation.
> > 
> > Okay, ...
> > 
> > One new kernel later (along with some grub debugging :-), world updated,
> > ...
> > 
> > X11 still isn't working - first it complained it couldn't find twm, so I
> > emerged that, now startx just runs and exits, and the log doesn't seem
> > to show anything wrong ...

X11 will ask for twm if there is no other Window Manager available, or a 
Display Environment not configured.

Have you sorted out your ~/.xinitrc, or have you added your startup command in 
/etc/env.d/90xsession?  

There used to be a time when you could drop in your startup command in /etc/
X11/Sessions/, but I think this is no longer used.

You should spend sometime reading:

https://wiki.gentoo.org/wiki/Xorg/Guide


> > Wayland is interesting ... if I try to startplasma-wayland, it comes up
> > with the starting plasma stuff, and there's a mouse cursor, but nothing
> > except a black screen and the cursor. When I kill it from a root tty,
> > there's an error
> > 
> > Failed to create wl_display (No such file or directory)
> > 
> > which a google tells me I haven't got a compositor ...

In Plasma this would be kwin, which acts as a window manager and a compositor.  
If you had installed Plasma in accordance with the URL I shared in previous 
emails you shouldn't have this problem, because from what I recall kwin is 
being drawn in as a dependency of Plasma.


> > I also get further errors, but they're probably a consequence -
> > 
> > Could not load the Qt platform plugin "Wayland" in "" even though it was
> > found
> > 
> > and the same error for xcb.
> 
> So simple. I was missing "emerge plasma-meta".

Heh!  Yes, you can't expect a DE to work if major packages are missing.  ;-)


> This is where it would be nice to have something like the handbook, or a
> chapter in the handbook, on bringing up a working graphical environment.

It is not in the Handbook, which has the purpose of installing the Gentoo OS 
itself, but it is in the Gentoo Documentation - look at the dropdown menu 
'Documentation' of the Handbook web pages:

https://wiki.gentoo.org/wiki/Category:Desktop

In your case, as I posted previously, you need:

https://wiki.gentoo.org/wiki/KDE

But, from the errors you've been getting with startx it seems you haven't read 
relevant Xorg documentation either.


> Now to get something like sddm working :-)

For SDDM you better read this first:

https://wiki.gentoo.org/wiki/SDDM


> (Plus updating my SUSE version to 15.3, re-organising my hardware, blah
> blah blah :-)
> 
> Cheers,
> Wol

Glad you got your desktop going!  :-)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to