LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2003, 07:32 PM   #1
3l10
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
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????
 
Old 09-25-2003, 08:09 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
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
 
Old 09-25-2003, 10:56 PM   #3
3l10
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Nope.
 
Old 09-25-2003, 11:12 PM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
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
 
Old 09-26-2003, 02:01 PM   #5
3l10
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 09-29-2003, 05:11 PM   #6
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
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
 
Old 09-29-2003, 08:06 PM   #7
3l10
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'Session Save' d0tc0mguy Linux - Newbie 2 04-22-2005 07:59 AM
xfce4-session fails to save session ! OneManArmy Debian 0 12-10-2004 03:14 PM
How to save a session? jpan Debian 3 09-28-2004 04:26 AM
blackbox-save session ANU Linux - Software 3 10-01-2003 07:42 AM
blackbox-save session ANU Linux - Software 0 09-25-2003 03:19 PM


All times are GMT -5. The time now is 01:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration