View Single Post

   
  #3 (permalink)  
Old 02-13-2008, 01:26 PM
Calab
 
Posts: n/a
Default Re: Cannot connect to Cygwin or XMing from Debian SSH session


"Joe Beasley" <jbeasley@somwhere.com> wrote in message
newsBvsj.10893$J41.7998@newssvr14.news.prodigy.n et...
> Start cygwin. A command prompt opens. Type 'startx'. (without the '')
> Another command prompt opens. This is the X based one. The ssh to your
> debian box.


I get this far without any problem...

> Type 'xeyes'. Should open on your windows machine.


....at this point $DISPLAY is empty.

steve:~$xeyes
Error: Can't open display:

.... I've tried a couple things here with no luck:

steve:~$export DISPLAY=:0.0
steve:~$xeyes

.... It just sits here doing nothing until I hit Ctl-Z.

I also tried the following, which generates "AUDIT: Tue Feb 12 23:15:30
2008: 3476 X: client 6 rejected from IP 10.0.11.16" in the Cygwin "~"
window.

steve:~$export DISPLAY=stevespc:0.0
steve:~$xeyes
Xlib: connection to "stevespc:0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: stevespc:0.0
steve:~$


> Calab wrote:
>> I have connected to my Debian PC with SSH using PuTTY under Windows XP.
>> X11 forwarding is enabled in PuTTY. If I try to start an xwindow
>> application, the connection is rejected. I've not had any success using
>> Cygwin or XMing. Both reject the connection the same way, so I assume
>> that the Debian PC is not configured correctly.
>>
>> Every time I try to connect to the XServer on my Windows PC, I end up
>> with the following entry in the XServer log file:
>>
>> AUDIT: Tue Feb 12 21:49:43 2008: 3868 C:\Program
>> Files\Xming\Xming.exe: client 4 rejected from IP 10.0.11.16
>>
>>
>> This is what I see on my Debian SSH session:
>>
>> steve:~$xeyes
>> Xlib: connection to "stevespc:0.0" refused by server
>> Xlib: No protocol specified
>>
>> Error: Can't open display: stevespc:0.0
>>
>>
>> Can anyone point me in the right direction to get my remote Debian PC to
>> use my Windows XServer?



Reply With Quote