Cannot logon as user

ZIYAD A. M. AL-BATLY zamb at saudi.net.sa
Wed Jun 1 08:01:19 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
> 
If that's the case, login from a console (by hitting “CTRL+ALT+F1”) and
run the following:
        sudo rm .Xauthority

and then, logout (by typing “exit” or hitting “CTRL+D”) and go GDM or
KDM (by hitting “ALT+F7”) and try again.  Tell us what you get.

Ziyad.




More information about the ubuntu-users mailing list