I've finally given up on trying to find out why rootless Xorg is not
working for me on either intel or radeon.  I spent some time looking
at the kernel options listed in the LFS systemd book (and getting
very grumpy - I do not believe the orca unwinder is a problem for
systemd, although it might be for i686 builds, and while I can see
see the sense of needing the automounter in _some_ situations (like
the help for it says), it seemed pretty unlikely and indeed made no
difference.

[ NB the book's automounter option still exists, transitionally, to
enable the new improved option CONFIG_AUTOMOUNTER_FS but it will
probably disappear at some point and could be replaced. ]

Of ocurse, none of this made the slightest bit of difference - on
the intel I started X but had no mouse nor keyboard, on the radeon
startx continued to fail.

So, in keeping with the spirit of the book I'm now using the
wrapper.  I don't think we document how to use this ? (no book in
front of me at the moment, will be building a bit more now that X is
minimally working, so apologies if it is already covered.

According to man 5 Xwrapper.config this is only supposed to be
needed if kms graphics are not detected (or, a mix of cards in one
machine, some of kms).

So, I've now created this with (only)

needs_root_rights = yes

The downside of this is that it is the same as the old setuid Xorg,
i.e. it doesn't drop root rights and it logs in /var/log/ instead of
~/.local/share.

Note that this is suppsoedly related to kms, i.e. video, which was
already working on the intel - it's only the input which I need it
for there.

On the radeon - RS780L [Radeon 3000] the kernel config items which
might be relevant are:

CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
# CONFIG_DRM_DP_CEC is not set
CONFIG_DRM_TTM=y

and

CONFIG_DRM_RADEON=y

Giving up, but for the moment I'm not ripping out elogind from my
builds.

ĸen
-- 
Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
           Captain Carrot Ironfoundersson (in The Fifth Elephant)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to