$ Xlib: connection to "xxx.xx.xx.xxx" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Error: Can't open display: xxx.xx.xx.xxx:xx.x
Below are the steps used to successfully transfer xauth information to another user (Oracle in this case)
- Enable X11 forwarding on your terminal application and login as you (as stated above)
‘chmod 644 .Xauthority’ (needs to be done every time service account needs access, it will reset when you log out) - ‘become service account x’
- ‘xauth merge ~username/.Xauthority’ (needs to be done every time service account access is needed)
Once you get a copy of the .Xauthority file to /home/oracle it should work.
No comments:
Post a Comment