Cannot logon as user

david nux at blueyonder.co.uk
Wed Jun 1 07:57:50 UTC 2005


On Wed, 2005-06-01 at 00:37 -0700, Daniel Robitaille wrote:
> On 01/06/05, Vicky <shriked at gmail.com> wrote:
> > Hi,
> > 
> > I cannot login to either Gnome or KDE (or even IceWM) and i keep
> > getting this error message as soon as I login.
> > 
> > "GDM could not write to your authorization file.  This could mean that you
> > are out of disk space or that your home directory could not be opened for
> > writing.  In any case, it is not possible to log in.  Please contact your
> > system administrator"
> > 
> > However, I can login and use the computer with no problems as Root.
> > Any suggestions or things that I can try out?
> 
> I would guess your .Xauthority file is not owned by you anymore, but
> by root.  For example, mine on my machine is owned by my username:
> 
> $ ls -l /home/daniel/.Xauthority
> -rw-------  1 daniel daniel 215 2005-05-31 20:13 /home/daniel/.Xauthority
> 
> 
> -- 
> Daniel Robitaille
> 

To change it back.
Ctrl F6 at the login screen. Login, su to root then type

sudo chown yourname /home/yourname/.Xauthority

Ctrl D to log out then Ctrl F7 to go back to the login screen. 
Then log in as normal.

nux









More information about the ubuntu-users mailing list