Forwarding SSH X-11 and magic cookies
On environments where Oracle or Grid accounts are access by sudo. Then SSH X-11 forwarding and magic cookies are lost. Here a simple trick that can be used tho solve this. First login with your account and then execute: xauth list