Been away so havn't been able to investigaste this more until today
That command makes nothing happen
Been away so havn't been able to investigaste this more until today
That command makes nothing happen
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
Still get .: 34: Can't open /home/elobee/.profile when running cat ~/.xsession-errors
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.
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:
I don't know, maybe worth trying?Code:sudo chmod +s /home/elobee/.profile
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.
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.
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