And on my RedHat installation, I don't need to set the DISPLAY variable. It is
handled automatically by the system. (Don't ask me how...)
telnet s.network.com
user+pass
cd /usr/X11R6/bin/eyes &
And also, if you invoke
kfm &
you will get the remote computer's Desktop overlaid your current desktop... A
bit confusing perhaps, but workable for a lot of tasks..
Niclas
Jack Barnett wrote:
> Mike,
>
> I know this isn't the right way to do this, but this is how I do it, please
> use at your own risk.
>
> Lets call the client computer, the computer you are physically at, the
> computer that you wish to see the program at, lets call it c.network.com.
> The server lets call s.network.com, this is the computer in which the
> program is installed on.
>
> First setup the client. open a virtual console or xterm then su into root.
> cd /usr/X11R6/bin
> ./xhost +s.network.com (if that doesn't work, just try ./xhost
> s.network.com)
>
> Good, that is all you have to do on the client side, this basically tells
> which computers can redirect display onto you screen, s.network.com should
> be the only one allowed at this time.
>
> Use the command
> ./xhosts
> to see who is currently allowed to display programs on your workstation.
>
> Second we need to setup the server.
>
> telnet s.network.com
> enter username & password.
>
> in sh or bash (or korn shell even?) run the command
> DISPLAY=c.network.com:0
> export DISPLAY
>
> or in csh tcsh
> set DISPLAY=c.network.com:0
>
> This tells the server to redirect any x programs to c.network.com display 0
>
> run a program to test it out
> cd /usr/X11R6/bin
> ./eyes &
>
> You probably want to run all graphical programs with the & sign, this will
> put them in the back ground and lets you use the telnet session if need be.
> Also you could setup your display in you shell start up files, like .bashrc
> or .login in your home directory, this way you won't have to retype that
> command all the time.
>
> use at your own risk,
> Jack
>