Can I use X windows to connect to linux?

debiso

Registered
I have a question.... I need to connect to a linux machine using x windows. I use an X server in the PC world, what do I do in OSX???

Thanks!
Joe
 
X Window, which comes with OS X (normally on the XCode disk).

Try on your Mac's Terminal.App:

ssh -X linuxmachine xterm

(it might be that both your Mac and Linux machine have to have each other's name on /etc/hosts, at least it does not matter).

Oh, I used Leopard to test that. On Tiger, you need to start X and maybe use xterm where you give the ssh command.

The connection seems quite slow. It that matters, you might like to check NX for OSX.
 
If you're talking about forwarding X11 requests from a GNU/Linux PC that you've SSHed into from the Mac, then you need to do it using xterm through the X11 application that comes with OS X.

Just launch X11.app (located in Applications-->Utilities if you've installed it) and then in the xterm window start your SSH session with X11 forwarding by typing the following:

Code:
ssh -X <address-of-Linux-PC>
 
Back
Top