LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-13-2009, 03:43 PM   #1
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 1,509

Rep: Reputation: 288Reputation: 288Reputation: 288
Xsession failure


I've just tried to replace by Fedora 8 with Debian 5. All went well until the first login, which failed with the message that /etc/gdm/xsession could not set mode 0700 on .gnome2-private because the operation was not permitted.

I suppose I could have started without Xwindow, but since I don't understand what was wrong, I couldn't have sorted out the problem if I had.

My .gnome2-private file, like all the home directory, had been preserved from my previous installation. That used Gnome version 2.20.1, while the new one uses 2.22.3. Would that have anything to do with it? Surely not, or upgrading would be a bit of a problem.
 
Old 05-14-2009, 04:49 AM   #2
purevw
Member
 
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE 12, Kernel 3.**
Posts: 43

Rep: Reputation: 26
It could possibly be a permission problem, since the file was "owned" by a different OS. You might try renaming it to .gnome2-private-old and reboot. Many times, if a config file is missing, the system will create a new default file in it's place. If the xsession starts ok after that, you may be able to either edit your original file, or change the permissions on it.
 
Old 05-14-2009, 09:19 AM   #3
Dr_P_Ross
Member
 
Registered: Nov 2003
Location: Edinburgh, UK
Distribution: Mandriva
Posts: 32

Rep: Reputation: 17
One occasional source of trouble when switching distributions but keeping /home is that the new distribution may assign you a different user ID number, so that as far as gnome is concerned some other (possibly nonexistent) user owns the file. It's easy to do an `ls -l' and look at the permissions but overlook which user and group happens to own the file. Just a thought..
 
Old 05-14-2009, 09:58 AM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Why not try to zip up that folder and back it up, so that you don't lose it. Then, delete the folder and see if X will start without your old Fedora settings in place. If it doesn't work, you haven't lost your config folder, as you can simply unzip it.
 
Old 05-14-2009, 10:49 AM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 1,509

Original Poster
Rep: Reputation: 288Reputation: 288Reputation: 288
Thanks for the replies. The solution had occurred to me; I just had an academic interest in knowing what was wrong. The permissions for .gnome2-private are the same for all the other configuration directories so, if that was the problem, it should have protested earlier. It's hardly the most important one: all mine has in it is Evolution's email information. I suppose "mode 0700" must remain one of Linux's little mysteries!
 
Old 05-14-2009, 01:30 PM   #6
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
After doing some further reading (without getting a concrete answer), I think that this might be something caused by selinux. You might have to change the permissions of either that folder or some of its contents.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Supply failure or Motherboard failure? neilthereildeil Linux - Hardware 3 06-09-2008 04:47 PM
is this a disk failure msg - hdc: request senense failure walterj Linux - Hardware 3 03-25-2008 11:01 PM
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 07:59 PM
Where is ~/.xsession ? Frybyte Linux - General 4 10-20-2004 04:44 PM
PostScript failure result in printing failure cawwt Linux - General 2 10-01-2004 01:06 PM


All times are GMT -5. The time now is 04:15 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration