This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

R: starxwin.bat always "misfires" the xterm once



--- Lun 16/2/09, Franz di Coccio  ha scritto:

> Da: Franz di Coccio 
> Oggetto: starxwin.bat always "misfires" the xterm once
> A: cygwin-xfree@cygwin.com
> Data: Lunedì 16 febbraio 2009, 11:08
> Hi all,
> 
>  I have installed cygwin-x on windows XP and I'm pretty
> much happy about it.
> There is only one little annoying thing that I am not able
> to fix.
> I use cygwin-x to ssh into linux systems and occasionally
> launch
> remote applications.
> I do not use a x-desktop.
> 
> I've added an icon to the quick-launch windows toolbar
> pointing to
> startxwin.bat.
> Pressing that icon should launch cygwin-x and open a xterm.
> It does so on my other window box, running win 2000.
> 
> However, on windows xp there seems to be some glitch. The
> first time I
> launch the cygwin-x
> icon after booting the OS, no xterm pops up. At least, not
> immediatly.

I have a similar issue.
It is probably due to Xwin not yet ready when xterm
tries to verify the existence of a X server

try to add 

%CYGWIN_ROOT%\bin\sleep 4

so a 4 second delay (or what ever value is fine for 
you system) before

%RUN% xterm -e /usr/bin/bash -l

this should allow xterm to find a ready Xwin.

> I've been waiting
> a few minutes, but no trace of xterm all the same.
> The xserver is running, though. I can launch an xterm from
> by right
> clicking the small X icon
> in the icon tray, but it opens in /usr/X11R6/bin, prompting
> "bash-3.2$".
> 
> If I close the xserver and launch it a second time, all
> goes as I expect to.
> The xserver is started again, and an xterm almost
> immediatly pops out
> as required
> in startxwin.bat. The xterm correctly starts from my home
> directory.
> 
> Therefore I always have to launch cygwin-x, shut down the
> server and
> launch it again.
> As I mention, this "double launching" is not
> necessary in win 2000.
> The xterm pops up the first time I launch startxwin.bat.
> 
> Is this a known problem? I've tried to search the
> mailing list but
> came up with nothing.
> Perhaps I've used the wrong search terms.
> 
> Thanks a lot for any help
> 
> F

Regards
Marco


      Passa a Yahoo! Mail.

La webmail che ti offre GRATIS spazio illimitato, 
antispam e messenger integrato.
http://it.mail.yahoo.com/??????????????

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]