This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

startx doesn't if $HOME contains white spaces


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]