This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Starting XWin in XDM mode with no console app?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 14 May 2003 19:35:49 -0400 (EDT)
- Subject: Re: Starting XWin in XDM mode with no console app?
- Reply-to: cygwin-xfree at cygwin dot com
On Wed, 14 May 2003, Ruth Ivimey-Cook wrote:
> Folks,
>
> I was wondering if there is any easy way around this issue. I normally use
> XWin.exe in it's X-Terminal mode, connecting to an external Linux box. This
> works fine, but the way I do it leaves a redundant Win32 console window open.
>
> What I do is run:
> C:\cygwin\bin\bash.exe --login -c "/usr/X11R6/bin/XWin.exe -broadcast -unixkill -fullscreen -dpi 100"
>
> from a taskbar shortcut.
>
> bash.exe is only needed because if omitted XWin.exe (or things it runs)
> can't find various libraries (if I set the "Start In" dir to "\cygwin\bin",
> I get complaints about libs in "\cygwin\usr\X11R6\bin", for example).
>
> However, running 'bash' creates itself a blank console window. The reason
> running bash helps is, I assume, to do with setting up env vars in the
> profile script.
>
> Is there any "cure" for this, or should I just ignore it?
>
> Thanks
> Ruth
Ruth,
Look into /usr/X11R6/bin/run.exe
Or you could instead run a batch file that would prepend /bin and
/usr/X11R6/bin to the PATH (or, rather, their Win32 counterparts).
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Knowledge is an unending adventure at the edge of uncertainty.
-- Leto II