LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X won't start; save session prob's (https://www.linuxquestions.org/questions/linux-newbie-8/x-wont-start%3B-save-session-probs-96922/)

3l10 09-25-2003 06:32 PM

X won't start; save session prob's
 
For some reason, X didn't save the session properly (I think Opera might've had something to do with it). I managed to boot it up using xinit, and from the X window gnome-session --failsafe, but I'd like to get startx to work again. When I invoke startx, it freezes up when it loads the window manager. When I abort it using ctrl-mod-bkspc, it says "Failed to read save session file..." The file it says doesn't exist. Some help please????:confused:

KevinJ 09-25-2003 07:09 PM

is there a hidden file in your home directory called ".xsession"?

the "." makes it hidden. You can try deleting it:

cd ~
rm .xsession


Don't forget the "."

-K

3l10 09-25-2003 09:56 PM

Nope.

KevinJ 09-25-2003 10:12 PM

I am reaching here, but whatever file that is says it can't read and you say doesn't exist....

touch /wherever/that_filename

and see if that helps

-K

3l10 09-26-2003 01:01 PM

Maybe I should go a little more in depth here. I'm using Redhat 8.0. The directory is /.metacity/sessions, and then the file is a *.ms file. Should I just change my window manager to sawfish? How would I go about doing this?

KevinJ 09-29-2003 04:11 PM

Okay, I am not an X-Windows expert by an stretch of the imagination.. but lets run this down....

When typing "startx" this thing will hang, but you can get it to work with failsafe settings. This makes it sound like user environment for sure.

Can you get "startx" to work for another user? If so, can you try deleting the .metacity/sessions directory from the troublesome user and copying the same directory over from the user that works? (Set permissions appropriately of course.)

-KevinJ

3l10 09-29-2003 07:06 PM

Actually, a friend of mine and I just dove into it and just fiddled around with my xinitrc and just had it run gnome-session --failsafe. Thanks for your help anyway. :)


All times are GMT -5. The time now is 11:56 PM.