Red Hat Bugzilla – Bug 123545
switchdesk didn't delete .Xclients when command failed.
Last modified: 2007-11-30 17:10:42 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a)
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
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):
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
Workaround : Delete .Xclients and .Xclients-default.
it's fixed in 4.0.4-1, which will be showed up in next release. Many
thanks for your report.