remote GUI access

Michael McMahon michael.x.mcmahon at oracle.com
Fri Oct 14 10:48:31 PDT 2011


Turns out this is possible after all. sshd on Mac has X11forwarding switched
off by default. So, you can change that in /etc/sshd_config and
if you set AWT_TOOLKIT to XToolkit in your environment, it works.

- Michael.

On 12/10/11 14:39, Michael McMahon wrote:
> Werner,
>
> I guess what I was referring to is something like X11 tunnelled over
> ssh. Though, I understand the UI on the Mac is not based on X11.
> It's not about security per-se, more just getting simple Java GUIs 
> running
> over a potentially slow network link. If Screen sharing is the only 
> option
> then that's fine.
>
> Thanks
> Michael.
>
> On 12/10/11 14:26, Werner Randelshofer wrote:
>> Hi Michael,
>>
>> Do you mean VNC tunneling over SSH?
>>
>> This is not necessary, because Apple Screen Sharing has built-in 
>> support for encryption.
>> You can enable/disable encryption in the Preferences window of the 
>> Screen Sharing application.
>>
>> Best,
>> Werner
>>
>> On 12.10.2011, at 23:13, Michael McMahon wrote:
>>
>>> Hi,
>>>
>>> Does anyone know if there is a way to run Java UI based applications 
>>> (AWT, Swing)
>>> remotely on the Mac? In other words if I login to a Mac from another 
>>> machine (using ssh -X),
>>> and run a java awt or swing app, can it be displayed locally?
>>>
>>> Thanks,
>>> Michael.
>



More information about the macosx-port-dev mailing list