Starting XWin in XDM mode with no console app?

Igor Pechtchanski pechtcha@cs.nyu.edu
Wed May 14 23:35:00 GMT 2003


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



More information about the Cygwin-xfree mailing list