SliTaz SliTaz Forum

You are not logged in.

#1 2012-02-25 13:33:29

xoanan
Member
Registered: 2011-04-01
Posts: 110

failed to execute login command

Hi all

Next issue is with Slim;  I get this everytime I boot on my Inspiron 3800; no other OS on here, no separate home partition, no other window managers other than Openbox.

I can login using [c]CTRL+ALT+Backspace[/c].

Currently, I am using 3.0 cooking version;

Any thoughts?

Offline

#2 2012-02-25 14:00:50

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: failed to execute login command

Execute

#/etc/init.d/slim start

When it is ok then

#startx

And in case of necessity report the trouble here! ;-)

Offline

#3 2012-02-25 14:25:02

xoanan
Member
Registered: 2011-04-01
Posts: 110

Re: failed to execute login command

Thanx;

The error I receive is [c]Slim: stale lockfile found, removing it[/c]

Offline

#4 2012-02-25 17:25:17

TanKe
Member
Registered: 2012-02-25
Posts: 6

Re: failed to execute login command

Hello.

i have installed the 4.0 RC1 on VB with the same login problem.

#/etc/init.d/slim start does not work for me. i have removed "slim.lock" but no luck.

The only way to start is being root and the old "root" passwd or my root password is useless for anything anyway.

This is a severe show stopper, i hope it gets fixed soon.

Thanks.

Offline

#5 2012-02-25 18:03:06

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: failed to execute login command

Hi TanKe,

which one of the 2 available iso-files did you use? The first ,,offer" or the second one?

Offline

#6 2012-02-25 18:19:22

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: failed to execute login command

If michael's advice doesn't work and your actually running the command he gave you with # included, then of course it won't work... Run it without the #...

Offline

#7 2012-02-25 19:48:19

TanKe
Member
Registered: 2012-02-25
Posts: 6

Re: failed to execute login command

michael: Downloaded the image from distrowatch.

Trixar: yes, i did it without #. What it says is that slim is root only and i has no access to slim.lock so i did remove slim.lock manually but was useless.

I have managed to startx being root without slim but the admin passwords were useless too.

Offline

#8 2012-02-25 20:57:28

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: failed to execute login command

@xoanan

What filesystem is slitaz installed on?

If it's fat32 or ntfs reformat to ext3 and reinstall slitaz

This should fix slim login.

Offline

#9 2012-02-25 22:38:09

xoanan
Member
Registered: 2011-04-01
Posts: 110

Re: failed to execute login command

@mojo

Its already ext3; this HD is a linux only HD

Offline

#10 2012-02-25 22:47:57

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: failed to execute login command

Check the /home folder of the user's account slim is failing to log into.

This is /home/tux from slitaz4-rc1 :

Does the .Xauthority file exist and do the user/permissions match this:

tux@slitaz:~$ ls -la .Xauthority

-rw-------    1 tux      users           51 Feb 25 14:50 .Xauthority

Offline

#11 2012-02-25 23:46:21

TanKe
Member
Registered: 2012-02-25
Posts: 6

Re: failed to execute login command

Is the installer mixing the tux user with the new one created during installation?

Sorry fo my english.

Offline

#12 2012-02-25 23:53:58

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: failed to execute login command

@TanKe Yes I guess also the new installer bugs when you configure a custom users but it's fixed in repos: http://hg.slitaz.org/slitaz-tools/rev/986257e0657e

Offline

#13 2012-02-26 13:30:32

xoanan
Member
Registered: 2011-04-01
Posts: 110

Re: failed to execute login command

@Mojo;

Yessir, it matches.

Offline

#14 2012-02-26 14:36:59

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: failed to execute login command

@xoanan

Slim: stale lockfile found, removing it

Try to stop slim: #/etc/init.d/slim stop

Verify slim is not running: pgrep slim

If it's still running: #pkill slim

If /var/lock/slim.lock then #rm slim.lock

Delete #/var/run/slim.auth

Restart slim: #/etc/init.d/slim start

If it's still broken either reinstall or provide this info:

What did you install,modify,update before it broke?

Which version of slitaz,frugal or full install or upgrade.

Are you trying to login to the default unmodified tux account or is it a new account.

Copy/paste /var/log/slim.log at pastebin.com and post the link.

Offline

#15 2012-02-29 01:11:10

xoanan
Member
Registered: 2011-04-01
Posts: 110

Re: failed to execute login command

Ok, here's the link

http://pastebin.com/b77ykXDX

Slitaz Linux kernel 2.6.30.6 (stable). Full install.

I don't remember what I installed prior to this issue occuring.

Offline

#16 2012-03-02 06:09:19

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: failed to execute login command

This error may be related to login failure:

/home/xoanan/.xinitrc: line 44: syntax error: Unterminated quoted string

.xinitrc is generated by tazx

There should be a good copy in /etc/skel

#cp /etc/skel/.xinitrc /home/xoanan

#chmod 644 /home/xoanan/.xinitrc

#chown tux.tux /home/xoanan/.xinitrc

Check /home/xoanan/.config/slitaz/applications.conf

Should match /etc/slitaz/applications.conf

Change:

WINDOW_MANAGER="openbox"

to

WINDOW_MANAGER="openbox-session"

#chmod 644 /home/xoanan/.config/slitaz/applications.conf

#chown tux.tux /home/xoanan/.config/slitaz/applications.conf

Offline

#17 2012-03-02 17:33:12

xoanan
Member
Registered: 2011-04-01
Posts: 110

Re: failed to execute login command

[c]./applications.conf[/c] does match; [c] ./.xinitrc[/c] is present in [c]home/xoanan/[/c] but not in [c]/etc/skel[/c]

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]