Posts: 903
plvera
Joined: 11 Oct 2008
#1
Hello:
I rebooted my laptop which had been up and running Antix for about 6 days, and now I can't login. The login screen comes up but I type in my user and password, I get the message: Failed to execute log in command; and then it just cyles to the login screen.

any way to fix this?

thanks.

Pedro
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Did you make changes to include another language?
Posts: 903
plvera
Joined: 11 Oct 2008
#3
No. I was fooling around with sftp and scp. I'm not sure if that messed up something. No messages came up during the shutdown, and reboot was also without any problems.

thanks.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#4
At slim login, Ctrl Alt F1
login as user rhen startx

Check that /etc/slim.conf is ok.
Posts: 903
plvera
Joined: 11 Oct 2008
#5
Anti:
thanks for your help. I'll try your suggestion tonight when I get home since I don't have that laptop with me.

Pedro
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#6
First thing I always check and this has got me several times is caplock?

Next, once logged into a terminal try as root:

Code: Select all

rm /var/log/slim.log
and

Code: Select all

rm /var/run/slim.lock
then

Code: Select all

slim
This might get slim and x to start. If nothing happen when starting slim then startx.
Posts: 903
plvera
Joined: 11 Oct 2008
#7
I tried what both anti and erie suggested, and in either case the result was the same:

after startx i get the following messages:

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

No protocol specified
giving up
xinit: Resource temporarily unavailable (erno 11); unable to connect to X server
xinit: No such process (errno 3): Server error


I removed /tmp/.X0-lock and that did not fix it either.

Any other suggestions?
thanks.
Pedro
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#8
Once you get that message try <CTL+ALT+F7>. If the xserver is already running then that's where it should be. Maybe it's not switching over when it's starting?
Posts: 903
plvera
Joined: 11 Oct 2008
#9
clt-alt-F7 just takes me back to the slim log in window, but it still does not work. I mean, I can't log in.

thanks.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#10
Try to add another user to see it you can login with it.

Code: Select all

#adduser
Posts: 903
plvera
Joined: 11 Oct 2008
#11
thanks, I'll try that, but I still think the problem is with slim since when it's shutting down I see the message

Slim is not responding to TERM signals.
Posts: 903
plvera
Joined: 11 Oct 2008
#12
adding a user still had the same problem. I also reconfigured xorg and that did not work either.

thanks.
Posts: 903
plvera
Joined: 11 Oct 2008
#13
as a follow up, I tried apt-get purge slim, and then apt-get install slim.

A slim log-in did come up after reboot, but it didn't look like antix, no surprise there. I was also not able to log in with my user name, but I was able to log in as root. Maybe that was the problem all along? My user got deleted somehow?

Anyway, now it looks like debian with xfce; icewm works but the menus are all messed up. It looks like all the antix apps are there though. It looks like it's getting very close to one of my favorite activities in this box: reinstall antix. It's a good thing I use it for testing and hosing up, not for real work!

Pedro
Posts: 192
coyotito
Joined: 27 Sep 2007
#14
you can use xdm as login manager.
I had the same problem when i used full version. Antix base does not have this problem,
now even autologin works in slim.
Base with stable repo, rocks, better kernel, added drivers. Ultra stable/fast + enhancements.
About as fast as A6.5
If you have full version the menus can be restored from /usr/share/antix.
But is this so critical? menus can be fixed.

When getting this problem the easiest is to delete your user dir and create a new one, with right permissions of course.
then restore data from old dir.
Posts: 903
plvera
Joined: 11 Oct 2008
#15
Thanks for the information. I'll see how much of a hassle it is to replace slim with xdm, at least on my test box.