People who read -dev will know that in the past few weeks I've had
failures trying to use rootless X on sysvinit : on an intel machine
X started but the keyboard and mouse did not have the necessary
perms for me to use them.  On two machines with ATI (radeon)
graphics I could not startx, it just died.

Since this appeared to work for everyone else, I assumed that
something in my kernel config must be different.  I've now got a new
machine (ryzen 5 3400G, i.e. zen+ and amdgpu) so for this one I
started the new kernel compiles with 'make defconfig'.  Reading the
options, and deciding on the few things I wanted to change, took 45
minutes but after a little trial and error (e.g. 3400G is polaris
firmware, not raven2) it is now mostly ok.

(I accidentally dropped the 12x22 kernel font so changing to my own
12x22 obviously didn't work, but "fixing" /etc/sysconfig/console to
use my 8x16 also doesn't work although running setfont
LatGrkCyr-8x16 as a user in a tty works ok - for the moment that is
just noted as an annoyance - I can read 8x16, but 12x22 would be
nicer in a tty with a 1980x1080 screen, so I'll try to fix that on
my next kernel.)

But I still can't startx : somewhat like my radeons, it reports an
error and tells me to look at the log in ~/.local/share/xorg/ : I've
uploaded that to higgs, it is at
http://www.linuxfromscratch.org/~ken/problems/xorg-log-notsuid

The only '(EE)' items are for failing to load ati (autoconfigured
module 1, I didn't try to install it, amdgpu is autoconfigured
module 0) and similarly fbdev and vesa, and then at the end
(ignoring timestamps, I'm manually copying this):

Unable to retrieve master
(EE)
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE)
(EE)
etc

As a workaround I've done what I did on the other machines, force
Xorg to use the wrapper.  In theory, with elogind this should only
be necessary for non-KMS drivers, but it has the side-effect of
forcing suid -

In /etc/X11/Xwrapper.config (man 5 Xwrapper.config) I have:
needs_root_rights = yes

And yes, I did reboot after completing my build of Xorg so dbus got
started.

Any useful contributions will be welcomed, but meanwhile I'm
building the rest of my normal desktop (not quite sure why, I've got
no means of playing HDMI audio ;-)

ĸen
-- 
thread 'main' panicked at 'giraffe',
/tmp/rustc-1.32.0-src/src/test/run-fail/while-panic.rs:17:13
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to