[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wierd xfs problem.



Hi

On Tue, 13 Feb 2001, Oded Arbel wrote:

> > > I've just fed up with my computer at work - it's Mandrake 7.2 updated
> > > to XFree86 4.0.2, and whenever I kill the X for any reason
> > > (CTRL-ALT-BS), xfs dies. I don't remember it happening with any other
> > > machine, and my box at home, running Mandrake 7.2 updated just with the
> > > stable updates doesn't display this behaviour. have any idea why ?
> >
> > Hmmm... Any error messages?
> Nope. xfs just dies. nothing in the syslog.

Not to the syslog, to stderr. With startx that would be the console from
which you ran startx. As for xdm: I don't remember. Have a look.

> 
> > Do you run X from the consol?
> No - from xdm.
> 
> > Does it reoccour if you rn a second X server ('startx -- :1')?
> Don't know, I'll check.
> 
> > Keep in mind not to switch to the other X server after xfs dies, as X may
> > easily hang your system when asking for a new font. Although I have a
> > feeling you are by now all too familiar with that.
> yea...  still remember the bouncing X problem with XFree86 3.3 and a badly
> configured Xfs when booting to runlevel 5 and the OS doesn't do a
> 'respawning to fast' delay - happened to me a lot on RH6xs and SuSE6xs :-)

Consider the following modification to your init scripts:

rem out a certain line in /etc/inittab and instead write another init.d
script, with the chkconfig parameters '5 99 1' (or something similar) to
start xdm.
The thing is that xdm won't be respawned by init , and therefore you don't
get your console locked if X fails for some reason. 

Note: I haven't tried it myself. Perhaps there are some gotchas in that
init.d script, and perhaps it doesn't work at all. And I'm not exactly
sure how to write the [stop] section there (or maybe simply skip it?).

(the idea is borrowed from debian)

> 
> > Another small thing to check: 'xinit /usr/X11R6/bin/xterm -- :1' will skip
> > most of the X startup scripts. Does it make any difference?
> I'll check that.

-- 
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il