xsession fails during login

Asked by fucardieri

suddenly, I am unable to login with anything other than root.
Using gnome on Ubuntu 8.10
the .xsesson-errors shows this

/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
mkdtemp: private socket dir: Permission denied

Any help is greatly appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Chaker ZAAFOURI
Solved:
Last query:
Last reply:
Revision history for this message
Best Chaker ZAAFOURI (zaafouri) said :
#1

I think that your problem si due to creation temporary files on /tmp
Give permission to create temp files on /tmp :
$ sudo chmod -vR 01777 /tmp
If you have an error, create /tmp first :
$ sudo mkdir /tmp ; sudo chmod -vR 01777 /tmp
Keep us informed =)

Revision history for this message
fucardieri (jose-escude-zionsbancorp) said :
#2

thanks, problem solved. don't know why I did not think to look at /tmp - what would have changed the access rights to /tmp? All I have done on this box was apply latest updates. Oh, well, back in business - thanks again.