LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   export display from Linux to Linux (https://www.linuxquestions.org/questions/linux-newbie-8/export-display-from-linux-to-linux-368187/)

lab123 09-29-2005 01:23 PM

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

Tinkster 09-29-2005 01:39 PM

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

lab123 09-29-2005 02:18 PM

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.

Tinkster 09-29-2005 02:56 PM

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.