Re: [gentoo-user] SOLVED (hopefully) New install - Wayland and graphical login

2021-08-04 Thread Michael
On Wednesday, 4 August 2021 21:24:31 BST antlists wrote:
> On 21/06/2021 16:17, Michael wrote:
> > 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.
> 
> I've had that on a couple of occasions, now, and I just thought I'd post
> this in case anybody else hits it and wants to find the solution.
> 
> The first half of the fix is to ssh into the machine from somewhere else
> (or if you're lucky and --Fn is working, switch to a
> different tty) and kill kwin or whatever. Basically kill whatever it
> takes to get back to a tty. (This assumes you're not running a
> greeter/graphical login.)
> 
> Then you should see a bunch of error messages etc. I'm not aware of any
> way to get them logged, which would make life easier.
> 
> And they should tell you what's wrong, like in my case two different
> problems on two different occasions - once I was missing the compositor,
> once my video drivers weren't loaded.
> 
> Cheers,
> Wol

I've noticed login out of Wayland ends up with a number of KDE apps crashing, 
rather than exiting gracefully.  I think kwin is one of them, as well as 
KDEPIM related apps, perhaps others too.

Wayland is much more stable today than a year ago, but I think as far as 
Plasma is concerned it's not yet ready for production time.

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


Re: [gentoo-user] SOLVED (hopefully) New install - Wayland and graphical login

2021-08-04 Thread antlists

On 21/06/2021 16:17, Michael wrote:

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.


I've had that on a couple of occasions, now, and I just thought I'd post 
this in case anybody else hits it and wants to find the solution.


The first half of the fix is to ssh into the machine from somewhere else 
(or if you're lucky and --Fn is working, switch to a 
different tty) and kill kwin or whatever. Basically kill whatever it 
takes to get back to a tty. (This assumes you're not running a 
greeter/graphical login.)


Then you should see a bunch of error messages etc. I'm not aware of any 
way to get them logged, which would make life easier.


And they should tell you what's wrong, like in my case two different 
problems on two different occasions - once I was missing the compositor, 
once my video drivers weren't loaded.


Cheers,
Wol



Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-08-04 Thread Walter Dnes
On Wed, Aug 04, 2021 at 07:57:06AM -0400, Philip Webb wrote
> 
> Why not write the output to a file ?  -- eg
> 'emerge --ask --depclean > '.
> Then you can look at the output at leisure, even on another machine.

  I use...

emerge -pv --color=y --changed-use --deep --update @world > file.txt

  When I run "less file.txt", the output shows the colours indicating
updates or new or whatever.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-08-04 Thread nunojsilva
On 2021-08-04, Philip Webb wrote:

> 210804 Dr Rainer Woitok wrote:
>> On Tue, 03 Aug 2021 07:45:27 -0400, Alec Ten Harmsel wrote:
>>> $ emerge --ask --depclean | less
>> I tested this using "most" from within a "urxvt" terminal
>> and at least with default options it did not work for me.
>
> Why not write the output to a file ?  -- eg
> 'emerge --ask --depclean > '.
> Then you can look at the output at leisure, even on another machine.

Other possibilities probably include using --pretend instead of --ask
(was this mentioned already? if so, my apologies) or using the "tee"
utility.

-- 
Nuno Silva




Re: [gentoo-user] emerge --sync keeps failing

2021-08-04 Thread Michael Orlitzky
On Mon, 2021-08-02 at 13:10 +0200, n952162 wrote:
> > 
> 
> I have this problem every month.  Why does it fail?  Is it just a
> timeout because my network is slow?  Can that be tweaked?
> 

I'm not really sure. I've seen it fail in the past due to bad memory or
a dying hard drive, but it also "just happens." It might be the
upstream mirror? I'd have to investigate precisely what is failing..
and that would take longer than re-syncing a few times every couple of
months.





Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-08-04 Thread Philip Webb
210804 Dr Rainer Woitok wrote:
> On Tue, 03 Aug 2021 07:45:27 -0400, Alec Ten Harmsel wrote:
>> $ emerge --ask --depclean | less
> I tested this using "most" from within a "urxvt" terminal
> and at least with default options it did not work for me.

Why not write the output to a file ?  -- eg
'emerge --ask --depclean > '.
Then you can look at the output at leisure, even on another machine.

HTH

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-08-04 Thread Dr Rainer Woitok
Alec, Neil,

On Tuesday, 2021-08-03 13:44:29 +0100, Neil Bothwick wrote:

> On Tue, 03 Aug 2021 07:45:27 -0400, Alec Ten Harmsel wrote:
> 
> > >$ emerge --ask --depclean | less
> > > ...
> > Depending what desktop environment/terminal emulator, there are a few
> > options. You could use a terminal like gnome-terminal, konsole, etc.
> > which have scroll so you can run `emerge -ca' and scroll to view the
> > results. I run urxvt in i3 (not sure whether it scrolls or not), and I
> > always run emerge inside of a tmux and use tmux's scroll to view all
> > the output before making a decision, so you could also use tmux or
> > screen.

I also use  "urxvt"  with a scrollbar  and a buffer size  of 3000 lines.
But neither is this guaranteed to be enough, nor does it help when work-
ing directly from a console  (except perhaps when your kernel has Alan's
scrolling patch applied).

> 
> Or you could use a different pager, most does not exhibit this behaviour.
> There is probably a less setting to change this too.

Well, I tested this using "most"  from within a "urxvt" terminal, and at
least with default options  it did not work for me.   No output was dis-
played at all and even "^C" did not work.   I had to explicitly kill the
"emerge" process  from another  terminal window,  and only then received
the output from "most". :-(

I also tried good ol' "more" and "pg", but even though they both accept-
ed "^C" they somehow interfered with the question "emerge" should final-
ly be asking.  I did not yet test all these pagers directly from a cons-
ole, because I'd prefer a universal solution for this problem.  And come
to think of it, I'd prefer a solution with "more" or "pg" because where-
as "less" and "most"  each are provided  by packages  of their own,  the
former two are both provided by package  "sys-apps/util-linux"  which is
even installed on my live USB stick, if I remember correctly.

Sincerely,
  Rainer