Cygwin X-Win scripting help

View: New views
4 Messages — Rating Filter:   Alert me  

Cygwin X-Win scripting help

by tbishop :: Rate this Message:

| View Threaded | Show Only this Message

I have used XP and have used this script for a long time as a bat file to get to my UNIX box:
===============================================================
@echo off


C:
chdir C:\cygwin\bin

bash --login -c "\XWin.exe -query 128.49.000.44 -from 128.23.77.149"
================================================================
for some reason on Vista it seems NOT to work the same, way, it opens up 3 command
tools, the 3rd one blank and a blank Xsession... nothing on the screen but an X
in the middle.... does anyone have any ideas???

Thanks,
Tom B.

Re: Cygwin X-Win scripting help

by Jon TURNEY :: Rate this Message:

| View Threaded | Show Only this Message

tbishop wrote:

> I have used XP and have used this script for a long time as a bat file to get
> to my UNIX box:
> ===============================================================
> @echo off
>
>
> C:
> chdir C:\cygwin\bin
>
> bash --login -c "\XWin.exe -query 128.49.000.44 -from 128.23.77.149"
> ================================================================
> for some reason on Vista it seems NOT to work the same, way, it opens up 3
> command
> tools, the 3rd one blank and a blank Xsession... nothing on the screen but
> an X
> in the middle.... does anyone have any ideas???

If this is a new computer with Vista on it you'll need to change the "-from"
IP address to match.


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


Re: Cygwin X-Win scripting help

by tbishop :: Rate this Message:

| View Threaded | Show Only this Message

Jon,

Of course I did that :) :) :)  It doesn't work and I am lost, that's
all the opening of several windows at least they pop up confuses me
until there is only one.. and it's like an empty Cygwin window...
and the X session is dead,, who knows like we haven't heard Vista
is full of bugs :( :( :(  any more ideas please let me know..

Tom



Jon TURNEY wrote:
tbishop wrote:
> I have used XP and have used this script for a long time as a bat file to get
> to my UNIX box:
> ===============================================================
> @echo off
>
>
> C:
> chdir C:\cygwin\bin
>
> bash --login -c "\XWin.exe -query 128.49.000.44 -from 128.23.77.149"
> ================================================================
> for some reason on Vista it seems NOT to work the same, way, it opens up 3
> command
> tools, the 3rd one blank and a blank Xsession... nothing on the screen but
> an X
> in the middle.... does anyone have any ideas???

If this is a new computer with Vista on it you'll need to change the "-from"
IP address to match.


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

Re: Cygwin X-Win scripting help

by Jon TURNEY :: Rate this Message:

| View Threaded | Show Only this Message

tbishop wrote:
> Of course I did that :) :) :)  It doesn't work and I am lost, that's
> all the opening of several windows at least they pop up confuses me
> until there is only one.. and it's like an empty Cygwin window...
> and the X session is dead,, who knows like we haven't heard Vista
> is full of bugs :( :( :(  any more ideas please let me know..

It seems far more likely this is a Cygwin/X problem than a Vista problem, and
I'd like to help you, but this is just far too vague a problem report for me
to suggest anything intelligent.

http://cygwin.com/problems.html

> Jon TURNEY wrote:
>> tbishop wrote:
>>> I have used XP and have used this script for a long time as a bat file to
>>> get
>>> to my UNIX box:
>>> ===============================================================
>>> @echo off
>>>
>>>
>>> C:
>>> chdir C:\cygwin\bin
>>>
>>> bash --login -c "\XWin.exe -query 128.49.000.44 -from 128.23.77.149"
>>> ================================================================
>>> for some reason on Vista it seems NOT to work the same, way, it opens up
>>> 3
>>> command
>>> tools, the 3rd one blank and a blank Xsession... nothing on the screen
>>> but
>>> an X
>>> in the middle.... does anyone have any ideas???
>> If this is a new computer with Vista on it you'll need to change the
>> "-from"
>> IP address to match.

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