DOYENSYS Knowledge Portal




We Welcome you to visit our DOYENSYS KNOWLEDGE PORTAL : Doyensys Knowledge Portal




Wednesday, January 11, 2017

Getting “Xlib: PuTTY X11 proxy: wrong authentication protocol attempted”? I have the answer :)

When you run into the error “Xlib: PuTTY X11 proxy: wrong authentication protocol attempted”.  What to do?

ssh oracle@localhost
sample $ echo $DISPLAY
localhost:10.0
sample$ su - oracle
sample's Password:
oracle $ xterm
Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted

xterm Xt error: Can't open display: localhost:10.0

Action Plan:

You need to temporarily transfer the authorization to the other account. First, get the key from your account:

sample $ xauth list
aspc2o1/unix:10 MIT-MAGIC-COOKIE-1 bc334c66cfec3c5c3d5b0efc4ee9d3ad

Next, sudo/su to the other account and add the authorization key.

sample $ su - oracle
oracle $ xauth add aspc2o1/unix:10 MIT-MAGIC-COOKIE-1 bc334c66cfec3c5c3d5b0efc4ee9d3ad

Next, sudo/su to the other account and add the authorization key.


oracle $ xterm

No comments: