On Wednesday 05 June 2002 10:35, Dr Andrew C Aitchison wrote:
> On Wed, 5 Jun 2002, Skip Gaede wrote:
> > What troubleshooting techniques are available for debugging server
> > crashes on startup?
>
> Without a writable partition I guess you are going to have to log in
> remotely, and run under a debugger like gdb (there is a special
> XFree86 module aware version if you are crashing inside a module),
> or perhaps strace.
>
> > I am using XFree 4.2.0 with the fbdev driver. I can start it without
> > error when the filesystem is local, or if I put the same filesystem on a
> > server, mount it RW and chroot to it. If I mount it RO (using tmpfs and
> > symlinks ...) the driver displays about the top half of the screen and
> > then crashes with no error indication other than
> >
> > Fatal server error:
> > Caught signal 11. Server aborting.
>
> The server expects to be able to write into /var/log/ for the log file
> and it opens a named socket, usually in /tmp/.X11-unix/
> It gets unhappy if it can't control the permissions in this directory.
> I'd try to make both these locations writable, but try to avoid symbolic
> links, because it checks for those to stop hackers from hijacking these
> locations.
>
> However, it shouldn't crash, so there must be a bug somewhere.
Thank you.

I started checking the symlinks, and found  /tmp/var/X11R6/xkb/compiled 
pointed to /tmp/compiled. Since /tmp/var/X11R6/xkb/compiled was writable, I 
changed the symlink to a directory and X is now quite happy!

So, again, thank you.

--Skip
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to