1

I have created a new Ubuntu 16.04 server installation today, added Ubuntu-desktop and mate-desktop, and now whenever I try to log in with the user I created during setup, the login screen comes back and no error message is displayed. I do Ctrl+Alt+F1, and there my login works fine.

I do ls and I have only Desktop directory.

So I saw some answers recommending deleting .Xauthority, which I did, but it did not help

I rebooted and tried MATE desktop. When I try to login, I get an error:

Could not update ICEAuthority file /home/myuser/iceauthority

and

Path for the directory containing caja settings need read and write permissions /home/myuser/.config/caja

I ran

chmod 777 .config

which enabled me to log in, but I can't see any menu or link or icon except a link to my home directory, so the system is unusable.

So what is going wrong?

.ICEauthority owned by salam (user) with rw-r--r--

Here is the ouput for tail xsession:

xsession-errors

Lorenz Keel
  • 8,905
S.ELIAS
  • 39
  • I forgot to mention that after this 1st error message, I get a 2nd one indicating " Path for the directory containing caja settings need read and write permissions /home/myuser/.config/caja". – S.ELIAS Mar 23 '18 at 22:41
  • Please log in via Ctrl+Alt+F1 again and run namei -l ~/.ICEauthority (note the capitalization) and [edit] your question to include the result – steeldriver Mar 24 '18 at 00:57
  • HI, any feedback? – S.ELIAS Mar 29 '18 at 12:45
  • Can you describe the link that you see in more detail? Is there anything of interest in the .xsession-errors file? (you can add the output of tail ~/.xsession-errors to your question) – steeldriver Mar 29 '18 at 12:51
  • I responded and added a snapshot in my initial post – S.ELIAS Mar 30 '18 at 08:38
  • I still don't see a description of the "link to my home directory" anywhere - my best guess is that your problem is a result of file ownership rather than permissions: you could run find ~ ! \( -uid $(id -u) -gid $(id -g) \) -ls to see what non user-owned files / directories exist in your home dir. – steeldriver Mar 30 '18 at 13:32
  • Does this answer your question? Ubuntu gets stuck in a login loop – karel Aug 30 '20 at 13:46

0 Answers0