SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-01-08 03:20:54

Kevins4
Member
Registered: 2011-09-30
Posts: 19

[SOLVED] Login Loop

Greetings.

Just installed latest iso from USB to update from Statler ...207.  Install appeared to go smooth.  No hiccups or issues noted.

System boots to Grub and then to login screen.  Once password complete I am back at login in a permanent loop.

Where do I start to look for a solution?

Thanks in advance.

Dell Latitude D610
Partitions:
/boot     
/swap    1.0 GB
/home    9.5 GB
/            6.4 GB

Last edited by Kevins4 (2012-01-09 01:57:37)


sum ergo cogito ( i am therefore i think )

Offline

Help fund CrunchBang, donate to the project!

#2 2012-01-08 03:27:13

nuxero
#! Member
From: Somewhere
Registered: 2011-12-04
Posts: 60
Website

Re: [SOLVED] Login Loop

Hi, try changin to another tty terminal pressing ctrl+alt+f1 and try to login from there. By the way, the size of the partitions is in MB or GB???

Offline

#3 2012-01-08 03:48:07

Kevins4
Member
Registered: 2011-09-30
Posts: 19

Re: [SOLVED] Login Loop

Thanks for the reply and ah yeah, should be GB.  Gettin late here and I fading.

Will give a try and respond.

Thanks again


sum ergo cogito ( i am therefore i think )

Offline

#4 2012-01-08 05:09:21

Kevins4
Member
Registered: 2011-09-30
Posts: 19

Re: [SOLVED] Login Loop

nuxero

ctrl+alt+f1 got me to terminal prompt fine.  Did allow me to login back to prompt.

But I cannot get to X.

Quick background:  bought this laptop last May to jump into Linux.  CB, Openbox, was the first distro I successfully installed.  Being brand new however, I did not know where to start.  Tested many other distros and came back to CB and really like the simplicity.  Still have A LOT to learn.

So...  at prompt I type startx and get a fatal error and back to prompt.

Testdrive from USB worked without a hitch.  Connected to wireless and played around a bit.  Have checked md5sums, reinstalled several times.

Not sure where to go from here.


sum ergo cogito ( i am therefore i think )

Offline

#5 2012-01-08 11:52:19

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: [SOLVED] Login Loop

yeah the 'startx' command has never really worked for me either. other people say it worked for them but i never got it to.
my solution was to just start the DM.

if you are using the old statler, your DM is GDM. so type 'gdm' at the command prompt.
if you are using the new point release, your DM is Slim, so type 'slim' at the command prompt.

hope that helps.

Offline

#6 2012-01-08 12:07:31

nuxero
#! Member
From: Somewhere
Registered: 2011-12-04
Posts: 60
Website

Re: [SOLVED] Login Loop

Another thing, when yo login from the tty terminal, do you have access to your /home folder? maybe the problem is that the /home partition is not correctly mount (it happen ¬¬). And that's why the X doesn't start

Offline

#7 2012-01-08 15:07:37

cchhrriiss121212
#! Junkie
Registered: 2010-03-26
Posts: 311

Re: [SOLVED] Login Loop

You don't need to go to tty1, just press f1 when SLiM is loaded to select openbox, then you can login.

http://crunchbanglinux.org/forums/topic … nite-loop/

Offline

#8 2012-01-09 01:37:54

Kevins4
Member
Registered: 2011-09-30
Posts: 19

Re: [SOLVED] Login Loop

Thanks to you all.  I am always amazed how many will jump in to help.

I am in and running.  Can now begin getting all working and cleaned up.

Am still new at the forums a bit.  Where would I note my install experience - Default on live USB does not install on the 32 bit version.  Live sessions and graphic and text installs worked fine.

Md5sums checked out and I downloaded the iso twice and installed on USB stick 3 times.

Thanks again


sum ergo cogito ( i am therefore i think )

Offline

#9 2012-01-13 17:44:27

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,324

Re: [SOLVED] Login Loop

The "right" solution for this problem is:

enter "console" in the username field
this will start a login xterm
enter your user name and password
then run the command:

sudo update-alternatives --config x-session-manager

You will be presented with a menu with 3 options
select option 2: openbox-session
close the xterm window (enter exit ot Ctrl+D)
enter your username and password
you will be logged in

explanation:
without an $HOME/.xsession or $HOME/.xinitrc, slim starts the xserver with this command:
   ++ exec /usr/bin/ssh-agent /usr/bin/ck-launch-session /usr/bin/dbus-launch \
      --exit-with-session x-session-manager
   and x-session-manager defaults to lxsession via alternatives
   lxsession terminates immediately without (apparently) doing anything
   the session is terminated (--exit-with-session option)
   you are dropped to console for a moment, then
   slim shows login panel to start a new session
   etc, etc

This is not a slim problem: it is a configuration problem.
I am beginning to like slim more and more: it does not have all of the functionality of gdm or kdm, but for a standalone PC with one user it is lightweight and can be configured so that it stays out of the way.

nm-applet being launched twice is not a slim problem. Again it is a configuration problem.
commenting the entry for nm-applet in $HOME/.config/openbox/autostart is the solution.

hth

Last edited by xaos52 (2012-01-13 18:15:30)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo