SliTaz SliTaz Forum

You are not logged in.

#1 2014-09-08 13:47:21

Guest
Guest

Failed to execute login command

Hi,

I try the new build slitaz rolling core 20140907, i install it, no problem.

But when i reboot the system, i have this message when i try to open my default session:

username: tux

password: tux

"Failed to execute login command"

WHY ?

Any idea please ?

#2 2014-09-08 18:09:45

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Failed to execute login command

Check file permissions by terminal command:

ls -l /home/tux/.xinitrc

Offline

#3 2014-09-10 10:26:43

Lessons
Member
Registered: 2014-09-05
Posts: 8

Re: Failed to execute login command

In the 20140824 version, there was a similar bug.

I got "Failed to execute login command" when I tried to login as root.

I solved this issue with:

---start---

su

{Type root password; usually "root"}

cp -avr "/home/tux/.config" "/root/.config"

---end---

It seems that the distro generates the .config folder just for the tux user, not for root or other users as it should.

I hope you'll fix this bug.

Offline

#4 2014-09-10 12:23:05

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

Re: Failed to execute login command

Slim login to root account is broken on the live cd so it is broken on an install.

Live cd log out X session user tux, at slim login screen login as user root fails because there is no /root/.config/slitaz/applications.conf

To manually fix type [c]exit[/c] at slim login to drop to shell.

Login root passwd: root

[c]mkdir -p .config/slitaz && cp /etc/slitaz/applications.config .config/slitaz[/c]

Restart slim:

[c]slim[/c]

Login as root now works.

The creation of ~/.config/slitaz/applications.conf is done by /usr/bin/tazx which is owned by slitaz-tools.

http://hg.slitaz.org/slitaz-tools/file/20a0a8c12eb4/tinyutils/tazx#l204

Not sure what changes broke [c]cp /etc/skel/.config/slitaz/applications.conf /root[/c]

Maybe it's not in /etc/skel when /root is created?

I have made numerous full installs with tazinst and user tux login works.

Offline

#5 2014-09-10 14:21:31

Guest
Guest

Re: Failed to execute login command

Thanks Lessons for your answer. I'm soory but i don't understand your issue:

I have to write this line in a terminal like sakura ?

I have to write this line with or without the "" ?

Many thanks.

#6 2014-09-10 14:53:40

Lessons
Member
Registered: 2014-09-05
Posts: 8

Re: Failed to execute login command

Yes. I used sakura.

{Type root password; usually "root"} means type "root" without ""

su

root

cp -avr "/home/tux/.config" "/root/.config"

Offline

#7 2014-09-10 19:39:55

Guest
Guest

Re: Failed to execute login command

Thanks Lessons and mojo for your help and answers.

So mojo, what do you mean SLIM login ???

The center window into we have to write your login name and your password ?

Can anyone fix this bug for the next build soon

Thanks to the community and members like you who work very hard to make this great distro SLITAZ forever !!! ;-)

#8 2014-09-11 09:27:54

Lessons
Member
Registered: 2014-09-05
Posts: 8

Re: Failed to execute login command

mojo: "I have made numerous full installs with tazinst and user tux login works."

In the last version of rolling-core the root login did not work, even if tux login works!

This is because the Desktop-files are not copied in /root.

BTW, wouldn't it be better to change the home location for the root user from /root to /home/root, to be like /home/tux ??

Offline

#9 2014-09-11 10:12:53

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Failed to execute login command

This issue caused by adding post-install to provide drives mount 2 weeks ago, and was fixed yesterday, now is already on main mirror.

So, just updating of this package required: slitaz-configs-base

tazpkg recharge && tazpkg -gi slitaz-configs-base --forced

(Fix is temporary, until configs-HG new tag after editing.)

>/home/root

Hope, this will never happens

Offline

#10 2014-09-11 12:36:10

Guest
Guest

Re: Failed to execute login command

YES !

slitaz-configs-base-5.5.4.tazpkg fixes the bug

Great work, thanks to az_ua for this information, i can close this post now.

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

Board footer

Powered by FluxBB
Modified by Visman

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