I have a problem logging into Ubuntu under all of my usernames. I have tried many solutions. When I look at my .xsession-errors file, I get the following:
xlib: extension "GLX" missing on display ":o"
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
init: gnome-session (unity) main process (2292) terminated with status 1
init: unity-settings-deamon main process (2284) killed by TERM signal
init: logrotate main process (2192)killed by TERM signal
init: update-notifier-crash (/var/crash/_usr_bin_compiz.1000.crash) main process (2230) killed by TERM signal
init: xsession-init main process (2201) killed by TERM signal
init: hud main process (2288) killed by TERM signal
init: unity=panel service main process (2299) killed by TERM signal
init: Disconnected from notified D-Bus bus
init: window-stack-bridge main process (2215) killed by KILL signal
Best Answer
Short Solution
Try to install
linux-headers-generic
and reboot to login again:Longer Story
Same issue here. I've tried serveral ways in askubuntu and stackoverflow but in vain. I write down my solution and hope it will help others.
This issue happens after I use
apt-get purge
to remove all kernels accidentally, then I installlinux-image-generic
and hope everything is ok. However, I meet this issue after reboot,.xsession-errors
shows almost same message (just pids are different).After one hour, I found
linux-headers-generic
is not just header files. It will also recompile necessary components. In my case it's nvidia driver.After install
linux-headers-generic
and reboot, everything is back to normal.