LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 06: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, 07: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, 09:56 PM   #3
3l10
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Nope.
 
Old 09-25-2003, 10: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, 01: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, 04: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, 07: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



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 06:59 AM
xfce4-session fails to save session ! OneManArmy Debian 0 12-10-2004 02:14 PM
How to save a session? jpan Debian 3 09-28-2004 03:26 AM
blackbox-save session ANU Linux - Software 3 10-01-2003 06:42 AM
blackbox-save session ANU Linux - Software 0 09-25-2003 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 PM.

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
Open Source Consulting | Domain Registration