[SunHELP] X forwarding fails

sunhelp at sunhelp.org sunhelp at sunhelp.org
Mon Jul 21 11:58:45 CDT 2003


try:
 XAUTHORITY=`ps -aef | grep '[X]sun' | sed 's/.* //'`
 export XAUTHORITY
 DISPLAY=:0
 export DISPLAY
 /usr/openwin/bin/xhost +

-----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



More information about the SunHELP mailing list