Bug 123545 - switchdesk didn't delete .Xclients when command failed.
Summary: switchdesk didn't delete .Xclients when command failed.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: switchdesk
Version: 2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-19 09:11 UTC by masanari iida
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-05-27 09:20:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description masanari iida 2004-05-19 09:11:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a)
Gecko/20040518

Description of problem:
First of all, I don't have ~/.Xclients, ~/.Xclients-default.
When I run " switchdesk xfce " without installing xfce,
the command return "ERROR: XFCE not installed!". This is correct
detection.
But at the same time, this command create .Xclients.
Then I run "startx" , X failed to start with following error message.

/home/hoge/.Xclients: line 8: /home/hoge/.Xclients-default: No Such
file or directory. 
/home/hoge/.Xclients: line 8: /home/hoge/.Xclients-default: cannot
execute: No such file or directory.

There is no .Xclients-default file. 
But in this case, I think, switchdesk should not create .Xclients
file if it was not there before.

Version-Release number of selected component (if applicable):
switchdesk-4.0.3-1

How reproducible:
Always

Steps to Reproduce:
1. Delete ~/.Xclients, ~/.Xclients-default file.
2. Make sure xfce filesets are not installed.
3. Run $ switchdesk xfce 
    

Actual Results:  switchdesk detect no XFCE filesets are installed,
then just quit.
At the moment, switchdesk creats ~/.Xclients. But no .Xclients-default.
After this, startx failed to start X Window.

Expected Results:  switchdesk detect no XFCE filesets are installed,
then just quit
without creating .Xclients (if the file is not exist before swithdesk
is executed).


Additional info:

  Workaround : Delete .Xclients and .Xclients-default.

Comment 1 Than Ngo 2004-05-27 09:20:47 UTC
it's fixed in 4.0.4-1, which will be showed up in next release. Many
thanks for your report.


Note You need to log in before you can comment on or make changes to this bug.