December 12, 2011

Using X11 and Linux

Here are some basic instructions on getting X11 on Macintosh to work with a Linux server. These particular instructions should work with Mac Tiger, Leopard or greater - which have X11 already installed and configured.

These instructions assume that you are connecting to a remote server via SSH, using Telnet or other protocols require different instructions.

Using SSH, you simply pass the -X command when connecting to a remote server:

1. Open up Terminal

2. Type the following command:
ssh -Xl root linuxserver

3. Enter a password

4. Connected!

To test, you can just type in:

xeyes &

You should see a new window open and a couple of eyes watching you! This means that you have the power to use any x11 application on the remote server. (You add the ampersand to have the window open as a separate process.

Congratulations and have fun with x11!

Comments

Add your Comments

Feel free to leave a comment about this post.

- Feel Free to add HTML to your comment!