Linux 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 you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fi

Description:

When a normal non-administrator user tries to logon to the linux machine they 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 you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix the problem."

Problem:
The /tmp directory lost it's correct persmissions.

Fix:
Open a terminal window and as root run the following command:
chmod 1777 /tmp

 del.icio.us  Stumbleupon  Technorati  Digg 

 

What did you think of this article?




Trackbacks
  • Trackbacks are closed for this entry.
Comments
Page: 1 of 1
  • 8/19/2009 3:17 AM ram wrote:
    Hi i faced the above error and had changed the permissions of /tmp as root chmod 1777 /tmp but am unable to connect other users pls help me..
    Reply to this
    1. 8/19/2009 4:57 PM DougBob wrote:
      I know you may have checked already, but due to the nature of the message how much disk space do you have on root (/) and /tmp.  You can use the df -k (df -h) to find out what space is available.
      Reply to this
  • 12/7/2009 2:31 AM software development uk wrote:
    That was an inspiring post,

    This some really great advice,

    Thanks for writing about it
    Reply to this
  • 1/10/2010 3:00 PM Nat wrote:
    Hi,
    Thanks for the article.
    I too get that error message after trying to start a previously reliable machine. The last time it ran proplerly was only a few hours ago.
    The mouse fails to work, though the light is on underneath and the keyboard does nothing too, the Cap' Lock light can not be made to come on.
    Hence I am not able to provide get a report of the problem.
    I tried the command you recomended: chmod 1777 /tmp
    - no improvement and the same error message.
    Is there anythign else I could try?
    Many thanks, Nat
    Reply to this

Page: 1 of 1
Leave a comment

Submitted comments will be subject to moderation before being displayed.

 Enter the above security code (required)

 Name (required)

 Email (will not be published) (required)

Your comment is 0 characters limited to 3000 characters.