[gentoo-user] Re: Multi-user login manager

2021-07-13 Thread Grant Edwards
On 2021-07-13, antlists  wrote:
> On 13/07/2021 15:07, Grant Edwards wrote:
>> On 2021-07-12, Grant Taylor  wrote:
>>> On 7/12/21 2:21 PM, antlists wrote:
 Two problems - I would like to run without X, but it seems that the
 greeters need X to run ...
>> 
>> Yes, they do. Why do you need a "greeter"?
>
> Well, most modern linux systems boot to a gui login screen,

None of mine do, but that's a matter of choice.

> which, aiui, is called a greeter ...

I've never heard that term. I've always heard them called display
managers.

But, I seem to have gotten this thread mixed up with another where
somebody didn't want GUIs at all. I thought when you said "without X"
you meant you didn't want a GUI at all and wanted two linux consoles.

What you meant was you want a multi-seat, pure Wayland system.

My apologies...




Re: [gentoo-user] Re: Multi-user login manager

2021-07-13 Thread William Kenworthy
Is what you want "multi-seat" rather than "multi-user"?

e.g., http://www.linuxtoys.org/multiseat/multiseat.html

Lots on google.

BillK


On 14/7/21 6:56 am, antlists wrote:
> On 13/07/2021 15:07, Grant Edwards wrote:
>> On 2021-07-12, Grant Taylor  wrote:
>>> On 7/12/21 2:21 PM, antlists wrote:
 Two problems - I would like to run without X, but it seems that the
 greeters need X to run ...
>>
>> Yes, they do. Why do you need a "greeter"?
>
> Well, most modern linux systems boot to a gui login screen, which,
> aiui, is called a greeter ...
>>
>>> I'm not familiar with the term "greeter", but I assume that you're
>>> referring to the display manager that functions as the GUI login
>>> screen.
>>>
> Yup.
>>>
>>> Configuration may be ornery, but I would assume ~> expect that this is
>>> possible to do.  After all, you're really talking about having the
>>> system function as two independent X11 servers,
>>
>> The OP explicitly stated he wants to run without X. AFAICT he wants
>> two separte Linux consoles. I don't think that's possible.
>>
> Thing is, X is obsolete, so if I can have my system work without X
> installed, that would be nice. If I have to install it, tough that's
> the way it is. It just seems weird that you should still need X
> installed to login if you want your system to be pure Wayland.
>
> But to describe my desire as "having two X servers running" is good
> enough. I'd just rather it was two Wayland instances running.
>
> My previous setup was two PCs networked. But it took up too much
> space, and because so much data was shared between me and my wife the
> second PC effectively didn't use its hard disk for anything beyond the
> OS (plus it was an old chip, an old PC basically). Hence my desire for
> the curent setup to be a powerful, SINGLE PC, but from the user's POV
> it looks like there are two PCs.
>
> Cheers,
> Wol
>



Re: [gentoo-user] Re: Multi-user login manager

2021-07-13 Thread antlists

On 13/07/2021 15:07, Grant Edwards wrote:

On 2021-07-12, Grant Taylor  wrote:

On 7/12/21 2:21 PM, antlists wrote:

Two problems - I would like to run without X, but it seems that the
greeters need X to run ...


Yes, they do. Why do you need a "greeter"?


Well, most modern linux systems boot to a gui login screen, which, aiui, 
is called a greeter ...



I'm not familiar with the term "greeter", but I assume that you're
referring to the display manager that functions as the GUI login screen.


Yup.


Configuration may be ornery, but I would assume ~> expect that this is
possible to do.  After all, you're really talking about having the
system function as two independent X11 servers,


The OP explicitly stated he wants to run without X. AFAICT he wants
two separte Linux consoles. I don't think that's possible.

Thing is, X is obsolete, so if I can have my system work without X 
installed, that would be nice. If I have to install it, tough that's the 
way it is. It just seems weird that you should still need X installed to 
login if you want your system to be pure Wayland.


But to describe my desire as "having two X servers running" is good 
enough. I'd just rather it was two Wayland instances running.


My previous setup was two PCs networked. But it took up too much space, 
and because so much data was shared between me and my wife the second PC 
effectively didn't use its hard disk for anything beyond the OS (plus it 
was an old chip, an old PC basically). Hence my desire for the curent 
setup to be a powerful, SINGLE PC, but from the user's POV it looks like 
there are two PCs.


Cheers,
Wol



Re: [gentoo-user] glibc-2.33-r1 crashes out at the start before building.

2021-07-13 Thread Alan Mackenzie
Hello, Sergei and Gentoo.

On Thu, Jul 08, 2021 at 09:00:59 +0100, Sergei Trofimovich wrote:
> On Wed, 7 Jul 2021 18:16:44 +
> Alan Mackenzie  wrote:

> > Hello, Gentoo.

> > Would somebody help me here, please.

> > When I try to emerge glibc-2.33-r1, the very first phase of the build
> > crashes out with:

> >  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native   -Wl,-O1 -Wl,--as-needed  
> > glibc-test.c   -o glibc-test
> >  * Checking that IA32 emulation is enabled in the running kernel ...
> > /usr/portage/sys-libs/glibc/glibc-2.33-r1.ebuild: line 608:   199 
> > Segmentation fault  "${T}/check-ia32-emulation.elf32"
> > [ !! ]
> >  * ERROR: sys-libs/glibc-2.33-r1::gentoo failed (pretend phase):
> >  *   CONFIG_IA32_EMULATION must be enabled in the kernel to compile a 
> > multilib glibc.
> >  *
> >  * Call stack:
> >  *  ebuild.sh, line 127:  Called pkg_pretend
> >  *   glibc-2.33-r1.ebuild, line 721:  Called sanity_prechecks
> >  *   glibc-2.33-r1.ebuild, line 670:  Called die
> >  * The specific snippet of code:
> >  *  [[ $STAT -eq 0 ]] || die "CONFIG_IA32_EMULATION 
> > must be enabled in the kernel to compile a multilib glibc."
> >  *
> >  * If you need support, post the output of `emerge --info 
> > '=sys-libs/glibc-2.33-r1::gentoo'`,
> >  * the complete build log and the output of `emerge -pqv 
> > '=sys-libs/glibc-2.33-r1::gentoo'`.
> >  * The complete build log is located at 
> > '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log'.
> >  * The ebuild environment file is located at 
> > '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/die.env'.
> >  * Working directory: '/var/tmp/portage/sys-libs/glibc-2.33-r1/empty'
> >  * S: '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33'

> > >>> Failed to emerge sys-libs/glibc-2.33-r1, Log file:  

> > >>>  '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log'  

> > What is clearly happening is that the C Compiler is crashing out with a
> > segfault.  I actually have CONFIG_IA32_EMULATION in my kernel config.

> > I've tried this with both GCC-10.3.0 and GCC-9.3.0 with the same results
> > on both.

> > What is going wrong? (Horrible thought - maybe my RAM is failing.)

> If it happens consistently it's more likely a software problem and
> not a hardware problem.

> Try getting a backtrace and instructing dump out of SIGSEGVing glibc-test.

> The typical session would look like:
> $ gdb ./glibc-test
> (gdb) run
> (gdb) bt
> (gdb) disassemble

In the end, I submitted bug #802036 to the Gentoo bugzilla.  Ben Kohler
noticed straight away I was still using a very old binutils (hence the
benefit of supplying complete documentation with a bug), and remarked
that problems had been seen with glibc and old binutils.  Sergei then
helped with practical suggestions.

I didn't even know you had manually to configure binutils versions, but I
did this, and glibc continued to crash out.  Then I tried editing the
ebuild file, removing the check that was causing the crash.  This gave me
ebuild validation errors.  So, after looking up the man page, I gave the
argument --digest to emerge, and it built.  Phew!

So, after catching up on my emerging, I've just got one package which
isn't building, libdrm, but that can wait till another day.

> -- 

>   Sergei

-- 
Alan Mackenzie (Nuremberg, Germany).



[gentoo-user] Re: Inquiry about gentoo kernel configuration

2021-07-13 Thread Grant Edwards
On 2021-07-13, Nikos Chantziaras  wrote:

>>> You can use the one shipped in the sys-kernel/gentoo-kernel-bin package.
>> 
>> Thanks. There is only a file - *.ebuild file in this package. From the
>> package, I did not find out what .config file it uses. It seems this
>> script uses the config file of current system.
>
> It ships its own .config. The easiest way here is to simply install 
> gentoo-kernel-bin. After you get a system running that kernel, build 
> your own, basing your new config on the existing one.

But remember: real Gentooers don't use modules or initrds.

;)

-- 
Grant Edwards   grant.b.edwardsYow! Oh my GOD -- the
  at   SUN just fell into YANKEE
  gmail.comSTADIUM!!




[gentoo-user] Re: Inquiry about gentoo kernel configuration

2021-07-13 Thread Nikos Chantziaras

On 11/07/2021 16:17, Dongliang Mu wrote:

On Sun, Jul 11, 2021 at 1:54 AM Nikos Chantziaras  wrote:

On 10/07/2021 12:15, Dongliang Mu wrote:

I am a newbie to Gentoo. For Debian, I can get configuration files
from Debian packages. I wonder if possible to get the kernel
configuration files of Gentoo.


You can use the one shipped in the sys-kernel/gentoo-kernel-bin package.


Thanks. There is only a file - *.ebuild file in this package. From the
package, I did not find out what .config file it uses. It seems this
script uses the config file of current system.


It ships its own .config. The easiest way here is to simply install 
gentoo-kernel-bin. After you get a system running that kernel, build 
your own, basing your new config on the existing one.





[gentoo-user] Re: Multi-user login manager

2021-07-13 Thread Grant Edwards
On 2021-07-12, Grant Taylor  wrote:
> On 7/12/21 2:21 PM, antlists wrote:
>> Two problems - I would like to run without X, but it seems that the 
>> greeters need X to run ...

Yes, they do. Why do you need a "greeter"?

> I'm not familiar with the term "greeter", but I assume that you're 
> referring to the display manager that functions as the GUI login screen.
>
>> Also I want to run a multi-user system. I know you can put multiple 
>> monitors on one graphics card, and that gives you a multi-head system, 
>> but I've got TWO graphics cards. I want to plug in two keyboards, two 
>> mice, and have two users sitting there.

I don't think that's possible if what you want is two instances of a
Linux console.

> I would naively assume ~> expect that this is possible.
>
> I would expect that you would probably need two different graphics cards.
>
> I'm guessing no more than one set of PS/2 keyboard & mouse and that the 
> other (if not both) will be USB.
>
> Configuration may be ornery, but I would assume ~> expect that this is 
> possible to do.  After all, you're really talking about having the 
> system function as two independent X11 servers,

The OP explicitly stated he wants to run without X. AFAICT he wants
two separte Linux consoles. I don't think that's possible.

-- 
Grant Edwards   grant.b.edwardsYow! We are now enjoying
  at   total mutual interaction in
  gmail.coman imaginary hot tub ...