On 08/20/2014 08:39 AM, Hazel Russman wrote:
Once again "sudo startx" works.
If you want to take it further, I'm quite willing to do the legwork but
my instinct is to drop it and wait for the next stable LFS version.
I have forgotten the particulars of your previous posts and know nothing
of systyemd. However, this last you wrote reminded me of a situation in
which I found myself last year.
ISTR that you had earlier written that you changed ownership of the xorg
server to root. Given that, I ran into a similar situation in which I
had all the files necessary to slip into a graphics environment, but
couldn't based on various and sundry permission errors. In recovering I
used <chown root:root /usr/bin/Xorg> and things still didn't work.
I was reminded that using chown resets all the bits and that the xorg
server not only needs to be owned by root, but also SUID root. Since
sudo works for you--and I think that means you are invoking root
privileges as a user--it's possible that something like this exists in
your setup. Here is my result of <ls -alQ /usr/bin | grep Xorg>:
-rwsr-sr-x 1 root root 12630128 Nov 29 2013 "Xorg"
I had forgotten until I saw this just now that it is also SGID.
Most of the time when I encounter difficulty the cause and fix are
frustratingly simple. A forrest and tree thing. Hope this helps.
Dan
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page