LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Your session only lasted less than 10 seconds... (https://www.linuxquestions.org/questions/linux-newbie-8/your-session-only-lasted-less-than-10-seconds-4175445261/)

propcuser 01-12-2013 08:17 AM

Your session only lasted less than 10 seconds...
 
i switched on the laptop today and to my surprise i get "failed to load session"ubuntu"" then after pressing ok i get
"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."

This is the content of ~/.xsessions file:
Code:

etc/mdm/xsession:beginning session setup..
localuser:administrator being added to access control list
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.
Failed to connect to the virtualBox kernal service
Failed to connect to the virtualBox kernal service
Failed to connect to the virtualBox kernal service
Failed to connect to the virtualBox kernal service

i was on it yesterday, normally id put it to sleep but decided to shutdown because it was running slower than usual.i cant see why this happened becuase i didnt do any dangerous tweaks or tinkering. i was just stating to enjoy linux mint with MATE because it was just installed less than a week ago. i really dont know what could have caused this, im trying to think back.. hopefully anyone with experiance will be able to understand the error message

Help

propcuser 01-12-2013 10:39 AM

i was able to login by changing the session to MATE istead of 'last session'. i still believe that there is a legit fix for this. because it SHOULD login as 'last session', all i want to know is what went wrong..

goumba 01-12-2013 12:33 PM

Some critical piece of the session failed to load. You only seem to mention one occurrence. Is it occurring repeatedly? Any errors in /var/log/Xorg.0.log? I don't know if and where MDM keeps a log, you could check that too.

Any updates installed? If so maybe something was changed that was a one time event.

propcuser 01-12-2013 01:11 PM

Quote:

Originally Posted by goumba (Post 4868489)
Some critical piece of the session failed to load. You only seem to mention one occurrence. Is it occurring repeatedly? Any errors in /var/log/Xorg.0.log? I don't know if and where MDM keeps a log, you could check that too.

Any updates installed? If so maybe something was changed that was a one time event.

thanks for replying goumba, what do you mean by 'MDM'? heres the Xorg.0.log file contents:
Code:

[    38.466]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[    38.467] X Protocol Version 11, Revision 0
[    38.467] Build Operating System: Linux 3.2.0-26-generic i686 Ubuntu
[    38.467] Current Operating System: Linux administrator 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686
[    38.467] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic root=UUID=9a6ea5f0-4a9a-471e-9e95-ce261a056917 ro quiet splash
[    38.467] Build Date: 08 October 2012  03:34:08PM
[    38.467] xorg-server 2:1.13.0-0ubuntu6 (For technical support please see http://www.ubuntu.com/support)
[    38.467] Current version of pixman: 0.26.0
[    38.467]        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    38.467] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

it goes on and on but i stopped at the word "error" after search

k3lt01 01-12-2013 02:47 PM

Quote:

Originally Posted by propcuser (Post 4868507)
thanks for replying goumba, what do you mean by 'MDM'? heres the Xorg.0.log file contents:

MDM is MATE Display Manager. It doesn't exist in Debian and Ubuntu so you don't need to worry about it.

goumba 01-13-2013 08:45 AM

Quote:

Originally Posted by k3lt01 (Post 4868554)
MDM is MATE Display Manager. It doesn't exist in Debian and Ubuntu so you don't need to worry about it.

Why would he not have to worry about it? He's using Mint with Mate.

I don't see anything in the X log.

check in /var/log for something related to "mdm". I don't use mint, but that's where such a log would be.

Has it happened again?

By chance, is the drive full?

I have seen mention of "rm -f .Xauth* .ICE*" from a console (Press Ctrl+Alt+2 to get one) having fixed such a problem, apparently a problem with one of those files. They will be recreated next time the X server starts.

k3lt01 01-13-2013 05:16 PM

Quote:

Originally Posted by goumba (Post 4868968)
Why would he not have to worry about it? He's using Mint with Mate.

I didn't see the mention of Mint, my mistake.

What went wrong, any number of things but we will never know because you only posted a small section of a file. If I were you I would install something like LightDM instead of MDM.


All times are GMT -5. The time now is 03:01 AM.