public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Unable to start XWin with --nolock
@ 2010-08-26 17:38 Richard Gitschlag
2010-08-26 17:46 ` Jon TURNEY
0 siblings, 1 reply; 2+ messages in thread
From: Richard Gitschlag @ 2010-08-26 17:38 UTC (permalink / raw)
To: cygwin-xfree
I am having trouble starting XWin on my system.
It complains about being unable to "read lock" the file -- okay, so it resides on a FAT32 drive, no big. Just add --nolock to my command line and move on.
But it doesn't work. But it does. But doesn't.
I AM able to run XWin from inside cygwin's bash prompt:
$ xinit -- -nolock -multiwindow
$ startxwin -- -nolock
But I can NOT run Xwin from a Windows command prompt or a Start Menu shortcut:
> /cygwin/bin/run.exe /usr/bin/bash.exe -l -c /usr/bin/xinit -- -nolock -multiwindow
> /cygwin/bin/run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin -- -nolock
In these cases I am given the read-lock error, and:
"XWin was started with the following command line: X :0"
In other words, I am unable to pass my command-line options to XWin, so I cannot work around the error.
Did I overlook something? What do I do next?
-- Stratadrake
strata_ranger@hotmail.com
--------------------
Numbers may not lie, but neither do they tell the whole truth.
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unable to start XWin with --nolock
2010-08-26 17:38 Unable to start XWin with --nolock Richard Gitschlag
@ 2010-08-26 17:46 ` Jon TURNEY
0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2010-08-26 17:46 UTC (permalink / raw)
To: cygwin-xfree; +Cc: strata_ranger
On 26/08/2010 18:18, Richard Gitschlag wrote:
> I am having trouble starting XWin on my system.
>
> It complains about being unable to "read lock" the file -- okay, so it resides on a FAT32 drive, no big. Just add --nolock to my command line and move on.
>
> But it doesn't work. But it does. But doesn't.
>
> I AM able to run XWin from inside cygwin's bash prompt:
>
> $ xinit -- -nolock -multiwindow
> $ startxwin -- -nolock
>
> But I can NOT run Xwin from a Windows command prompt or a Start Menu shortcut:
>
>> /cygwin/bin/run.exe /usr/bin/bash.exe -l -c /usr/bin/xinit -- -nolock -multiwindow
>
>> /cygwin/bin/run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin -- -nolock
>
> In these cases I am given the read-lock error, and:
>
> "XWin was started with the following command line: X :0"
>
> In other words, I am unable to pass my command-line options to XWin, so I cannot work around the error.
>
> Did I overlook something? What do I do next?
You need to quote the command after -c to prevent bash assuming those options
are meant for itself.
This has been answered a few times before, e.g. at [1]
I'm not sure if you arrived at using -nolock from reading FAQ 3.4 [2], perhaps
I need to improve that FAQ to give more guidance.
[1] http://sourceware.org/ml/cygwin-xfree/2010-04/msg00026.html
[2] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cant-read-lock-file
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-26 17:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-26 17:38 Unable to start XWin with --nolock Richard Gitschlag
2010-08-26 17:46 ` Jon TURNEY
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).