Link to home
Start Free TrialLog in
Avatar of cameron_schuler
cameron_schuler

asked on

Displaying a picture on another linux machine remotely.

I have added:  "xhost +xxx.xx.xxx.xx > /dev/null" into the .bashrc of the machine I want to display the picture.  Where xxx.xx.xxx.xx is the Ip address of the machine with the picture.  

If I'm on the machine with the picture, how would I display this picture remotely on the machine with the modified .bashrc.

I have done it before but I can't remember how.
ASKER CERTIFIED SOLUTION
Avatar of DonConsolio
DonConsolio
Flag of Austria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cameron_schuler
cameron_schuler

ASKER

I get the following error:  xv: Can't open display

Does xv have to be installed on the machine that I want the picture displayed or just on the machine I am executing the command?  If xv has to be installed is there an alternative?

Is putting the "xhost +xxx.xx.xxx.xx > /dev/null" in the .bashrc file of the user logged in enough to get this to work?
Sorry I got it to work on another machine so please ignore last comment.