I have access to a server that I am installing Oracle software on but when I do an su to another user I lose the ability to do X Forwarding and so can’t see the GUI install tools.
Here’s an example of what I see:
To get round this I need some information about the current DISPLAY I am using and the access authorization settings.
Once I have this info I can switch user and re-configure my new users environment.
Have a look at the xauth list
Now to setup xauth to allow the new user