xsession fails on login due to video driver kubuntu 11.10

Bug #854140 reported by rdesfo
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

I can't login into kde-plasmoid, but I was able to log into the console and look at the ".xsession-errors" file.

Xsession: X session started for ryan at Mon Sep 19 14:43:47 EDT 2011
run-parts: failed to stat component /etc/X11/Xsession.d/10fglrx: No such file or directory
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kded(2255): Communication problem with "kded" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

Could not open library ksmserver: Cannot load library /usr/lib/kde4/libkdeinit/libkdeinit4_ksmserver.so: (libGL.so.1: cannot open shared object file: No such file or directory)
ksmserver: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
startkde: Shutting down...
klauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.

Revision history for this message
rdesfo (rdesfo) wrote :

I believe what caused this issue is I added the "ATI/AMD proprietary FGLRX graphics driver" in "Additional Drivers" application and then removed it. I don't think it removed it properly.

I can now log into kubuntu because I reinstalled fglrx with "apt-get install fglrx"

but when I got into "Additional Drivers" it doesn't show it as active. So there is still an issue with the "Additional Drivers" application managing drivers

Revision history for this message
rdesfo (rdesfo) wrote :

I tried to download the driver from the AMD website and when it is installed it still causes a failed login.

Xsession: X session started for ryan at Sat Sep 24 14:23:48 EDT 2011
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kded(1643): Communication problem with "kded" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

Could not open library ksmserver: Cannot load library /usr/lib/kde4/libkdeinit/libkdeinit4_ksmserver.so: (libGL.so.1: cannot open shared object file: No such file or directory)
ksmserver: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
startkde: Shutting down...
klauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.
Xsession: X session started for ryan at Sat Sep 24 14:29:43 EDT 2011
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kded(2078): Communication problem with "kded" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

Could not open library ksmserver: Cannot load library /usr/lib/kde4/libkdeinit/libkdeinit4_ksmserver.so: (libGL.so.1: cannot open shared object file: No such file or directory)
ksmserver: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
startkde: Shutting down...
klauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.

summary: - kubuntu 11.10 unable to log in
+ xsession fails on login due to video driver kubuntu 11.10
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Mikael Bergqvist (mikaelb) wrote :

After last update I can not log in. Will try removing AMD propritetary drivers.

Revision history for this message
Chemtox (chemtox) wrote :

Also happened to me after removing the -fglrx propietary driver in Jockey. Fixed by purging it some more and reinstalling libgl1-mesa:

sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon
sudo apt-get install xserver-xorg-video-ati
sudo apt-get install --reinstall libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64 libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg

sudo /etc/init.d/kdm restart # or whichever login manager you use

as per <a href="https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver#Problem:__Need_to_fully_remove_-fglrx_and_reinstall_-ati_from_scratch">FglrxInteferesWithRadeonDriver</a>.

I suspect that only "sudo apt-get install --reinstall libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64 libgl1-mesa-glx:i386 libgl1-mesa-dri:i386" was necessary, so you may want to try that first and report back.

Note that this is on Oneiric (which has multiarch enabled by default), where I had both amd64 and i386 packages installed, so I had to reinstall both or face a "<a href="https://bugs.launchpad.net/ubuntu/+source/apt/+bug/859188">E: Internal Error, No file name for libgl1-mesa-glx</a>". If you're not on Oneiric or have disabled multiarch, an old fashioned "sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri" should work.

Revision history for this message
Gachoud Philippe (ph-gachoud-gmail) wrote :

"sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri" did the trick for me

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.