I rebooted my VM and now I can't login. It gives me the following error:
Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you fix this problem.
View details (!/.xsession-errors file)
/etc/gdm/Xsession: Beginning session setup...
mkdtemp: private socket dir: Permission denied
When changing the session to failsafe gnome it gives me Could not find the GNOME installation, will try running the "Failsafe xterm" session. And when trying failsafe terminal I get Cannot find "xterm" to start a failsafe session.
I had not rebooted my VM in a while; I can't think of something that would cause this. But how do I fix it?
Edit: The output of stat /tmp:
File: `/tmp`
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 801h/2049d Inode: 131238 Links: 13
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-02-15 06:18:42.360913478 -0700
Modify: 2012-02-16 19:17:01.514555114 -0700
Change: 2012-02-16 19:17:01.514555114 -0700
stat /tmp? Often this is caused by a bad directory mode for/tmp(generally it should be 1777 and owned by root). – Chris Down Feb 15 '12 at 23:22Ctrl+Alt+F1to bring up a text mode login prompt, or log in through the network (with ssh) if that's enabled. Then you can start investigating. – Gilles Feb 16 '12 at 1:21stat /tmp– DeaDEnD Feb 17 '12 at 2:54