Re: x11 server update
Re: x11 server update
- Subject: Re: x11 server update
- From: Sean Ahern <email@hidden>
- Date: Mon, 14 Jul 2003 17:07:36 -0700
email@hidden wrote:
> I typed the command "xhost +" on the mac, in the terminal window. The
> response was that all clients are allowed to connect.
You should not need to do this. "xhost +" allows all clients to connect
to the X server on the Mac. You aren't using the X server on the Mac. Your X
server is on your Windows machine and you're trying to run a client on the
Mac. Different ballgame. (Anyway, "xhost +" opens up an extremely large
security hole, so you should avoid using it.)
> Next, I went to my windows machine, and re-configured Xwin32 using XDMCP
> protocol after rsh and rexec resulted in time out errors.
Makes sense. The Mac isn't running a daemon that listens to rsh. Rsh and
Rexec are basically old, insecure versions of ssh. If you can do it,
configure Xwin32 to connect using ssh.
> When I connect, I see a grey background with an "x" shaped mouse pointer.
> There is no command window or anything. Is this what is supposed to happen?
> How do I run matlab at this point?
A stippled background (looks gray from a distance) and an x-shaped
pointer is the default look for an X server that has been told to do
nothing.
I am not familiar with Xwin32 at all, so I'm only able to give generic
instructions from here on out.
You need to get the Mac to launch an "xterm" onto your Xwin32 server so you
can run from there. I'm hoping that Xwin32 has some ability to ssh to a
remote machine to execute a command. If not, you're going to have to do it
manually from a shell on your Mac. Be sure your "DISPLAY" environment
variable is set to 'name-of-windows-machine:0'.
Once you get the xterm up, you're home free. Run Matlab.
> Also what software needs to be running on the G4? Do I need to be logged in
> as admin on the G4?
Technically, you shouldn't need to be logged into the G4 at all. All that
needs to run is an ssh daemon (which is already turned on, most likely),
and the Matlab executable, with its DISPLAY environment variable set
correctly.
With that in mind, you may want to look into modifying the configuration file
for ssh so that it automatically forwards X11 connections. By default, it
does not on OS X. However, if you've manually set your DISPLAY environment
variable, you should be fine.
> On the windows (XP) machine, does Xwin32 need any additional config?
Probably.
(Sorry I couldn't help more. Good luck!)
-Sean
__
email@hidden
_______________________________________________
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.