LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   display environment (https://www.linuxquestions.org/questions/linux-general-1/display-environment-19099/)

jonfa 04-22-2002 12:19 AM

display environment
 
Hi All,

I have two Redhat 7.2 machines networked together. On Computer1 I have a software package that I would like to export to use on computer2. The software has a nice GUI and I'd like to run this software on the two machines at the same time. I am using the bash shell. Is it an environment variable setting? Is this even possible? I have tried VNC, but the image quality isn't too great and this software is graphic intensive.

p.s.-- Ideally I'd just install it on the other machine, but it is password protected for new installations.

Jon

Mik 04-22-2002 06:27 AM

If you've got an xserver running on the other machine which allows remote connections. Then all you will have to do is set the display variable and run the program.

export DISPLAY=192.168.10.3:0.0

Substitute the first part for the proper ip address.

l_9_l 04-22-2002 05:25 PM

PC1=which the program is installed in.
PC2=which the program will be exported to.
if you realy mean to run it at the same time;then you should run a virtual terminal(xterm or konsole ..) and do the following on PC2:

$xhost +the_ip_of_pc1

on the PC1:
open a virtual terminal and do the following:
$export DISPLAY=the_ip_of_pc2
then run the program
$program_name &
then to run the same program on the PC1:"stay in the same VT"
$export DISPLAY=localhost:0.0
then run the program
$program_name &

therein PC1 and PC2 will run the same program at the same time.

Good Luck


All times are GMT -5. The time now is 12:14 PM.