Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
is it possible to X11 forward OS X to a linux box?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Suiname" data-source="post: 931768" data-attributes="member: 129014"><p>Hello all,</p><p> I just last week purchased and setup my first mac. I've used macs before a little, but I've never had one as my primary machine. For the past couple years I've mostly been running ubuntu, and I really like the remote control capabilites via ssh and having x11 forwarding setup. I know it is possible to X11 forward from linux to OS X, I've already set this up on my LAMP server so I can control it from my mac, however, is the reverse possible? I know that OS X is running on some form of a customized BSD kernel, so I thought it might be.</p><p>I tried doing this myself by turning ssh on, then editing the sshd config file. I found the line "#X11Forwarding no" in the config file and changed it to "X11Forwarding yes". Then I saved the file and restarted the ssh server. Now I can login to my mac via ssh, but when I try to run a command that would open a window, it doesn't get forwarded. For instance, if i do a "open -a safari" from the terminal on my mac, it would open a safari window, but when I do this remotely it just gives an error message. If someone could confirm that this is or is not possible, that would be great.</p></blockquote><p></p>
[QUOTE="Suiname, post: 931768, member: 129014"] Hello all, I just last week purchased and setup my first mac. I've used macs before a little, but I've never had one as my primary machine. For the past couple years I've mostly been running ubuntu, and I really like the remote control capabilites via ssh and having x11 forwarding setup. I know it is possible to X11 forward from linux to OS X, I've already set this up on my LAMP server so I can control it from my mac, however, is the reverse possible? I know that OS X is running on some form of a customized BSD kernel, so I thought it might be. I tried doing this myself by turning ssh on, then editing the sshd config file. I found the line "#X11Forwarding no" in the config file and changed it to "X11Forwarding yes". Then I saved the file and restarted the ssh server. Now I can login to my mac via ssh, but when I try to run a command that would open a window, it doesn't get forwarded. For instance, if i do a "open -a safari" from the terminal on my mac, it would open a safari window, but when I do this remotely it just gives an error message. If someone could confirm that this is or is not possible, that would be great. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
is it possible to X11 forward OS X to a linux box?
Top