1. The exact syntax depends a bit on the shell you use
on the Debian servers. The basic problem is that you need to set the DISPLAY variable in the shell that runs on the Debian machine when you "ssh -X" on the OSX box. I assume you want to run various X applications on the Debian boxes and host them on the X server on the OSX machine.
I would do something like this:
ssh -X '/bin/csh DISPLAY=osx:0 -c "debian X application"'
You might have to fiddle with those quotes, I'm not sure if that's perfect.
You could also use the ssh "user@hostname" argument to get a specific user on the Debian box with the DISPLAY variable set appropriately in the .rc file for that user.
You can also run a nested server (Xnest) on the Debian box via a shell and host it on the OSX machine, and then just run things from a remote shell on the Debian box having set DISPLAY manually there.
Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators
Important Notices: By participating on this discussion
board, visitors agree to abide by the rules outlined on our Rules
page. Messages posted on the Democratic Underground Discussion Forums are the
opinions of the individuals who post them, and do not necessarily represent
the opinions of Democratic Underground, LLC.