[ltp] Re: mystery X lossage

Bill Mair linux-thinkpad@www.bm-soft.com
Mon, 09 Aug 1999 14:22:46 +0200


> I wrote:
> > Looks like you are using runlevel 5 ("If I log in right away, after X
> > comes up"), try booting with runlevel 3 and then starting X. If this
> > works then we may have more to go on.
>
> Jamie Zawinski wrote:
> xdm starts by "/usr/X11R6/bin/xdm &" in /etc/rc.d/rc.local.
> If I comment that out, reboot, log in as root, and launch xdm
> from that shell, it works fine.  (Needless to say, needing to
> log in on the console before X starts is not something I find
> terribly acceptable, so this isn't a fix...)

I was wanting to know if the problems are a basic X problem, or
if they are rooted in the startup procedures. If the "console logon/startx"
works then there seems to be nothing wrong with your X installation as such.

I would suggest comparing the output of a "console logon/startx" with
that of the XDM GUI logon, and see if there are any noticable differences.

I would also recommend that you remove the xdm entry from your
rc.local, and instead modify /etc/inittab.

In /etc/inittab modify the line:
    "id:3:initdefault"
to
    "id:5:initdefault"
which will tell the SysV init to start up using the xdm logon screen instead

of the console logon, i.e. RunLevel 5.

The last line of inittab should be something like:
    "x:5:/usr/X11R6/bin/xdm -nodaemon".

To test if a runlevel 5 initialization will work, try the normal console
logon
as root and then type "telinit 5" which will reinitialize your system to
runlevel 5, you should then have the required xdm logon screen.

> I wrote:
> > I also read in your original posting that you are using 3.3.2, would
> > it be much of a problem for you to upgrade to 3.3.3.x ? It may solve
> > your problems.
>
> Jamie Zawinski wrote:
> What makes you think that changing my kernel will fix this problem?

I was actually refering to your XFree version.

Bill.