[SunHELP] X forwarding fails
Luc I. Suryo
luc at suryo.com
Mon Jul 21 13:54:57 CDT 2003
Patrick,
this does not seems to be right...
X-forwarding via SSH is default to display 10 and up ...
check the following
make sure you have sshd_config allowing x-forwarding (server)
-> X11Forwarding yes
-> X11DisplayOffset 10
make sure you have ssh_config allowing x-forwarding (client)
-> ForwardX11 yes
if you use tcp-wrapper have teh acl to allow this
-> hosts.allow: sshd,sshdfwd-X11: .....
make sure you have NOT set your display manually as ssh will take
care of this
hope this may help...
> On Mon, 21 Jul 2003 12:58:45 -0400
> "Markham, Richard" <RMarkham at hafeleamericas.com> wrote:
>
> > try:
> > XAUTHORITY=`ps -aef | grep '[X]sun' | sed 's/.* //'`
> > export XAUTHORITY
> > DISPLAY=:0
> > export DISPLAY
> > /usr/openwin/bin/xhost +
>
> no error, i see with ps -ef its running but its not visible anyware !!!
>
> Patrick
> >
> > -----Original Message-----
> > From: Patrick Marquetecken [mailto:patrick.marquetecken at pandora.be]
> > Sent: Monday, July 21, 2003 12:57 PM
> > To: SUNhelp
> > Subject: [SunHELP] X forwarding fails
> >
> >
> > When i execute /usr/openwin/bin/perfmeter in a SSH session i get this error
> > Xlib: connection to ":0.0" refused by server
> > Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> > XView error: Cannot open connection to window server: :0 (Server package)
> >
> > my sshd_config contains:
> > X11Forwarding yes
> > X11DisplayOffset 10
> > X11UseLocalhost yes
> >
> > Patrick
>
>
>
> --
> "If we don't get more power to the warp drive we're all going to have to get out and push!" -- Paris (Parallax)
>
> PGP Key: http://users.pandora.be/rivendell/marquetp.gpg
> Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B
> ICQ# 316932703
> Registered Linux User #44550
> http://counter.li.org
>
> [demime 1.01b removed an attachment of type application/pgp-signature]
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
--- End of patrick.marquetecken at pandora.be's quote ---
--
Kind regards,
Luc Suryo
-
The box says: Win98, WinNT or BETTER. That's why I installed Linux.
-
More information about the SunHELP
mailing list