Solved

Displaying a picture on another linux machine remotely.

Posted on 2006-06-14
4
382 Views
Last Modified: 2010-04-20
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.
0
Comment
Question by:cameron_schuler
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
DonConsolio earned 85 total points
ID: 16908242
--------------------- display.sh ----------
:
DISPLAY=yyy.yyy.yyy.yyy:0
export DISPLAY
xv /tmp/mypicture.png
--------------------- END ----------------

0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 40 total points
ID: 16909652
or better:
  xv -display yyy.yyy.yyy.yyy:0  /tmp/mypicture.png
0
 

Author Comment

by:cameron_schuler
ID: 16912759
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?
0
 

Author Comment

by:cameron_schuler
ID: 16913135
Sorry I got it to work on another machine so please ignore last comment.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now