startx doesn't if $HOME contains white spaces
Marco Atzeri
marco_atzeri@yahoo.it
Wed Nov 19 13:49:00 GMT 2008
--- 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/
More information about the Cygwin-xfree
mailing list