1

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 ?

3
  • Simple answer is no - although you can do that with X11 apps which you would have to compile yorself
    – mmmmmm
    Commented May 22, 2017 at 18:41
  • Hi and thanks for your comment.. What exactly do I need to compile, the app that I want to use or X11 for Mac ?
    – Zohar81
    Commented May 23, 2017 at 6:42
  • The app - Xquartz supplies X11. But most apps including TextEdit are not X11 and so can't be done you can only use software recompiled from other Unices. Also easiest to use a package manager like Macports or Homebrew.
    – mmmmmm
    Commented May 23, 2017 at 7:45

0

You must log in to answer this question.

Browse other questions tagged .