slitaz-doc-wiki-data diff pages/en/guides/faq-login.txt @ rev 7

Add pages/en folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 26 12:17:18 2011 +0000 (2011-02-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pages/en/guides/faq-login.txt	Sat Feb 26 12:17:18 2011 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +====== Cannot Login to Desktop ======
     1.5 +
     1.6 +===== Symptoms =====
     1.7 +
     1.8 +  * Slim, the SliTaz Login Manager, fails with the message:
     1.9 +<code> failed to execute login command </code>
    1.10 +
    1.11 +===== Explanation =====
    1.12 +
    1.13 +This is caused when files in the user's /home directory are not properly configured. The following files must exist, this can be verified with the ''ls -la'' command:
    1.14 +  * .Xdefaults
    1.15 +  * .xinitrc
    1.16 +  * something else?
    1.17 +
    1.18 +===== Solution =====
    1.19 +You should copy the default files from the template located in the /etc/skel directory. This happens automatically when a new user is created with the SliTaz Control Box, but not when using the command-line utilities. Occasionally users experience these files being removed or modified/broken.
    1.20 +
    1.21 +Switch to the root (super) user:
    1.22 +<code> su root </code>
    1.23 +Change to the affected users /home directory:
    1.24 +<code> cd /home/USERNAME </code>
    1.25 +Set the shell options to allow the dot (.) to be included in file names:
    1.26 +<code> shopt -s dotglob </code>
    1.27 +Copy all files, recursively:
    1.28 +<code> cp -r /etc/skel/* /home/USERNAME </code>
    1.29 +Change ownership of all files and directories in the user's home to that of the affected user:
    1.30 +<code> chown -R USERNAME:USERGROUP /home/USERNAME/* </code>
    1.31 +Restore the shell options:
    1.32 +<code> shopt -u dotglob </code>
    1.33 +The essential files should now be restored!
    1.34 +
    1.35 +EDIT:
    1.36 +
    1.37 +<code> shopt -u dotglob </code>
    1.38 +is not working in slitaz-3.0.iso - instead of this run in addition:
    1.39 +<code> chown -R USERNAME:USERGROUP /home/USERNAME/.[a-zA-Z0-9]*</code>
    1.40 +----
    1.41 \ No newline at end of file