From: Juha Virtanen (jiivee@hut.fi)
Date: 03/29/93


From: jiivee@hut.fi (Juha Virtanen)
Subject: Re: Xfree86 1.2 xdm problems
Date: 29 Mar 1993 19:50:52 GMT


>>>>> On Sun, 28 Mar 1993 22:57:56 GMT, mattm@cs.su.oz.au (Matthew Ewin Maguire) said:
:> I am having a problem with XFree86 1.2 included on the SLS distribution.
:> I have set up the video configuration in the Xconfigs file, and a stable
:> display is obtained whether X is started with xinit or xdm.

<problem description deleted; two of them in one article is too much>

I'm also having similar problems with xdm and reading this
newsgroup I can see that we are not the only ones...

To me first scrambling or dispositioning seems to happen after
third logout. However every VT I try to change to seems to work
ok. So I - as root - killed xdm with 'killall -9 xdm' (killall is
in procmisc package) and started it again. Needless to say that
all VTs' except the one xdm used were dispositioned figures about
the one where xdm were running. After few logins the same
scrambling happened again...

Then I tried every VT I have (I have 7 VTs with gettys and 13 VTs
of total). I noticed that after scrambling xdm's login box was on
VT 9 instead of its original VT 8! And after this point xdm
started X sessions to VT 8, VT 9, VT 8,... I verified this by
looking xdm-errors file. No errors are reported during bootup.

Is there some kind of timing problem with old X session shutting
down and new login box waking up? Do they collide somehow? Should
I add some 'sleep 5' lines to scripts used by xdm?

One helpful thing, which doesn't really solve the problem itself,
would be a little tool to save original video mode during bootup
(run in /etc/rc) and to restore original video mode if necessary.
And yes, I read discussion about changing video modes on the fly
and I realise that this is somehow similar thing to do. So it may
be a hard thing to implement such tool. I'm just thinking without
any knowledge about hardware programming.