LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2010, 12:42 PM   #1
Entwicklung
Member
 
Registered: Jun 2005
Location: North Carolina
Distribution: Fedora 22, OpenSuSE LEAP
Posts: 54

Rep: Reputation: 15
Your session only lasted less than 10 seconds


I just installed Sabayon, thought I would give a Gentoo based distro a look. Apparently not a smart move. It will not boot and I'm getting a message I've never seen in any Linux distro I've tried:

"Your session only lasted less than 10 seconds."

And it will not boot, either as a user or root.

View details renders this:

/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h " " -l ":0" "root"
/etc/X11/gdm/Xsession: Beginning session set up...
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session

I found some answers to this problem:
change /tmp permission to 777 (that didn't work, no change whatsoever)
also, someone suggested chown and chmod to the /home/user/.ICEauthority directory. That did not work either.

I've seen where some who have this problem are able to boot as root. I haven't been able to do that. I get same error message both as root and user.
 
Old 04-10-2010, 03:48 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Linux booted just fine.

You're having troubles starting your graphical environment.

Possibly incompatible graphics hardware.

1. You should be able to log in via text mode like this:
Quote:
a) If you've still got a graphical login screen, you might be able to select "text mode"
... or ...
b) You might be able to <Ctl-Alt-F1> to a text-mode login screen
... or ...
c) Failing all else, you might be able to boot in "safe mode" from the Linux install CD
2. Once you've booted in, you might find useful error info in any/all of these logs:
Quote:
a) /var/log/messages
... and/or ...
b) /var/log/X11/*
... and/or ...
c) /var/log/gdm/*
d) $HOME/.xsession-errors
<= You included some good error messages ... but please keep looking
3. These are some graphical login files/directories that might have become corrupted, and might be worth removing:
Quote:
$HOME/.ICEauthority
$HOME/.xsession-errors
$HOME/.Xauthority
$HOME/.gnome
/tmp/.gnome
/tmp/.gnome2
'Hope that helps .. PSM
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Session only lasted less than 10 seconds? AndeAnderson Debian 23 12-27-2009 10:09 AM
session only lasted less than 10 seconds. Nadishka Linux - Software 4 10-16-2009 12:39 PM
Your session only lasted less than 10 seconds... Korneel Linux - Software 14 05-24-2009 08:29 AM
Your session only lasted less than 10 seconds smruthi Linux - Newbie 1 05-22-2008 08:32 AM
Your session lasted for < 10 seconds ... rsamurti Slackware 4 06-27-2004 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration