[SOLVED] Session only lasted less than 10 seconds?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had to stop working on my Linux set-up of ZenCart for a few weeks. When I came back, turned the system on and logged in I got the Dialog Box which starts out:
Quote:
Your session only lasted less than 10 seconds. etc...
Since I had not even had the system turned on for about 3 weeks, this caught me completely by surprise. I can't get past this. Even by trying to login in as Root.
Andre: The box with this message should actually contain an option to display the relevant log files. Can you post their content? (If the box doesn't have said option, just do "cat /var/log/Xorg.0.log".)
Andre: The box with this message should actually contain an option to display the relevant log files. Can you post their content? (If the box doesn't have said option, just do "cat /var/log/Xorg.0.log".)
Quote:
The first thing the GUI shows is an Error of:
Your home directory is listed as: '/home/debian' but it does not appear to exist. Do you want to log in with the (root) directory as your home directory? It is unlikely anything will work unless you use a failsafe session.
If I click 'No' I get the login screen. My login then results the same error message.
If I click 'Yes' I get:
Quote:
User's $HOME/.dmrc file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permissions. User's$HOME directory must be owned by user and not writeable by other users.
After clicking 'OK' I get the error message:
Quote:
Your session only lasted less than 10 seconds. If you have not logged out youeself, 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.
When I click on 'View details' I see
Quote:
Unable to create ~/.gnome2 directory: Permission denied.
The only way to post the LOG files, that I know of, requires me to be logged in on that computer. Which I am unable to do.
Login as root on the console of the machine, verify that the /home partition is mounted correctly and exists. If it does, verify the entry for the user account in the passwd file.
Login as root on the console of the machine, verify that the /home partition is mounted correctly and exists. If it does, verify the entry for the user account in the passwd file.
Login as root on the console of the machine, verify that the /home partition is mounted correctly and exists. If it does, verify the entry for the user account in the passwd file.
If it's not there, mount it or create it.
Sorry, what do you mean 'mounted correctly'? How would I mount it? Also, where, in the Linux directory structure, would it have to be created, /etc, /bin, /usr?
I installed Midnight Commander. There is a directory called /HOME.
Which passwd file? I found about 10 different files called paswd.
I even created a new user. Yet, I am unable to login, even with the new user, to either KDE or Gnome. If I can login to the Console, why can't I login to the Desktop?
Thanks
Last edited by AndeAnderson; 12-18-2009 at 07:22 AM.
Does /home exist??? Not /HOME, Linux is case sensitive
Post the output of the following:
Code:
ls -l /
cat /etc/fstab
mount
df -h
ls -l /HOME
grep username /etc/passwd
The GUI stuff really wants your home directory to exist. The console login isn't so picky.
Sorry, as I said earlier, I am unable to post anything from the broken Debian since I can only login at the Command Prompt. And, there is no GUI Interface. I am using a back-up laptop for getting to the website.
How would I post from the Command Line?
Using Midnight Commander I can see a folder called /home. Inside that folder are the user names. So, apparently the /home folder does exist.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.