X11 connection rejected because of wrong authentication.
Error: cannot open display: localhost:11.0
[root@lych ~]$ echo $DISPLAY
localhost:11.0
[root@lych ~]$echo xauth add `xauth list ${DISPLAY#localhost}`
xauth add lych.localdomain/unix:11 MIT-MAGIC-COOKIE-1 2928a6e16b7d6d57041dcee632764b72
Switch user to “oracle” and add the entry into your /home/oracle/.Xauthority file (by copying the ‘xauth add…’ line from above:
[root@lych ~]$ su - oracle
[oracle@lych ~]$ echo $DISPLAY
localhost:11.0
[oracle@lych ~]$ xauth add lych.localdomain/unix:11 MIT-MAGIC-COOKIE-1 2928a6e16b7d6d57041dcee632764b72