http://www.perlmonks.org?node_id=777730


in reply to Net::SSH2 with pty

Hi,

You need to set the authorization with xauth. Take a look at Getting “Xlib: PuTTY X11 proxy: wrong authentication protocol attempted”? I have the answer :)

Jason L. Froebe

Blog, Tech Blog

Replies are listed 'Best First'.
Re^2: Net::SSH2 with pty
by kmitchellwr (Initiate) on Jul 08, 2009 at 15:56 UTC
    We are not trying to xdisplay. We are trying to use sudo to run admin commands with sudo like resetting the root passwd and rebooting the remote host.