export display from Linux to Linux
Can anyone tell me how I can automate the following :
I am using Linux to Linux export DISPLAY. Instead of typing the commands (xhost + and export DISPLAY), I would like to find out if there is way I can add this in a file so this commands are executed automatically everytime I reboot the Linux systems. thanks, Kishore Linux System A --------------------Linux System B Usually I type xhost + on Linux A and on Linux B, I type export DISPLAY=(IP address of A):0.0 |
All depends: do you even work on Bs local terminal
using X? If you don't, and there's no local users doing this, you can add the export DISPLAY bit to one of the startup-scripts, e.g. profile. In that case all users logging into that machine will redirect their display to A. On A we need to know which Window-Manager you're using to tell you how to automatically set the xhost. Cheers, Tink |
Tinkster,
Thanks for the reply, but I do have users that work locally on system B. On both the systems, I am using Red Hat Linux and GNOME for windows manager. |
Well - I'm sure that gnome has some sort of auto-start folder of
sorts. Just put a script that does the respective thing in either for your user on both machines. Cheers, Tink |
All times are GMT -5. The time now is 05:32 AM. |