Jerry Feldman wrote:
On Wednesday 02 March 2005 6:37 am, Rikard Johnels wrote:
Can you log in at init 3 with that same user? Might be a corruption of the user account.
That is exactly what he is doing. He is booting up into run level 3, logging in, then running startx. He mentioned that run level 5 works fine.
Actually, he gets the login screen, but can't log in as the usual user.
Right! I have also tried gnome and it pops right back to the login screen too. Jim
On Wednesday 02 March 2005 23:20, Your Name wrote:
Jerry Feldman wrote:
On Wednesday 02 March 2005 6:37 am, Rikard Johnels wrote:
Can you log in at init 3 with that same user? Might be a corruption of the user account.
That is exactly what he is doing. He is booting up into run level 3,
logging
in, then running startx. He mentioned that run level 5 works fine.
Actually, he gets the login screen, but can't log in as the usual user.
Right! I have also tried gnome and it pops right back to the login screen too.
In your initial message you said you looked in every log file you knew. *What* log files did you look in? startx logs to .X.err in your home directory. Did you have a look in that file? To see if there is something in your home directory that is not owned by you, do as root: find /home/user_name ! -type l -and \( ! -user user_name -or ! -group group_name \) -exec ls -l {} \; (better use cut & paste to copy that line into a terminal window) Instead of user_name and group_name, you can use user_id and/or group_id. Cheers, Leen
I got my user back by creating a new user, saving my bad user's files, copying the new user stuff into my bad user. Then I kept copying stuff from backup. I never did get anything to go bad. The only think I didn't copy back in was from the desktop directory. I have no idea what was wrong, but it's back to working, and all I lost were a couple custom menus. Thanks for all the suggestions, Jim
Your Name wrote:
in, then running startx. He mentioned that run level 5 works fine.
Actually, he gets the login screen, but can't log in as the usual user.
Right! I have also tried gnome and it pops right back to the login screen too.
In that case, you've most likely got one of three problems, two of which have already been mentioned. 1) You need to correct file permissions in your home directory 2) You have a corrupt .Xauthority file in your home directory, which needs to be renamed or simply deleted (can't see much point in keeping it around, myself, if it's corrupted). 3) You have some screwed up links and/or permissions and/or sockets in your /tmp directory. Typical places to look are /tmp/kde-<username>, /tmp/mcop-<username>, presence of a .Xn-lock file when no user is logged in, old <hostname>-nnnn-xxxxxx sockets (btw, sockets are distinguished by having a file type 's' when you do a ls -l ) First deal with #2 and if that doesn't resolve it, we'll look elsewhere.
participants (4)
-
Darryl Gregorash
-
Jim Sabatke
-
Leendert Meyer
-
Your Name