This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Portable Cygwin works, but XWin fails
- From: Brian Ford <ford at vss dot fsi dot com>
- To: cygwin-xfree at cygwin dot com, fergus at bonhard dot uklinux dot net
- Date: Wed, 10 Dec 2003 16:14:44 -0600 (CST)
- Subject: Re: Portable Cygwin works, but XWin fails
- References: <000701c3bf64$f335ccd0$0b7b2852@leper>
- Reply-to: cygwin-xfree at cygwin dot com
On Wed, 10 Dec 2003 fergus@bonhard.uklinux.net wrote:
> I have been able to run portable versions of Cygwin, reduced in one way or
> another, both from writable USB memory sticks and from unwritable CDs.
> Lately I tried running XWin from a writable stick. By observing which files
> were written where, and as a consequence setting up links using
> ln -s /dev/null /tmp/Xwin.log
> ln -s /dev/null /var/run/utmp
> it really seemed that I had addressed all problems: in repeated uses,
> nothing new was written to the stick at all. I then burned a CD, but
> disappointingly XWin "dies" as soon as it is started. That is, I start the
> process with bash, and then try
> XWin -multiwindow &
> which I would normally follow with
> rxvt -display localhost:0.0 -e bash
> but XWin does not persist. (Sorry: I don't know how to express what happens
> other than to say it "dies" immediately.)
> This is VERY disappointing. Any clues to what else I might try?
>
What is your display variable set to? Do you have a /tmp/.X11-unix/X0
file on your memory stick? That might be the issue.
> By the way, in mounting the portable version, I have already established
> that the directory /cygdrive/c/tmp/ must exist, so I suppose I could try
> ln -s /cygdrive/c/tmp/XWin.log /tmp/XWin.log
> before burning to CD. (I've already made 5 coasters. At this rate I'll be
> able to floor the bathroom.)
> Thanks.
> Fergus
>
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444