Bug 139285

Summary: Xclients fallbacks not working as expected
Product: [Fedora] Fedora Reporter: Ville Skyttä <scop>
Component: xinitrcAssignee: Mike A. Harris <mharris>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: xgl-maint
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-05 12:56:30 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:
Bug Depends On: 112478, 142260    
Bug Blocks: 136451    
Attachments:
Description Flags
Fix Xclients fallbacks none

Description Ville Skyttä 2004-11-14 22:22:35 UTC
I've just installed a fresh FC3, chose KDE, no Gnome or XFCE during
install.  Before logging in the first time (to X), fetched all
updates.  Then, login... whoa, twm!  /etc/sysconfig/desktop has
DESKTOP="GNOME", and I don't have Gnome installed.

What this has to do with xinirc: while looking into this, I dug into
Xclients, the fallbacks of which do not work as I would expect, ie.
even given the above /etc/sysconfig/desktop setting, I would have
expected KDE to be launched as the system default.  Attached is a
patch that fixes it.  It also avoids a few "which" calls, and IMO
makes it a bit easier to follow.

What component should I file a bug about the incorrect
/etc/sysconfig/desktop setting against?

Comment 1 Ville Skyttä 2004-11-14 22:24:38 UTC
Created attachment 106682 [details]
Fix Xclients fallbacks

(Against xinitrc-4.0.14-1.)

Comment 2 Ville Skyttä 2004-12-09 20:23:34 UTC
ping

Comment 3 Mike A. Harris 2004-12-10 19:47:15 UTC
I've reviewed the above patch, and it looks good to me, with the
added bonus of making the code cleaner and less crackrockish.

Thanks Ville, I'm applying it to the next xinitrc build.

Comment 4 Ville Skyttä 2004-12-10 20:00:06 UTC
Thanks.  Would you happen to have an idea what component to report the
root cause (see first paragraph in this bug report) against? 
/etc/sysconfig/desktop is not owned by any package.

Comment 5 Mike A. Harris 2004-12-11 00:49:57 UTC
The "distribution" component is best used when one isn't quite
sure of the correct component for a particular problem.  Bugs
filed against distribution are for both distribution generic issues
and requests, as well as for bugs that people aren't sure where to
file.  The component owner (notting) will reassign them to the
component most likely to fit the problem domain.

Hope this helps.

Comment 8 Mike A. Harris 2005-04-05 12:56:30 UTC
Fixes integrated into xinitrc-4.0.16-1 in rawhide.  Please test and
provide feedback.

Thanks again.

Comment 9 Ville Skyttä 2005-04-13 15:07:16 UTC
Fallback seems to work ok in FC4t2, xinitrc-4.0.18-1.  Thanks.