LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-15-2005, 08:11 AM   #1
supwiddiss
LQ Newbie
 
Registered: Oct 2005
Posts: 21

Rep: Reputation: 0
"your last session only lasted less than 10 seconds"


New to Suse and Linux.
I get the error in Suse 10:

Your last session only lasted for 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 diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem.

If I click on "View Details (~/x-session errors file)" I see nothing. What did I do wrong? How would I repair it?

This is the second time I've installed Suse and got the same message. I'm using an 80 gig drive and surely I have plenty of space. What gives? I have my wireless working and performed the updates.

I have another PC that I installed Suse 10 on and I get the same thing. I have logged in as root in Gnome a few times and on the other PC I get the same message logging in as root, on this PC I get it during autologin when booting as my user name.

I posted in the hardware area as to how to get a link to or some step-by-steps to install another hard drive that I have data on that I wish to access. The drive was on an XP machine. Installing it showed no such drive until I poked around and got it showing. I cant do anything (move, copy/paste) with the files on it. Im looking for a step-by step to install a drive too, so help would be appreciated very much.

Alan
 
Old 10-16-2005, 05:47 PM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Don't ever login as root in X.
Try fixing this automaticly first.
Boot with SuSE CD/DVD=>installation=>repair installed system=>automatic repair
Also login FIRST in KDE, then if you want Gnome, logout and enter Gnome and save it as default session.
And again NO X for root.
 
Old 10-16-2005, 06:40 PM   #3
supwiddiss
LQ Newbie
 
Registered: Oct 2005
Posts: 21

Original Poster
Rep: Reputation: 0
Ok

Can you tell me what exactly happens when I do? Simply saying "never" is easy and if I shouldn't then for now I won't.

If I inderstand you, youre saying the GUI is never, ever designed to be entered as root, correct? I mean Never?

Is there any situation where you Would log in as root? And if so what causes Gnome to have erros like it does?

Can I have Gnome and KDE installed at the same time or is it either one or the other? How would I change desktops if so?

Will giving myself (user) root priveliges in itself cause the root login in Gnome to get the errors I'm experiencing?

I wanted to simply add a NTFS formatted drive with MP3's and stuff already on it and have access to the file system and have it show And be able to read and write to it, then add another populated drive and do the same. I got in deep and being new, tried to figure out things using the GUI w/o having to type alot in terminal. I suppose this is just a dream for now.

Thanks for the suggestion. Can booting to the cd really repair things that easy? And what about the fact that I have done the online updates?

Thank You,

Alan
 
Old 10-16-2005, 06:48 PM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
If using X as root you mess up permissions, links and lot of other stuff. A lot to write..
As for your NTFS drive, use Konsole in KDE
$su
password
#linux~> mc
Use Midnight Commander to navigate and operate
About KDE in SuSE. It's just default DE. Like Gnome in Ubuntu.
 
Old 03-22-2006, 08:57 AM   #5
tuesdays-child
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 4
Posts: 6

Rep: Reputation: 0
I accidentally deleted whole /tmp directory today and I had been experiencing same that problem.

Quote:
"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."
Anyway I was happy enough, because I could log in as root to try and fix this problem. So I created /tmp and then issued chmod 1777 /tmp and problem was sold.

I don't recommend you to do this or anything but this is in short what I've done...
...like root

Code:
rm -rf /tmp
mkdir /tmp
chmod 1777 /tmp
That is, if you suspect solution to your problem is in /tmp directory.


-- Joseph

Last edited by tuesdays-child; 03-22-2006 at 09:02 AM.
 
Old 07-12-2007, 10:19 AM   #6
iamnew2linux
LQ Newbie
 
Registered: Jul 2007
Location: north carolina
Posts: 1

Rep: Reputation: 0
This is a question..

Hi,

I tried doing same way when that 10 second error has occured and now i am not getting my windows os on the list when booting. and the problem of 10 seconds is stll there.

Is my windows xp still there..?

I have installed SUSE linux enterpise desktop 10 on windowsxp ..dual boot.


Please help out in recovering these two OS

THANKS



Quote:
Originally Posted by SlackerLX
Don't ever login as root in X.
Try fixing this automaticly first.
Boot with SuSE CD/DVD=>installation=>repair installed system=>automatic repair
Also login FIRST in KDE, then if you want Gnome, logout and enter Gnome and save it as default session.
And again NO X for root.
 
Old 08-10-2007, 06:19 AM   #7
cutegoat
LQ Newbie
 
Registered: Aug 2007
Location: Kocaeli / Turkey
Distribution: SuSE
Posts: 6

Rep: Reputation: 0
There are several reasons of X session crashes. Some of these are:
- When SuSE gets up, so normally after X fails, press Ctrl + Alt + 2 keys. You'll see a text based login screen. After you loged in, check the presence of your home directory (like /home/iamnew2linux, you can parse it by typing more /etc/passwd). You (iamnew2linux) must be owner of this directory. Not root. If not type chown -R iamnew2linux /home/iamnew2linux.

- The second reason may be about your XF86Config file. If your X configuration is not compatible with your hardware you can not use X session. As you guess you have to rebuild XF86Config. You can easily do that by using sax2 tool. This tool tries to build the best XF86Config file for your hardware. If sax2 does not give response you can interrupt it by pressing Ctrl+Alt+Backspace keys. If sax2 gives no error, you cab manually restart X session by using rcxdm restart command. It would be better backing up the original XF86Config file at any location ( cp /etc/X11/XF86Config /tmp )
You can findout some tips by cat /var/log/messages (you must make su - before previewing messages file)


Strongly probable your windows xp is still there. You must do some grub configuration to reach it agin.
 
  


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
Your session only lasted less than 10 seconds... rsamurti Slackware - Installation 13 10-13-2011 02:24 AM
Your session only lasted for less than 10 seconds Raafi Linux - Newbie 5 04-17-2005 04:56 PM
Oracle 10g and Fedora 2.0 "Session lasted lesst than 10 seconds" ushradha Linux - Software 6 11-19-2004 10:04 PM
Your session lasted for < 10 seconds ... rsamurti Slackware 4 06-27-2004 08:24 AM
"Your session only lasted 10 seconds...." underling Linux - Software 9 09-18-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:59 AM.

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