[blfs-support] The dreaded "Cannot open Xorg.o.log"

akhiezer lfs65 at cruziero.com
Sat Nov 30 10:32:05 PST 2013


> Date: Sat, 30 Nov 2013 11:22:01 -0600
> From: Dan McGhee <beesnees at grm.net>
> To: BLFS Support List <blfs-support at linuxfromscratch.org>
> Subject: [blfs-support] The dreaded "Cannot open Xorg.o.log"


Are you seeing literally the string 'Xorg.o.log' : shouldn't that be 
'Xorg.0.log' - i.e. the digit '0' (zero) and not a lowercase letter 
'o' ('oh').


> For the first time in my LFS life I got this message.  Just so people 
> can roll their eyes, but also to provide info, I use the Package Users 
> system.  This error, I thought, came from faulty permissions, <ls -alQ> 
> gives:
>
> > -rwsr-sr-x  1 10118 10118 12630128 Nov 29 15:27 "Xorg"
>
> Where user and group 10118 are "xorg-server."
>


One would normally see user/group names instead of numerical values: but depends 
on e.g. how your ls command is aliased. Have you got that 'xorg-server' user 
defined OK in /etc/{password,shadow,group,...} ? Iirc the hyphen may be being not 
liked.


> I get a number of other messages when I use <startx>, but this one is 
> the first message and it's the only "Fatal server error" message.  Since 
> I have no log, I don't know where to begin to troubleshoot.  The only 
> other obvious thing is something about which I've never thought before.  
> There is a link "/usr/bin/X -->/usr/bin/Xorg" that is not suid.  The 
> link is executable by all and I've never thought about the need to make 
> a link suid.
>


It's quite normal for such links to have perms 777 - e.g.:
$ ll  /usr/bin/X
lrwxrwxrwx 1 [ ... ] /usr/bin/X -> Xorg*
$
It's - broadly speaking - the perms/&c on the pointed-to object that are what 
essentially controls access; you can experiment yourself with e.g. links to 
a simple script that echoes 'ola' or whatever - mess around with the perms/owners 
of link/script.



rgds,
akh



> Anyway, I just need some suggestions on where to look for the problem.  
> I installed everything in Ch. 24 of BLFS-SVN and non-root.  I've never 
> encountered this situation before and am stumped.  My only goal right 
> now is to get the server up and running even if nothing else works.
>
> Thanks,
> Dan
>
>


--



More information about the blfs-support mailing list