Resolving common Linux problems

From CS Support Wiki
Jump to: navigation, search

Login errors

"Your session only lasted less than 10 seconds..."

At login, you may get the following error: "Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of disk space. Try logging in with one of the failsafe sessions to see if you can fix this problem."

To fix this, explicitly select a session (GNOME or KDE - whichever you prefer) at the login screen, then log in.  You will only need to do that once - in future logins, your preferred session will be remembered, and you won't need to do anything special.

Firefox errors

"Firefox is already running, but is not responding"

Firefox creates two locks in the user's profile that may not get cleared if Firefox shuts down uncleanly. When this happens and you try to relaunch Firefox, the existence of either of those locks may cause it to report that "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."

To fix this, open a terminal and cd into ~/.mozilla/firefox. There will be a directory within that starts with 8 alphanumeric characters and ends with ".default"; cd into that. Remove the files "lock" and ".parentlock".

jlg9n@puddles:~/.mozilla/firefox/l2b6z8at.default$ rm lock .parentlock

Then, restart Firefox.

Address bar doesn't update when navigating to a new page

This is a result of Firefox profile corruption - to fix, shut down Firefox, then open a terminal window and run:

cd ~/.mozilla
mv firefox firefox-old

Then, restart Firefox.

Intel Compiler errors

"Catastrophic error: could not set locale "" to allow processing of multibyte characters"

Set your locale to C and rebuild:

LANG=C