[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wierd xfs problem.
Hi
May I suggest another thing, that I personally use at home for some years,
and works quite well (although not perfect):
In /etc/X11/xdm/Xservers, I commented out the X line, that is, xdm doesn't
start X servers.
I put something like this in /etc/[rc.d/]init.d/xservers:
====================== cut here ==========================
#!/bin/sh
LOG=/var/log/xservers.log
case "$1" in
start)
echo -n "Starting X servers: "
echo Starting X servers `date` >> $LOG
/usr/X11R6/bin/X -deferglyphs 16 dpms -indirect pinky 2>> $LOG&
echo $! >> /var/run/xservers.pid
echo "done."
exit 0
;;
stop)
echo -n "Stopping X Servers:"
kill `cat /var/run/xservers.pid`
rm -f /var/run/xservers.pid
echo "done."
exit 0
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage: /etc/init.d/xservers {start|stop|restart}"
exit 1
esac
exit 0
====================== cut here ==========================
I actually run several Xes, e.g. one with 8bpp and one with 24bpp.
You probably want to do '-query' and not '-indirect'.
This way, there is no relation between X and xdm. I have nice logs of the
X server, and if it can't start for some reason, it simply doesn't, and
I log in in text and check the logs.
didi
On Thu, Feb 15, 2001 at 02:28:54PM +0200, Oded Arbel wrote:
> > 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.
> Don't think there is, since there's no console. everything interesting
> should go to the log.
>
> > > > Does it reoccour if you rn a second X server ('startx -- :1')?
> > > Don't know, I'll check.
> No it doesn't.
> Actually - I couldn't get it to crash again. maybe it is related to what
> Hetz said about changing fonts in KDE, but why does X stays on if changing
> fixed fonts kills xfs ? I'll see what I can crash when I'll have the time to
> play with it.
>
> > > 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:
> Not happening anymore . they fixed init not to respawn bouncing stuff.
>
> Oded
>
> --
> A computer scientist is someone who fixes things that aren't broken.
>
>
>
> =================================================================
> 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
=================================================================
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