Linux is a “unix-like” operating system while Mac OS X is based on BSD Unix, and as such they are basically cousins
There are a number of tools that ship with your Mac by default, and others that are included on the installation media that can be used to remotely administer SUSE Linux Enterprise Desktop or SUSE Linux Enterprise Server Machines from your Mac.
Note: For the purpose of this article I am using SLED/SLES 10 SP1 and Mac OS X 10.5 (Leopard)
Virtual Network Computing (VNC) is a graphical desktop sharing system which uses the RFB protocol to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network. There have been many free VNC clients for OS X in the past (http://sourceforge.net/projects/cotvnc/), but now Apple is shipping one in 10.5 which is installed by default. You may not know about it because it is not located in an obvious place. You can find it by browsing in Finder to /System/Library/CoreServices/Screen\ Sharing.app. To make it easier to find again you can either drag it onto your dock, or create and alias to it in /Applications.
Before you can use vnc, you have to configure a VNC server on your Linux machine (in Gnome :-):
Configure your Mac to connect:
Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two computers. SSH is typically used to log into a remote machine and execute commands, but it also supports tunneling, forwarding arbitrary TCP ports and X11 connections; it can transfer files using the associated SFTP or SCP protocols. SSH uses the client-server protocol. An SSH server, by default, listens on the standard TCP port 22.
Enable SSH on your Linux machine:
rcsshd status If it is not running, start it by entering rcsshd restartinsserv sshd You may configure your firewall by entering yast2 firewall or simply browsing to it in yastUsing SSH on your Mac:
/Applications/Utilities/Terminal.appssh username@ipaddress where ‘username’ is the username on your Linux machine and ‘ipaddress’ is the ipaddress of your Linux machine.scp /path/to/file/to/be/coppied username@ipaddress:/path/to/place/to/be/coppied/toscp -r to copy folders/directoriesX11.app is Apple Computer’s implementation of the X Window System for Mac OS X. Apple’s implementation of X11 is based on the X.Org Server and adds support for hardware-accelerated 2D graphics, hardware OpenGL acceleration and integration with Aqua, the Mac OS X graphical user interface (GUI). The cool thing about X11.app is that it will allow you to securely access applications running on Linux machine as if they were running locally on your Mac. Previous versions of X11.app were very slow, but now with the version released in 10.5, Apple has done a great job of speeding the application up.
In older versions of Mac OS X you had to opt-in to installing this package during the OS X installation process, or install it afterwards off of the DVD. From what I can tell it is now installed by default on OS X 10.5. If it is not, you can install it by:
To access applications over X using X11.app:
/Applications/Utilities/X11.appOnce it is open you will be presented with an xterm window. This should be familiar as you are also a linux user ssh -X username@ipaddress (make sure that you use an uppercase ‘X’)Notes: Applications launched through X11 are not actually running on your Mac. When you open Yast it is configuring options on your Linux machine, not your Mac. You can launch and run graphical applications in the background by adding a ‘&’ to the end of your command. For example:
gconf-editor &
You will be returned to the command line after executing this command so that you can launch another application. Another note is that I have experienced weirdness when launching nautilus in X11. If anyone has a solution to this please post a comment!