vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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? |
| |||
| 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. Type 'xeyes'. Should open on your windows machine. 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? > > |
| |||
| "Joe Beasley" <jbeasley@somwhere.com> wrote in message news > 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? |
| |||
| "Calab" <myspam@csd.ca> writes: > >"Joe Beasley" <jbeasley@somwhere.com> wrote in message >news >> 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: Looks to me like X forwarding is not working. Note that X forwarding has to be enabled both on the client and on the server. - anton -- M. Anton Ertl Some things have to be seen to be believed anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen http://www.complang.tuwien.ac.at/anton/home.html |
| |||
| On Feb 12, 11:56 pm, "Calab" <mys...@csd.ca> 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? Are you using the -X option on your ssh command? ("ssh -X target- machine-address") Do you have your SSH server set up to permit X forwarding? Your sshd_config file should have something like: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes Your ssh command should be ssh -X target-system-address You should already have your X server running (I suggest XMing as it is "lighter" than Cygwin) You might want to read a Linux Gazette article I wrote that outlines the things to do: http://linuxgazette.net/129/pitcher.html Hope this helps. -- Lew |
| ||||
| >> 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? > > Are you using the -X option on your ssh command? ("ssh -X target- > machine-address") Yes. > Do you have your SSH server set up to permit X forwarding? > > Your sshd_config file should have something like: > X11Forwarding yes > X11DisplayOffset 10 > X11UseLocalhost yes Yes. > You should already have your X server running (I suggest XMing as it > is "lighter" than Cygwin) Thanks! I was able to get Xming running. I had to add the debian PC to the XO.hosts file in the Xming directory. |
| Thread Tools | |
| Display Modes | |
| |