LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-19-2008, 01:18 PM   #1
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Rep: Reputation: 30
can log in from command line but not from GUI logon screen


I made the mistake of running
Code:
#usermod -l login-name newname old-name oldname
Now, when I reach the GUI logon screen and attempt to logon with the new name using the password of the old name, it seems to accept the password, the screen blanks as per normal as if the Xserver is about to start, but then returns-- without an error message-- to the GUI logon screen.

There, I selected "console logon" from "menu", logged in from the command line as root and successfully ran
Code:
#passwd newname
and the procedure ran nominally without error.

Returned to the GUI logon screen and attempted logon as newname with the password that had just been set. Same result as mentioned above with GUI logon screen. Again selected "console logon" from "menu" and successfully logged in as newname with the password that had just been set. Ran
Code:
$startx
After a long wait, it returned the error message
Code:
xauth:  timeout in locking authority file /home/newname/.serverauth.3606
followed by
Code:
xauth:  timeout in locking authority file /home/newname/.Xauthority
It ran the latter message in a loop several times, then screen went blank as if Xserver was about to start, but then returned to the command line environment with several error messages about fonts, followed again by
Code:
xauth:  timeout in locking authority file /home/newname/.Xauthority
Trying to login from the GUI logon screen as oldname results immediately in the error message "login failed".

Navigating from command line confirms the directory /home/oldname/allfiles still exists, so thank goodness my data is preserved and safe.

Can anyone here please help this poor sap who screwed himself?!? Is there some trick to logging in from the GUI logon screen as newname that will succeed? Or should I log in as root from the command line and try to reverse the name change I did that started this whole mess?
Please don't hesitate to let me know if more information is needed. Thank you!
 
Old 07-19-2008, 08:11 PM   #2
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Original Poster
Rep: Reputation: 30
can log in from command line but not from GUI logon screen-- resolved

Basically just started all over.

Logged into the command line as root, used "groupdel" and "userdel" to just get rid of everybody. Then used "adduser" to restore OldName and everything boots into GUI just fine-- even my /home/OldName directory is intact, as well as all my auto-start items.

Sometimes I think I tinker too much with Linux!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No GUI Log on screen Gentoo liZard12 Linux - Newbie 5 08-25-2007 12:54 PM
no graphic interface after installing suse 9.1 on logon only command line opens kunalghosh Linux - Newbie 1 03-23-2007 06:52 AM
command line vs gui resnostyle Linux - Newbie 19 05-19-2006 07:24 AM
log into the command line only screen at bootup chongluo Linux - Newbie 2 03-26-2004 02:00 PM
no gui logon screen RH9?? sallas Red Hat 5 09-18-2003 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration