Results 1 to 4 of 4

Thread: Login only possible as root

  1. #1
    Join Date
    Feb 2009
    Location
    Sintra, Portugal
    Beans
    65
    Distro
    Xubuntu Development Release

    Login only possible as root

    Hello

    After today's sudo upgrade on Karmic amd64, I am able to login only as root on my xubuntu system. Tried to change password on my user account but the result is the same. Is anybody experiencing the same behavior?

    Cheers

    Antonio
    All the best

    Antonio

  2. #2
    Join Date
    Jan 2009
    Beans
    Hidden!

    Re: Login only possible as root

    Does this apply to console logins too? Or just to graphical logins?

    Is it possible that the permissions on some file or directory in your home directory is preventing login? Run this command, where $USER is the username on the problem account:
    Code:
    find /home/$USER \! -user $USER
    Are there any unexpected files in the listing?

    And my final thought ... do you see any relevant error or warning messages in any of the log files? The most useful ones would probably be messages, deamon.log, auth.log, and user.log, though any other log file might have something if those don't.

  3. #3
    Join Date
    Feb 2009
    Location
    Sintra, Portugal
    Beans
    65
    Distro
    Xubuntu Development Release

    Re: Login only possible as root

    Hello Brandon

    Thanks for your reply. I was talking about graphical login. I will take a short survey on permissions on the basis you suggest and will get back to you asap. Meanwhile I am using gnome as a graphic environment, and it is working as sought.
    All the best

    Antonio

  4. #4
    Join Date
    Feb 2009
    Location
    Sintra, Portugal
    Beans
    65
    Distro
    Xubuntu Development Release

    Re: Login only possible as root

    Good morning

    So I finally checked out the permissions, and .ICEauthority had root permissions.

    sudo chown <user>:<group> ~/.ICEauthority

    and that's it.

    Gnome complained about the file but login went ahead, not xfce, xfce will not allow login.

    Thanks for the tip, Brandon, I should suspect permissions right from the start.
    All the best

    Antonio

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •