PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > X11-forwarding works with bash(linux) ut not with Putty(windows)
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

X11-forwarding works with bash(linux) ut not with Putty(windows)

Réponse
 
LinkBack Outils de la discussion
Vieux 21/11/2006, 15h13   #1
luser32
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut X11-forwarding works with bash(linux) ut not with Putty(windows)

Hi

I have a Fedora Core 6 workstation with OpenSSH installed. I can login
to it with both with windows- and linux-boxes. My problem is when I try
to use Putty with X11-forward. There is no problem when logging in
remotely from another linux-box, and I can start all GUI-apps. But when
trying to do the same with putty from a windows-box(with X11-forward
turned on), I only get this error:

$ xclock
X connection to localhost:10.0 broken (explicit kill or server
shutdown).

Are there anyone who knows if there are anys way to fix this?

  Réponse avec citation
Vieux 21/11/2006, 17h04   #2
Chris Mattern
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: X11-forwarding works with bash(linux) ut not with Putty(windows)

In article <1164121985.756553.178680@h48g2000cwc.googlegroups .com>,
luser32 wrote:
>Hi
>
>I have a Fedora Core 6 workstation with OpenSSH installed. I can login
>to it with both with windows- and linux-boxes. My problem is when I try
>to use Putty with X11-forward. There is no problem when logging in
>remotely from another linux-box, and I can start all GUI-apps. But when
>trying to do the same with putty from a windows-box(with X11-forward
>turned on), I only get this error:
>
>$ xclock
>X connection to localhost:10.0 broken (explicit kill or server
>shutdown).
>
>Are there anyone who knows if there are anys way to fix this?
>

Er, are you running an X server on your Windows box? The
X11-forward has to have something to connect to on your
end, you know. A Unix/Linux box runs an X server as the
foundation its standard GUI desktop, but a Windows box doesn't.
Windows doesn't even come with an X server out of the
box, and PuTTY does not provide one...

--
Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
  Réponse avec citation
Vieux 21/11/2006, 18h35   #3
Todd H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: X11-forwarding works with bash(linux) ut not with Putty(windows)

syscjm@sumire.eng.sun.com (Chris Mattern) writes:

> In article <1164121985.756553.178680@h48g2000cwc.googlegroups .com>,
> luser32 wrote:
> >Hi
> >
> >I have a Fedora Core 6 workstation with OpenSSH installed. I can login
> >to it with both with windows- and linux-boxes. My problem is when I try
> >to use Putty with X11-forward. There is no problem when logging in
> >remotely from another linux-box, and I can start all GUI-apps. But when
> >trying to do the same with putty from a windows-box(with X11-forward
> >turned on), I only get this error:
> >
> >$ xclock
> >X connection to localhost:10.0 broken (explicit kill or server
> >shutdown).
> >
> >Are there anyone who knows if there are anys way to fix this?
> >

> Er, are you running an X server on your Windows box? The
> X11-forward has to have something to connect to on your
> end, you know. A Unix/Linux box runs an X server as the
> foundation its standard GUI desktop, but a Windows box doesn't.
> Windows doesn't even come with an X server out of the
> box, and PuTTY does not provide one...


Chris, I agree, sounds like a lack of an X server on the windows box.

Cygwin has one for free. Select the xorg package in the
installer. cygwin.com

--
Todd H.
http://www.toddh.net/
  Réponse avec citation
Vieux 22/11/2006, 09h08   #4
luser32
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: X11-forwarding works with bash(linux) ut not with Putty(windows)



On 21 Nov, 19:35, comph...@toddh.net (Todd H.) wrote:
> sys...@sumire.eng.sun.com (Chris Mattern) writes:
> > In article <1164121985.756553.178...@h48g2000cwc.googlegroups .com>,
> > luser32 wrote:
> > >Hi

>
> > >I have a Fedora Core 6 workstation with OpenSSH installed. I can login
> > >to it with both with windows- and linux-boxes. My problem is when I try
> > >to use Putty with X11-forward. There is no problem when logging in
> > >remotely from another linux-box, and I can start all GUI-apps. But when
> > >trying to do the same with putty from a windows-box(with X11-forward
> > >turned on), I only get this error:

>
> > >$ xclock
> > >X connection to localhost:10.0 broken (explicit kill or server
> > >shutdown).

>
> > >Are there anyone who knows if there are anys way to fix this?

>
> > Er, are you running an X server on your Windows box? The
> > X11-forward has to have something to connect to on your
> > end, you know. A Unix/Linux box runs an X server as the
> > foundation its standard GUI desktop, but a Windows box doesn't.
> > Windows doesn't even come with an X server out of the
> > box, and PuTTY does not provide one...Chris, I agree, sounds like a lack of an X server on the windows box.

>
> Cygwin has one for free. Select the xorg package in the
> installer. cygwin.com
>
> --
> Todd H.http://www.toddh.net/


Okay, so I have to install an X-Server on all the windows-boxes to?

Hmm, now I understand why it didn't work:P
Hehe, I'll try the cygwin-solution.

Thanks guys

  Réponse avec citation
Vieux 23/11/2006, 16h53   #5
Lars Rune Nøstdal
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: X11-forwarding works with bash(linux) ut not with Putty(windows)

On Nov 21, 4:13 pm, "luser32" <anris...@gmail.com> wrote:
> Hi
>
> I have a Fedora Core 6 workstation with OpenSSH installed. I can login
> to it with both with windows- and linux-boxes. My problem is when I try
> to use Putty with X11-forward. There is no problem when logging in
> remotely from another linux-box, and I can start all GUI-apps. But when
> trying to do the same with putty from a windows-box(with X11-forward
> turned on), I only get this error:


Maybe VNC could be used as an alternative when doing this. Under Ubuntu
i do:

System -> Preferences -> Remote Desktop

...then select "Allow other users to view your desktop".

Then i start WinXP (under VMWare-Player actually), fire up a VNC-client
like TightVNC and connect to the Linux-box specifying its IP.

--
mvh, Lars Rune Nøstdal
http://lars.nostdal.org/

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h27.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13140 seconds with 13 queries