Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user-cs
Navigation:
Lists: gentoo-user-cs: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user-cs@g.o
From: Pavel Dobes <gentoo@...>
Subject: ssh forwarding
Date: Mon, 12 Nov 2007 16:20:32 +0100
Zdravim,

snazim se tunelovat jednou aplikaci v Jave a nedari se to. Kvuli zkouseni jsem si nainstaloval i xpdf, ktere by melo projit take, ale to se nedari take, ale zacnu od zacatku.

Jsem pripojen pres ssh -X a na serveru jsem si nastavil:

$ export DISLPLAY="IP:0.0"

kdyz spustim tu javovou prisernost se kterou potrebuji delat, tak mi to napise jako prvni z chyb:

Exception in thread "main" java.lang.InternalError: Can't connect to
X11 window server using 'IP:0.0' as the value of the DISPLAY variable.

To same i odkyz zadam DISPLAY=":0.0"

xpdf radeji jen napise:

Error: Can't open display: IP:0.0

Tak jsem zkusil spustit xpdf pres $ ssh -X ja@IP /usr/bin/xpdf a jedine co to udelalo je, ze to vypsalo 

Error: Can't open display:

Tak jsem zkusil se pres vnejsi IP prihlasit k sobe na pocitac:

$ ssh -X IP /usr/bin/xpdf
Password: 
setterm: proměnná TERM není nastavena.
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  55 (X_CreateGC)
  Resource id in failed request:  0x55
  Serial number of failed request:  1
  Current serial number in output stream:  3

tak nevim, co delam spatne, kdysi jsem tohle vyuzival a s upslechem.

v sshd_config je povolene

AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

Poradi mi prosim nekdo? http://gentoo-wiki.com/HOWTO_X-forwarding jsem procetl a stale nic :-)

PaD
--
gentoo-user-cs@g.o mailing list


Replies:
Re: ssh forwarding
-- Vlastimil Babka
Re: ssh forwarding
-- Honza Macháček
Re: ssh forwarding
-- theruck
Navigation:
Lists: gentoo-user-cs: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
portage snapshot
Next by thread:
Re: ssh forwarding
Previous by date:
Re: portage snapshot
Next by date:
Re: ssh forwarding


Updated Jun 17, 2009

Summary: Archive of the gentoo-user-cs mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.