This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
startx doesn't if $HOME contains white spaces
- From: ludo <ludovic dot leman at gmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 19 Nov 2008 12:34:10 +0100
- Subject: startx doesn't if $HOME contains white spaces
- Reply-to: cygwin-xfree at cygwin dot com
Hello,
my $HOME is :
$ echo $HOME
/c/Documents and Settings/patrick.PRO2204
when I start 'startx'
$ startx
/usr/bin/startx: line 38: [: too many arguments
/usr/bin/startx: line 107: [: too many arguments
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (10503000)
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
/usr/bin/X :0 -auth /c/Documents and
Settings/patrick.PRO2204/.serverauth.3056
Unrecognized option: and
use: X [:<display>] [option]
I think that white spaces in my $HOME directory name causes the problem.
I patch startx on lines 38 and 107
if [ -f "$userclientrc" ]; then
if [ -f "$userserverrc" ]; then
but this is not enough ...
does anybody encounters the same problem ?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/