I've logged on to my Mac under 'user1', and opened a terminal in which I've switched to another user 'user2' using su
command.
Now I've opened a .txt
file from that terminal by typing open file.txt
which spawned the TextEdit application.
However, its UI couldn't be shown since I've logged-in with a different user (user1) ..
Is there a way to re-direct the UI of TextEdit to 'user1'. I know that in Linux there's X11-Forwarding but is it also supported in macOS ?