Re: Sun StarOffice on Mac x11?
Re: Sun StarOffice on Mac x11?
- Subject: Re: Sun StarOffice on Mac x11?
- From: Len Laughridge <email@hidden>
- Date: Sun, 11 May 2003 23:20:20 -0400
- Organization: Kitchen & Associates
Yes. We do it every day. There are variations on how to do it, but
this works well for us.
This method presumes the following:
(a) You have accounts on BOTH the OS-X workstation AND the application
server WITH THE SAME UID. That is, if your username on your workstation
is "jsmith" and your UID is 501, then the same username with the same
UID must exist on the server (a no-brainer if you have centralised LDAP
or NIS directory services managing all your accounts...)
(b) You have things set up to allow 'rsh' execution of applications on
the server. This means that you must allow telnet access to the server
from the local subnet, AND your home directory on both the server and
the workstation contains a .rhosts file with appropriate permissions.
See 'man rhosts' for details.
See the attached files.
Put staroffice-remote in /usr/local/bin (create the directory if it
doesn't yet exist on your system) and chmod the file 755.
Edit staroffice-remote to specify the hostname of the application
server, and the path to the application on that server.
Put StarOffice-remote.term in /usr/local/bin/termfiles and then symlink
it into your /Applications folder like this:
cd /Applications
ln -s /usr/local/bin/termfiles/StarOffice-Remote.term ./StarOffice
Now, when you click on 'StarOffice' in /Applications, it will quietly
launch the terminal and invoke the remote application for display on
your OS X workstation.
--
Len Laughridge, Director of Information Technology
Kitchen & Associates Architectural Services, PA
Architecture - Planning - Interior Design
#!/bin/bash
# This script requires OS X 10.2 or later, and X11.app from Apple
# Bash is used as the shell for commonality among Jaguar/linux/Solaris 8,
# for rsh purposes. Users should have /bin/bash as their default shell.
# Their same home directory should be mounted on the same path on both the
# workstation and the rsh host, with an appropriately-configured ~/.rhosts file
# (see man rhosts for more info).
# Change the following to reflect your needs:
# Specify which ethernet interface you are using (usually en0)
my_netinterface=en0
# Specify the DNS name or IP Address of the host where the application resides
application_host=appserver-01
# Specify the FULL PATH to the target application on the remote host
target_application=/opt/staroffice6.0/program/soffice
# DON'T CHANGE ANYTHING BELOW THIS LINE!
export my_ipaddress=`/sbin/ifconfig $my_netinterface | /usr/bin/grep "inet " | /usr/bin/cut -d \ -f 2`
open /Applications/X11.app && export DISPLAY=":0.0" && /usr/X11R6/bin/xhost +
/usr/bin/rsh $application_host export DISPLAY=$my_ipaddress:0.0 "&&" $target_application
[demime 0.98b removed an attachment of type text/xml which had a name of StarOffice-remote.term]
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.