Results 1 to 10 of 11

Thread: Can't login on user

Hybrid View

  1. #1
    Join Date
    Aug 2010
    Beans
    8

    Re: Can't login on user

    Been away so havn't been able to investigaste this more until today

    That command makes nothing happen

  2. #2
    Join Date
    Feb 2007
    Location
    Little Rock, AR
    Beans
    372
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Can't login on user

    That command creates a blank hidden file called .profile in your home directory. Carlee suggested it in order to help xorg find the file it is looking for here:

    Code:
    .: 34: Can't open /home/user/.profile
    - Silverglade00

  3. #3
    Join Date
    Aug 2010
    Beans
    8

    Re: Can't login on user

    Still get .: 34: Can't open /home/elobee/.profile when running cat ~/.xsession-errors

  4. #4
    Join Date
    Aug 2010
    Beans
    8

    Re: Can't login on user

    After getting help from the #ubuntu-beginners channel (Thanks Phillinux and Hobgoblin) the problems seems to be that .profile is owned by 1000:1000 and not by me. Something called chroot was maybe needed.

    So can anyone help me with solving this problem by chroot or maybe some other way?

    Edit: apparantly it was owned by me when checking in the text mode.

    Please, anyone know what to do?

    Edit2: What I can say is that the .profile actually exists and contains exactly the data it should contain, so what could be the problem?
    Last edited by elobee; August 17th, 2010 at 07:20 PM.

  5. #5
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: Can't login on user

    I'm not an expert but what is owned by 1000:1000 should be owned by elobee, too; because 1000 should be your uid ("nano /etc/group" and you'll see the line "elobee: x :1000:"). I mean, I'm not sure you're going on the right direction by thinking about permissions. If you're right, setuid might solve the problem:
    Code:
    sudo chmod +s /home/elobee/.profile
    I don't know, maybe worth trying?
    edit: ": x" without a space makes angry smiley
    edit2: ah, you can't login. with a live cd maybe?
    Last edited by dagdeniz; August 17th, 2010 at 07:54 PM.

  6. #6
    Join Date
    Aug 2010
    Beans
    8

    Re: Can't login on user

    I have logged in from the usb I installed ubuntu but the only thing I could acomplish from that was stating that the .profile actually is there and has the correct data in it.

    And as stated above it turned out .profile in fact was owned by me.

    I run that command u wrote from the CTRL ALT F1 terminal but it didn't change anything.

  7. #7
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Can't login on user

    hmm.. don't know what .profile is for.
    I don't have one...
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

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
  •