This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: startx doesn't if $HOME contains white spaces
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 19 Nov 2008 14:48:40 +0100 (CET)
- Subject: Re: startx doesn't if $HOME contains white spaces
- Reply-to: cygwin-xfree at cygwin dot com
--- ludo ha scritto:
> Hello,
>
> my $HOME is :
> $ echo $HOME
> /c/Documents and Settings/patrick.PRO2204
>
it is not a good idea:
http://cygwin.com/faq/faq-nochunks.html#faq.using.filename-spaces
> 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 ?
>
of course, for this reason we don't do it :-)
my $HOME in cygwin is /home/marco
Regards
marco
Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo
--
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/