You are not logged in.
Pages: 1
Hi, I'm new to the forums... I have a problem: Failed to execute login command.
I cannot login tux user but I can login in root.
I don't know why.
I've been using slitaz for a quite time now and never has this problem appeared. I'm using slitaz 4.0
Slitaz is installed in the harddisk of the pc, in its own partition (slitaz partition format: ext3 plus a partition format: linux-swap).
I was using firefox and when I finished I tried to clean the history and it appeared like it was working but when I clicked in history, all the websites visited were there. So, I closed firefox windows and tried to open firefox again, which it didn't happen... I revised task manager to see if firefox was still open but it wasn't, even clicking on firefox to start didn't appeared in the task manager, so I decided to close the session to re-login.
And the error appeared. So I only can login in root.
I have been searching a lot and read the other topics with this error but they weren't similar to this...
I have open a terminal and done this:
ls -l home/tux/.xinitrc
ls -l home/tux/.Xdefaults
and both commands works fine, no error found.
-------------------------------------------------------------------------
What should I do?
Offline
Hi xscx,
Please, check the free space on your SliTaz installation HD partition. Looks like your browser cache filled up the whole HD, and you cannot log in as regular user now. Next time in the similar trouble open PCManFM, go to root (/) and read status bar where you can make sure the free space exceed.
You can log in as root because filesystem has reserved HD space specially for root (few percents: it may be few MB or few hundreds MB). Log in as root, open your user home folder (/home/tux) in the PCManFM, toggle to show hidden folders and files (Ctrl+H), search for browser cache, examine folders sizes (folder context menu, then Properties), remove browser cache folder, check the free HD space on root (/) again, try to log in as user again.
PS. I installed firefox-official to my SliTaz-Rolling. Here cache folder is /home/tux/.cache/mozilla/firefox/y7unascq.default-1442821464355/cache2/entries — check something similar in your SliTaz 4 with your Firefox.
Offline
Thank you for your help Aleksej.
Like you said it seems like the partition is full, though there is no cache of the firefox browser.
In the .cache directory there are 3 folders: gegl-0.1 , menus and midori.
Each of those folders have a small size (8,2 kb; 16,4 kb; 10,3 mb), so that's not the problem....
I have a folder in /home/tux that is called .mozilla which the size of all files is 143,6 mb but in disk is 145,1 mb. In the folder are 2 subfolders: extensions and firefox.
What can I do?
Offline
What next?
I can't recall because not using SliTaz 4 for a long time. Is your PCManFM shows you disk free space in the status bar? When I open two PCManFMs (first as user tux, second — as root) here the difference about 10 MB in disk free space on my 3GB partition. So, if you're opening PCManFM as root and see such small value of free space — then disk is full and should be cleaned.
How to find space-eaters? Go from common folders to less common.
Check ".thumbs" (or ".thumbnails") on your home folder. Is it big? Clean its content (leave folder itself empty). Check other folders in your home folder. Is it trash in your SliTaz? Check /tmp folder — is it mounted as tmpfs and cleaned on each reboot or not.
If you're using console, install mc (Midnight Commander), it have great shortcut "Ctrl+Space" to calculating all sub-folders size — it is much faster than examine every single folder property in the PCManFM.
Offline
Another way to view files from terminal size
$ du -sh /home/tux/*
or hiddens files
$ du -sh /home/tux/.*
Problem: failed to execute login command
http://forum.slitaz.org/topic/failed-to-execute-login-command-3/page/2
Offline
just delete the .mozilla folder with midnight commander - firefox will create a new one. When you delete it with PCMAnFM it could be, that it goes to trash and is not deleted (I dont remember, if we have trash in 4.0)
if it still exists, just control the permission of the /home folder - it must be tux/users (I hope, its the same in 4.0 as in 5.0 - mojo writes about tux/tux, I have evrywhere tux/users - to verify boot the 4.0 CD and check it there)
how you can correct this is described here: http://doc.slitaz.org/en:guides:faq-login
Offline
Had the same issue. Login with root and change the password for tux
[c]passwd tux[/c]
Offline
Note, removing ".mozilla" from your home folder you'll revert Firefox to the "factory defaults": all your bookmarks, plugins, saved passwords, local databases, etc. will be removed. So, I not advised to do it. Better to find and clean it's cache.
You can also move your big downloaded files (video, music, etc.) to the external storage, i.e. other partition or USB flash.
Offline
thx Aleksej
I use Firefox sync - so its no problem to delete the folder - if you dont, you should save your bookmarks first - sorry, I forgot that
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]