public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Starting XWin from a portable CD
@ 2011-03-13 8:57 Fergus
2011-03-13 19:46 ` Jon TURNEY
0 siblings, 1 reply; 2+ messages in thread
From: Fergus @ 2011-03-13 8:57 UTC (permalink / raw)
To: Cygwin ML X; +Cc: Fergus
I'm running Cygwin-X from a portable device.
From a write-able stick the start command
bin\run bin\XWin -nolock -nolisten local -logfile /dev/null -multiwindow &
works perfectly well. Notice the switch -logfile /dev/null which means
the file XWin.0.log is not written.
(Slightly odd I know. The switch -logfile should specify a filename not
a directoryname, but it seems to work?)
However using an identical architecture as on the stick, but on a CD,
the same start command results in
"Failed to activate core devices".
So is there something else that needs to be written and cannot be
diverted to /dev/null (or somewhere write-able).
Or, if I know what it is, can I divert it or otherwise turn it off?
(Oh woe woe woe. I've lost count of the things that worked so easily on
1.5 and somehow don't on 1.7, this start command on a portable CD being
one of the list.)
Thank you!
Fergus
--
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: Starting XWin from a portable CD
2011-03-13 8:57 Starting XWin from a portable CD Fergus
@ 2011-03-13 19:46 ` Jon TURNEY
0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2011-03-13 19:46 UTC (permalink / raw)
To: cygwin-xfree; +Cc: fergus
On 13/03/2011 08:56, Fergus wrote:
> I'm running Cygwin-X from a portable device.
> From a write-able stick the start command
> bin\run bin\XWin -nolock -nolisten local -logfile /dev/null -multiwindow &
> works perfectly well. Notice the switch -logfile /dev/null which means the
> file XWin.0.log is not written.
> (Slightly odd I know. The switch -logfile should specify a filename not a
> directoryname, but it seems to work?)
/dev/null is not a directory
> However using an identical architecture as on the stick, but on a CD, the same
> start command results in
> "Failed to activate core devices".
> So is there something else that needs to be written and cannot be diverted to
> /dev/null (or somewhere write-able).
> Or, if I know what it is, can I divert it or otherwise turn it off?
You didn't attach the XWin output, so I'm guessing here, but during server
startup the mandatory XKB extension needs to invoke xkbcomp to compile the
keymap into a temporary file in /var/lib/xkb/ which it then reads and deletes.
You should be able to confirm that is the case by reading the XWin output, or
running your XWin commmand under strace, in which case you will need to
arrange for /var to be mounted somewhere read/write.
> (Oh woe woe woe. I've lost count of the things that worked so easily on 1.5
> and somehow don't on 1.7, this start command on a portable CD being one of the
> list.)
Whilst I appreciate the therapeutic power of having a whine, this doesn't
really add anything to your email.
--
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:[~2011-03-13 19:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-13 8:57 Starting XWin from a portable CD Fergus
2011-03-13 19: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).