Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'X11 Client/Server Programming on Panther' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
X11 Client/Server Programming on Panther
Authored by: b17bmbr on Feb 13, '04 11:33:01PM

yes, but this works with any X11 program. install all the gnome, kde, etc. goodies from fink. then open X11 on your mac, open an xterm, ssh -X in to the remote X11, and run any program. i use it at the school where i teach. i ssh -X into my linux desktop to run mozilla to access web sites that can't get past our web filter. (no, not pR0n, but slashdot, and some free sites, message boards, and stuff).



[ Reply to This | # ]
X11 Client/Server Programming on Panther
Authored by: azxplorer on Feb 14, '04 10:28:58AM

Hello,

This is probably a stupid question but its because I'm a neophyte computer user.

At my employers place they have a program that runs on a Sun computer, that I have been told runs under UNIX.

With all of this discussion of X11, does that mean that I could copy the program over onto my powerbook and run it under OS X via X11 ?

Thanks



[ Reply to This | # ]
Unfortunately, no
Authored by: stewby on Feb 14, '04 12:22:00PM

Definitely not a stupid question. Unfortunately, the answer to the question "does that mean that I could copy the program over onto my powerbook and run it under OS X via X11" is definitely no (Macs use PowerPC chips, basically no-one else does, so compiled code is not transportable).

However, if you have access to the source code of this program, it might well be possible to recompile the program for OS X, then run it under X11... sometimes this is trivial, sometimes it takes quite a bit of know-how; it all depends. As neophyte computer user, getting it to run on your computer might be essentially impossible, unfortunately. The power of X11 and the BSD core of OS X is that projects like fink can take hundreds of programs and utilities (the GIMP, for example), and make OS X versions that anyone can install and use.

If you have the source-code for this program, you might try to find someone who could help you see if porting it over would be easy to do.



[ Reply to This | # ]
X11 Client/Server Programming on Panther
Authored by: crarko on Feb 15, '04 08:37:00AM

What you could do is log in to the Sun system and redirect the display using X11. That's the 'client/server' notion that makes X11 so useful.

The (client) appilcation would actually execute on the Sun machine it's built for, but the GUI window server can be running on your PowerBook, from pretty much anywhere in the world if you have ssh or VPN connectivity to the Sun workstation, and a valid account to use it.



[ Reply to This | # ]
X11 Client/Server Programming on Panther
Authored by: azxplorer on Feb 16, '04 10:39:21AM

Hello and thanks for the replies.

I guess as long as I'm showing just how much of a newbie I am, I might as well ask how this would be done. I'm basically familiar with the terms VPC and SSH but not implentation of it.

Can you recommend a source of information on how to set this up?

Thxs in advance



[ Reply to This | # ]