-   Debian (
-   -   Graphical Login restarts X Server (

davcefai 05-04-2006 03:05 PM

Graphical Login restarts X Server
I don't even know where to start googling for this. As of this morning, one of my PCs, running Debian 3.1 unstable, KDM, KDE 3.5, fully updated, does this:

Boots to the usual login screen. I enter the password and it is as if I have pressed Ctrl-Alt-Backspace. I'm back at the login window.

If I select console login I can log in, run startx and all is OK.

The only errors in the Xorg.0.log file are

Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!

but I have the same errors on this PC, which does not have this problem.

Suggestions appreciated. Thanks

ataraxia 05-04-2006 04:36 PM

What is written at the bottom of /var/log/xdm.log ?

ataraxia 05-04-2006 05:59 PM

This happened to me today, so I was forced to actually solve it :rolleyes:

There is a bug in the xfree86-common package, that renames the /etc/X11/Xsession script to /etc/X11/Xsession.xfree86 when it shouldn't. This causes the problem that we're seeing.

Rename the file back to its proper name and it will fix the problem.

This was reported today as bug #366065.

If you see any other threads about this issue, point them over here, eh?

davcefai 05-05-2006 12:17 AM

That was it! Renaming the script to Xsession worked.

The same thing happened today on my main machine as I (stupidly) upgraded X11-common, which I avoided doing yesterday as it also installes XFree96-common.

Interestingly I now cannot uninstall XFree86-Common. It wants to take all of X and KDE with it!

ataraxia 05-05-2006 08:15 AM

The fix to this bug has been uploaded in version 7.0.17, and should get into the archive later today. Here are the changelog entries:

Originally Posted by Debian BTS
[ Steve Langasek ]
* High-urgency upload for RC bugfix.
* Drop the xfree86-common transitional package again, because the
solution implemented for 354146 was broken and redundant -- bug
#354146 hasn't been a real issue since x11-common started
conflicting with xfree86-common, and people tend to miss their
/etc/X11/Xsession when it's moved out from under them.
Closes: #365948, reopens: #318294.
[ David Martinez Moreno ]
* debian/control: Fixed several short descriptions.
* debian/scripts/vars*: Updated xserver-xorg-input-all dependencies to
include xserver-xorg-input-synaptics on m68k and the newly released
xserver-xorg-input-wacom driver.
[ David Nusinow ]
* Have x11-common move Xsession.xfree86 back to Xsession if Xsession doesn't
exist. This is to clean up the mess made on last upload
* Tell the configuration scripts that we're upgrading properly. The variable
that was being used to test this was never set for some reason.
* Fix test bug during upgrade when we made sure to only do certain
operations when we're upgrading from before a fixed package number. This
bug was uncovered by the fix above about the upgrade.

wrat 05-05-2006 11:22 AM

same prob thanx fot the fix!!

Guignol 09-29-2006 08:37 AM

Hey all,
I have that same problem.Kernel:2.6.17-1.2187_FC5


/usr/share/X11/fonts/OTF,removing from list
" "CID"
" "/misc/" refcount is 2,should be 1;fixing.

Here's whats in my X11:

applnk prefdm starthere X Xmodmap xorg.conf.backup
fs rstart sysconfig xdm xorg.conf Xresources
mwm serverconfig twm xinit xorg.conf~ xsm



ronocdh 02-27-2007 12:41 AM

My solution
For me the solution was to run sudo dpkg-reconfigure xserver-xorg and manually specify my driverset (ATI--it had been set on Vesa).


All times are GMT -5. The time now is 09:43 PM.