Bug 416221

Summary: xfce4 crashes X Server on startup if xfce4-session package installed
Product: [Fedora] Fedora Reporter: Norman R. Weathers <norman.r.weathers>
Component: xfce4-sessionAssignee: Kevin Fenzi <kevin>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-11 19:44:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
set -x output from startxfce4 script as well as error output from run as a user
none
Output from Xorg.0.log
none
.xsession-errors output from startup none

Description Norman R. Weathers 2007-12-07 22:53:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.10) Gecko/20071128 Fedora/2.0.0.10-2.fc8 Firefox/2.0.0.10

Description of problem:
As a normal user, if I try to run startx (or startxfce4) from runlevel 3, XFCE4 crashes.  If I run the command as root, everything works.  If I run the startx command as:    startx -- :1
as a normal user, then I do get a working xfce4, but I cannot setup any GL Desktop settings.

If I remove the xfce4-session packages (x64 and i386, plus the session-engines), then I can get a running xfce4, but with no way to save my configiration.

I have removed the .config directory and had xfce4 recreate it, but nothing seems to help.

This is an x86_64 build with dual screens (nvidia card running nvidia driver).



Version-Release number of selected component (if applicable):
xfce4-session-4.4.1-2.fc8

How reproducible:
Always


Steps to Reproduce:
1. Install xfce4 packages (including sessions packages)
2. Either try to log in (runlevel 5) or startx (or startxfce4)
3. Watch the desktop almost startup and then crash

Actual Results:
The desktop crashes just after loading.  You can see the desktop for a brief second.

Expected Results:
The desktop should come up all the way.

Additional info:

Comment 1 Norman R. Weathers 2007-12-07 22:57:17 UTC
Created attachment 281751 [details]
set -x output from startxfce4 script as well as error output from run as a user

This is the output from the startx run (startx when run as normal user on
normal console).

Comment 2 Norman R. Weathers 2007-12-07 23:01:03 UTC
xfce4 works on my 32 bit laptop (single screen) using an ATI delivered driver.

Comment 3 Kevin Fenzi 2007-12-07 23:04:56 UTC
Is there anything in your ~/.xsession-errors file?

Is this a clean install? Or an upgrade from a previous version?

What is the output of: 'rpm -qa | grep xf' 

If you create a new user and try and login via gdm with an Xfce session does it
work?

What is the output of 'getenforce' ?

You are using the nvidia binary only driver? Does the problem persist with the
open source 'nv' driver?


Comment 4 Norman R. Weathers 2007-12-11 15:04:36 UTC
> What is the output of: 'rpm -qa | grep xf' 

libXxf86dga-1.0.1-4.fc8
libxfcegui4-4.4.1-3.fc8
xfce4-systemload-plugin-0.4.2-3.fc8
xfprint-4.4.1-2.fc8
libXxf86misc-1.0.1-4.fc8
xfce4-icon-theme-4.4.1-3.fc8
xfce4-datetime-plugin-0.5.0-3.fc8
xfwm4-themes-4.4.1-2.fc8
libXxf86misc-1.0.1-4.fc8
libXxf86vm-devel-1.0.1-4.fc8
xfce4-quicklauncher-plugin-1.9.4-1.fc8
xfce4-clipman-plugin-0.8.0-3.fc8
xfsprogs-2.9.4-4.fc8
libXxf86dga-devel-1.0.1-4.fc8
xfce4-mailwatch-plugin-1.0.1-7.fc8
xfce4-eyes-plugin-4.4.0-3.fc8
xfce4-session-4.4.1-2.fc8
libXxf86vm-1.0.1-4.fc8
xfwm4-4.4.1-3.fc8
xfce4-xkb-plugin-0.4.3-3.fc8
xfce4-sensors-plugin-0.10.0-6.fc8
xfce4-dict-plugin-0.2.1-3.fc8
xfce4-minicmd-plugin-0.4-7.fc8
libxfcegui4-4.4.1-3.fc8
xfce4-panel-4.4.1-4.fc8
xfce4-xfapplet-plugin-0.1.0-4.fc8
xfce4-verve-plugin-0.3.5-3.fc8
xfce4-weather-plugin-0.6.0-1.fc7
xfce-mcs-plugins-4.4.1-3.fc8
libXxf86dga-devel-1.0.1-4.fc8
libXxf86misc-devel-1.0.1-4.fc8
libxfce4util-4.4.1-3.fc8
xfce-utils-4.4.1-3.fc8
xfce4-genmon-plugin-3.1-3.fc8
xfce4-timer-plugin-0.5.1-3.fc8
xfce4-wavelan-plugin-0.5.4-3.fc8
xfce4-websearch-plugin-0.1.1-0.6.20070428svn2704.fc8
xfsprogs-2.9.4-4.fc8
libXxf86vm-1.0.1-4.fc8
libXxf86dga-1.0.1-4.fc8
libXxf86vm-devel-1.0.1-4.fc8
libxfce4mcs-4.4.1-3.fc8
libxfce4mcs-4.4.1-3.fc8
xfce4-places-plugin-0.9.992-1.fc8
xfce4-notes-plugin-1.4.1-3.fc8
xfce4-netload-plugin-0.4.0-6.fc8
xfce4-mixer-4.4.1-3.fc8
xfce4-appfinder-4.4.1-2.fc8
xfprint-4.4.1-2.fc8
pyxf86config-0.3.34-1.fc8
gnome-vfs2-obexftp-0.4-2.fc8
xfce4-mount-plugin-0.5.1-3.fc8
xfce4-screenshooter-plugin-1.0.0-6.fc8
xfdesktop-4.4.1-3.fc8
xfce4-diskperf-plugin-2.1.0-3.fc7
xfce4-fsguard-plugin-0.3.0-6.fc8
xfce4-xmms-plugin-0.5.1-1.fc7
libxfce4util-4.4.1-3.fc8
xfce-mcs-manager-4.4.1-3.fc8
xfce4-smartbookmark-plugin-0.4.2-5.fc8
xfce4-taskmanager-0.4.0-0.2.rc2.fc6
libXxf86misc-devel-1.0.1-4.fc8
xfce4-cpugraph-plugin-0.3.0-5.fc7
xfce4-panel-4.4.1-4.fc8


Comment 5 Norman R. Weathers 2007-12-11 15:12:47 UTC
Created attachment 284161 [details]
Output from Xorg.0.log

Output from Xorg.0.log

Comment 6 Norman R. Weathers 2007-12-11 15:15:11 UTC
 > If you create a new user and try and login via gdm with an Xfce session does it
work?

Yes, it does.  I thought for sure that I had cleaned up (ie, removed) the
.config directory, but I will try and remove it again to see if it makes a
difference.

> What is the output of 'getenforce' ?

Disabled

> You are using the nvidia binary only driver? Does the problem persist with the
open source 'nv' driver?

For my account, yes it does.  It has to be a configuration setting somewhere
that is stuck, but for the life of me, I can't find it.

I have attached the Xorg.0.log file.


Comment 7 Norman R. Weathers 2007-12-11 15:22:16 UTC
Created attachment 284191 [details]
.xsession-errors output from startup

This is the output from the .xsession-errors on startup of xfce4 on my
workstation (during a crashed login).

Comment 8 Norman R. Weathers 2007-12-11 15:23:41 UTC
Also, I have removed the .config directory and let xfce4 recreate it, and now it
will log me in instead of crashing all the way back out to the GDM login screen,
but it fails immediately with a dialog box saying that my session lasted less
than 10 seconds, and with the output from the .xsession-errors log file that I
have attached in Comment #7.

Comment 9 Kevin Fenzi 2007-12-11 16:50:13 UTC
Xfce also uses a ~/.cache directory to store session information and such. 
Can you try moving that out of the way as well as .config and restarting?

In addition, can you try logging in via gdm? startx doesn't work with
ConsoleKit, so you may not get device permissions you need to get when you login. 



Comment 10 Norman R. Weathers 2007-12-11 19:35:42 UTC
That fixed it!  I had to remove the .cache and .config directories and now I can
use XFCE as my desktop.  Thanks!

This is also using the GDM.


(Writing this from xfce now).

This bug can now be closed.

Comment 11 Kevin Fenzi 2007-12-11 19:44:13 UTC
Excellent. This of course brings up the question of how the cache files got
messed up in the first place, but I guess as long as it's working again for you
we can close this.