[gentoo-user] Re: Permissions error on starting X.

2018-11-03 Thread Nikos Chantziaras

On 03/11/2018 16:01, Alan Mackenzie wrote:

The developers, in this instance, failed to raise the ebuild's version
number from 1.20.3 when making this change, and also didn't notify users
by a NEWS item, that I can see.


Emerge will catch this, no need for revbump. Unless you're not using -D 
(--deep) when updating world. Which you should.





Re: [gentoo-user] Permissions error on starting X.

2018-11-03 Thread Neil Bothwick
On Sat, 3 Nov 2018 14:01:51 +, Alan Mackenzie wrote:

> So - if you get a permissions error whilst trying to start X, setting
> the suid USE flag may well be the solution.

Alternatively, create /etc/X11/X11/Xwrapper.config containing:

allowed_users = anybody
needs_root_rights = yes


-- 
Neil Bothwick

If the bank returns your cheque marked "Insufficient Funds," call them
 and ask if they mean you or them. :-)


pgpkhChTVybXh.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] What's with KDE?

2018-11-03 Thread Dale
Peter Humphrey wrote:
> On Saturday, 3 November 2018 16:28:58 GMT wabe wrote:
>
>> I would like to try Trinity Desktop (based on KDE3) but unfortunately
>> there is no Gentoo package. I don't know if there is an Gentoo overlay
>> containing Trinity, but I never used overlays and don't have time to
>> fiddle around anyway.
> In that case, from what I've seen I'd say you shouldn't even wonder about 
> trinity. You'd have to go back a long way with all manner of programs, and 
> even then perhaps not get everything you want.
>
> /2p
>


I installed KDE3 for a friend with a very low powered computer several
years ago.  At the time, it was in the sunset overlay.  Even then it was
a headache and took some effort to install.  Some newer programs outside
of KDE wanted newer versions of libs and KDE3 wanted older ones.  I had
to install older versions of several programs just to make KDE3 happy. 
Given the changes that have been made over the years since, I doubt it
is doable.  I seem to recall that KDE3 wasn't well maintained back then
and figure it may even be worse now if it is maintained at all with
regards to Gentoo. 

If had to do a install today for a low powered system, I'd find
something besides KDE3 even tho I still miss some things about it too. 
There's plenty of more maintained desktops out there to look at. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: no file system found for kernel 4.14.78

2018-11-03 Thread Bill Kenworthy
On 04/11/18 00:46, Nikos Chantziaras wrote:
> On 03/11/2018 15:32, Bill Kenworthy wrote:
>> Kernel 4.14.78 has been released and I have a fail upgrading one system
>> - fails to mount root vfs but oops instead of dropping to a recovery
>> shell:
>>
>> Same boot stanza as 4.14.65, one unrelated (RCU) difference between
>> .configs
>
> Try manually specifying the root fs and the fs type in the kernel
> arguments. Here, I use:
>
>   root=PARTUUID=the-partition-uuid-of-the-root-fs ro rootfstype=ext4
>
> You can see the UUIDs of your partitions with:
>
>   ls -l /dev/disk/by-partuuid
>
> I always had to do that here, otherwise I just get the same boot error
> as you.
>
>
Thanks, found that the initrd is missing - cant include modules failure
from genkernel I missed.  Tracking down why now.


Thanks,

BillK





Re: [gentoo-user] What's with KDE?

2018-11-03 Thread Peter Humphrey
On Saturday, 3 November 2018 16:28:58 GMT wabe wrote:

> I would like to try Trinity Desktop (based on KDE3) but unfortunately
> there is no Gentoo package. I don't know if there is an Gentoo overlay
> containing Trinity, but I never used overlays and don't have time to
> fiddle around anyway.

In that case, from what I've seen I'd say you shouldn't even wonder about 
trinity. You'd have to go back a long way with all manner of programs, and 
even then perhaps not get everything you want.

/2p

-- 
Regards,
Peter.






[gentoo-user] Re: no file system found for kernel 4.14.78

2018-11-03 Thread Nikos Chantziaras

On 03/11/2018 15:32, Bill Kenworthy wrote:

Kernel 4.14.78 has been released and I have a fail upgrading one system
- fails to mount root vfs but oops instead of dropping to a recovery shell:

Same boot stanza as 4.14.65, one unrelated (RCU) difference between .configs


Try manually specifying the root fs and the fs type in the kernel 
arguments. Here, I use:


  root=PARTUUID=the-partition-uuid-of-the-root-fs ro rootfstype=ext4

You can see the UUIDs of your partitions with:

  ls -l /dev/disk/by-partuuid

I always had to do that here, otherwise I just get the same boot error 
as you.





Re: [gentoo-user] What's with KDE?

2018-11-03 Thread wabe
Alan Grimes  wrote:

> I have not seen KDE add a single feature or even fix a single bug
> (while letting new bugs pile up) in FIVE YEARS. They version bump
> their entire suite for no reason every five minutes but nothing gets
> even slightly better. KDE has'nt been worth anything since the QT4
> cataclysm, 3.59 was pretty darn good. =\ Kdevelop3 only needed to be
> restarted once a week... You could binge program with it for an
> ENTIRE WEEK without restarting it... It had some wonderful class
> inheratance heirarchy graphing tools so that you could learn
> codebases nice and quick and go in and refactor them.

After KDE3 wasn't supported any longer and KDE4 was unusable in my 
opinion, I tested IceWM, Windowmaker and Sawfish/Sawmill. Finally I 
switched to XFCE which I still use.

I would like to try Trinity Desktop (based on KDE3) but unfortunately 
there is no Gentoo package. I don't know if there is an Gentoo overlay 
containing Trinity, but I never used overlays and don't have time to 
fiddle around anyway.

https://www.trinitydesktop.org

--
Regards
wabe



Re: [gentoo-user] Permissions error on starting X.

2018-11-03 Thread Rich Freeman
On Sat, Nov 3, 2018 at 10:01 AM Alan Mackenzie  wrote:
>
>
> If you start your X server from the command line with, e.g. startx, you
> now need to set the new(?) suid USE flag for the xorg-server package.
>

Sometimes. I thought this was only required if you're not using KMS.
Is this not the case?

The argument for defaulting it is that you had to both be using a
non-KMS driver, and you had to be running from the command line.  That
is a somewhat uncommon situation.

> The developers, in this instance, failed to raise the ebuild's version
> number from 1.20.3 when making this change, and also didn't notify users
> by a NEWS item, that I can see.

A news item would probably have been a good idea (it almost always
is).  I'm not sure why the ebuild wasn't revisioned.  As far as I can
tell this change does change what gets installed on-disk, and as a
result it is almost always appropriate to revision the ebuild (in this
case to -r1).  The only sorts of changes that generally don't justify
revisioning would be fixes to build systems that don't actually impact
what gets installed (assuming the old version built at all), and which
don't change any dependencies.  In that case there isn't really a
benefit to users to do a rebuild, since the new build will be
identical to the old.

> So - if you get a permissions error whilst trying to start X, setting
> the suid USE flag may well be the solution.

Yup.

-- 
Rich



Re: [gentoo-user] no file system found for kernel 4.14.78

2018-11-03 Thread Peter Humphrey
On Saturday, 3 November 2018 13:32:43 GMT Bill Kenworthy wrote:
> Kernel 4.14.78 has been released and I have a fail upgrading one system
> - fails to mount root vfs but oops instead of dropping to a recovery shell:
> 
> Same boot stanza as 4.14.65, one unrelated (RCU) difference between .configs
> 
> Has anyone else had this problem upgrading? - its difficult to FF as the
> oops scrolls off the top of the screen and there are no logs.

Have you tried pausing the console output while it's scrolling? s to 
pause, q to resume.

-- 
Regards,
Peter.






[gentoo-user] Permissions error on starting X.

2018-11-03 Thread Alan Mackenzie
Hello, Gentoo.

HEADS UP!!!

If you start your X server from the command line with, e.g. startx, you
now need to set the new(?) suid USE flag for the xorg-server package.

This flag causes the binary to be installed with the setuid file flag,
which causes it to run as root.

The developers, in this instance, failed to raise the ebuild's version
number from 1.20.3 when making this change, and also didn't notify users
by a NEWS item, that I can see.

The matter was fairly intensively discussed in bug #669648 in Gentoo's
bugzilla.

So - if you get a permissions error whilst trying to start X, setting
the suid USE flag may well be the solution.

-- 
Alan Mackenzie (Nuremberg, Germany).



[gentoo-user] no file system found for kernel 4.14.78

2018-11-03 Thread Bill Kenworthy
Kernel 4.14.78 has been released and I have a fail upgrading one system
- fails to mount root vfs but oops instead of dropping to a recovery shell:

Same boot stanza as 4.14.65, one unrelated (RCU) difference between .configs

Has anyone else had this problem upgrading? - its difficult to FF as the
oops scrolls off the top of the screen and there are no logs.


BillK





[gentoo-user] [OT] Searching to an application to 3D print from the commandline?

2018-11-03 Thread tuxic
Hi,

I want to send a gcode-file directly to the 3D-printer without using
media-gfx/printrun (pronsole).

My setup s as follows:

   Y  Y
GENTOO-Linux(wlan)-+  +--(Raspberry Pi Zero 
W/Rasperian)(Print w/ Marlin)

I log into my raspberry pi z w and used printruns pronsole to
print the gcode file I previously scped on the raspi.

I am trying to hunt down a strange bug/problem: In a sudden my previous setup
in which I used pronsole of printrun to upload a file to my printer,
which has no SD-card interface, to print it directly.

I neither updated printrun nor the firmware of the printer.
And it does not work anymore: "SD card not found" (which
is correct, but works fine previously).

To get rid of one variable in the game, I want to sent
the gcode in a correct manner (that is, evaluating the
returns of the printer for each command sent to it) 
directly to the printer without using printrun.

On stackoverflow I found some posting regarding this,
but they send the gcode "blindly" without handling
the returns of the printer.

What application is useful in this case?

Thank you very much in advance for any help!
Cheers!
Meino