So you login to your Linux machine using Xwindows, either remotely with some window manager running locally or at the console, and POOF! there are no icons or menus on your desktop. How are you going to get anything done if you cant start any applications?
Well I don't know what the cause of the problem is, I will assume either X crashed or your last X session was interrupted in some manner, but the actual problem is that X creates a bunch of temporary files in /tmp for your X sessions.
drwx------ 3 v683653 gsoc 4096 Mar 28 13:45 gconfd-<userid>
drwx------ 2 v683653 gsoc 4096 Mar 28 13:45 keyring-WnN0sX
srwxr-xr-x 1 v683653 gsoc 0 Mar 28 13:45 mapping-<userid>
drwx------ 2 v683653 gsoc 4096 Mar 28 13:45 orbit-<userid>
drwx------ 2 v683653 gsoc 4096 Mar 28 13:45 ssh-zBclu32077
-rw------- 1 v683653 gsoc 2940 Mar 28 13:45 xses-<userid>.NBYSMy
and it is supposed to destroy these or create new the next time you create an X session. Well if your X session crashes or is interrupted in some other bad way these files aren't removed.
So simply end your current X session and delete them in any manner you like, I like to do it like this:
rm -r /tmp/*<userid>*
And then try to login to X again, you should see your desktop as normal again.

Recent Comments